Re: proposed addition for sys/raid/ips (ServeRaid) driver in ord

看板DFBSD_submit作者時間21年前 (2004/09/06 16:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/9 (看更多)
YONETANI Tomokazu wrote: > Yeah, our ServeRAID driver lacks recent important updates from FreeBSD-CURRENT > including newly supported controllers and a few bug fixes. not sure if freebsd 5.3 driver is that good. I have open PR (http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/71087) for it. The update > in FreeBSD-CURRENT also involves converting some of mutex operations into > sema_* and bio*, but I haven't managed to rewrite it using our native > thread APIs. Anyway, I can post a minimal patch(that is, not including my > experimental code to convert the mutexes and the semaphoe stuffs) to support > newer controllers if you like to try it. I did this for FreeBSD 5.2.1 to make it work: Index: sys/dev/ips/ips.h =================================================================== RCS file: /home/ncvs/src/sys/dev/ips/ips.h,v retrieving revision 1.5 diff -u -r1.5 ips.h --- sys/dev/ips/ips.h 27 Nov 2003 08:37:36 -0000 1.5 +++ sys/dev/ips/ips.h 30 Aug 2004 14:35:18 -0000 @@ -52,8 +52,8 @@ /* * IPS CONSTANTS */ -#define IPS_VENDOR_ID 0x1014 -#define IPS_MORPHEUS_DEVICE_ID 0x01BD +#define IPS_VENDOR_ID 0x9005 +#define IPS_MORPHEUS_DEVICE_ID 0x0250 #define IPS_COPPERHEAD_DEVICE_ID 0x002E #define IPS_CSL 0xff #define IPS_POCL 0x30 It is a hack, but it works fine. I would say something like this should not go into main Dfly code, but something close would make Dfly usable for people with new cards. Yes, I will gladly test it if you prepare a better patch than my hack. Toma븊
文章代碼(AID): #11F22900 (DFBSD_submit)
討論串 (同標題文章)
完整討論串 (本文為第 2 之 9 篇):
文章代碼(AID): #11F22900 (DFBSD_submit)