If memory serves me right, Doug Ambrisko wrote: > ambrisko 2007-06-06 15:59:30 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_6) > sys/conf files.amd64 > sys/dev/mfi mfi.c mfi_disk.c mfi_ioctl.h mfi_linux.c > mfi_pci.c mfireg.h mfivar.h > Log: > MFC all of the remaining changes. This brings over improved ioctl > support and makes MegaCli work on amd64. Scott supplied patches > to make the ioctl commands not block the controller. MegaCli > still has some issues with our emulation and create some bogus > commands so flashing doesn't work. > > This should loosely resolve 113232. We were waiting on some other > fixes to go into -current before migrating this to -stable. > > PR: 113232 http://www.FreeBSD.org/cgi/query-pr.cgi?pr=113232 > Submitted by: scottl > > Revision Changes Path > 1.71.2.13 +1 -0 src/sys/conf/files.amd64 > 1.3.2.7 +246 -133 src/sys/dev/mfi/mfi.c > 1.2.2.5 +24 -18 src/sys/dev/mfi/mfi_disk.c > 1.1.2.3 +57 -0 src/sys/dev/mfi/mfi_ioctl.h > 1.1.2.2 +14 -1 src/sys/dev/mfi/mfi_linux.c > 1.1.2.5 +9 -7 src/sys/dev/mfi/mfi_pci.c > 1.1.2.6 +2 -1 src/sys/dev/mfi/mfireg.h > 1.1.2.6 +11 -5 src/sys/dev/mfi/mfivar.h
Thanks! I've lightly tested a RELENG_6_2 kernel with this change (plus other related deltas, such as mfip) and MegaCli seems to work about as well as it does on HEAD. Note for those who want to try MegaCli on RELENG_6/amd64, this requires "options LINSYSFS" to be added to the kernel; linsysfs isn't built as a module on RELENG_6/amd64. Bruce.
signature.asc
Description: OpenPGP digital signature