CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2012/08/13 18:27:51

Added files:
        sys/dev/pci    : mfii.c 

Log message:
introduce mfii(4), a driver for the generation of megaraid sas boards
after the ones currently supported by mfi(4).

mfii is to mfi what mpii is to mpi. it is also strange in that it reuses
bits of both mfi(4) and mpii(4) hardware structures. the register layout
is sort of like mfi, but the majority of the messaging (post and
completion paths) are like mpii. the new logical disk io message is
the same as the scsi io command in mpii with an extra raid context bit on
the end.

other operating systems have supported the new hardware in their existing
megaraid sas drivers by cutting them in half and using a metric buttload of
function pointers at pretty much every driver entry point to switch between
the non-fusion behaviour and the fusion behavior. the only really common
code seems to be the handling of the management commands before branching
off into the chip specific message handling to move it on and off the
hardware. i'll deal with abstracting the mgmt stuff out later.

this is working so im getting it in now to polish further in the tree.

ok by mikeb@ haesbaert@ deraadt@ matthew@

Reply via email to