cvs commit: src/sys/modules/mfi Makefile src/sys/modules/mfi/mfi_linux Makefile src/sys/dev/mfi mfi.c mfi_disk.c mfi_ioctl.h mfi_linux.c mfi_pci.c mfireg.h mfivar.h

Doug Ambrisko ambrisko at
Thu Jun 15 16:07:58 UTC 2006

ambrisko    2006-06-15 16:07:57 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/modules/mfi      Makefile 
    sys/dev/mfi          mfi.c mfi_disk.c mfi_ioctl.h mfi_pci.c 
                         mfireg.h mfivar.h 
  Added files:           (Branch: RELENG_6)
    sys/modules/mfi/mfi_linux Makefile 
    sys/dev/mfi          mfi_linux.c 
  MFC in all the changes to the mfi(4) driver.  The high light is:
    Add in a bunch of things to the mfi driver:
        - Linux ioctl support, with the other Linux changes MegaCli
          will run if you mount linprocfs & linsysfs then set
          sysctl compat.linux.osrelease=2.6.12 or similar.  This works
          on i386.  It should work on amd64 but not well tested yet.
          StoreLib may or may not work.  Remember to kldload mfi_linux.
        - Add in AEN (Async Event Notification) support so we can
          get messages from the firmware when something happens.
          Not all messages are in defined in event detail.  Use
          event_log to try to figure out what happened.
        - Try to implement something like SIGIO for StoreLib.  Since
          mrmonitor doesn't work right I can't fully test it.  StoreLib
          works best with the rh9 base.  In theory mrmonitor isn't
          needed due to native driver support of AEN :-)
    Now we can configure and monitor the RAID better.
  Revision  Changes    Path   +820 -11   src/sys/dev/mfi/mfi.c   +2 -0      src/sys/dev/mfi/mfi_disk.c   +23 -0     src/sys/dev/mfi/mfi_ioctl.h   +90 -0     src/sys/dev/mfi/mfi_linux.c (new)   +2 -0      src/sys/dev/mfi/mfi_pci.c   +194 -23   src/sys/dev/mfi/mfireg.h   +12 -0     src/sys/dev/mfi/mfivar.h   +4 -5      src/sys/modules/mfi/Makefile   +8 -0      src/sys/modules/mfi/mfi_linux/Makefile (new)

More information about the cvs-src mailing list