History log of /openbsd-current/sys/dev/pci/mfi_pci.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.32 24-May-2024 jsg

remove unneeded includes; ok miod@


Revision tags: OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE OPENBSD_7_4_BASE OPENBSD_7_5_BASE
# 1.31 11-Mar-2022 mpi

Constify struct cfattach.


Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.30 31-Dec-2019 deraadt

needs sys/sensor.h to standalone from whether machine/cpu.h pulls the
file or not
found by olivier@burelli.fr


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.29 09-Sep-2014 dlg

mark the interrupt handler mpsafe, and give up biglock in the scsi cmd
submission paths. take biglock again when calling back into the scsi
stack.

tested on a variety of cards here, including the skinny mfis on the
firewall next to mpsafe myx.


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.28 14-Aug-2012 dlg

dont maintain tables of all the pci subtypes just so we can print things
like "Dell PERC 5/i" in dmesg. the firmware on the board knows its own name
so we can use that instead. saves some bytes in the kernel.


# 1.27 14-Aug-2012 dlg

gc sc_flags now that the iop struct can tell us where the different IDBs
are.

noted by haesbaert@


Revision tags: OPENBSD_5_1_BASE OPENBSD_5_2_BASE
# 1.26 12-Jan-2012 dlg

add support for skinny variants.

from Alexey Suslikov
reviewed by marco


Revision tags: OPENBSD_5_0_BASE
# 1.25 20-Jul-2011 marco

For now, disable msi interrupts. Reading through the linux driver one
gets the impression that there are all kinds of preconditions and a
whitelist as well. I will be working on this whitelist but for now
disable it because it is hanging at boot for several people.

ok deraadt


# 1.24 01-Jul-2011 deraadt

msi interrupts working on mfi(4)


Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.23 01-Apr-2010 jsg

Add more dell subids found in the windows driver.
ok marco@


# 1.22 01-Apr-2010 marco

Add H700 now that we know the subid...


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE
# 1.21 23-Feb-2009 jsg

Match on the SAS1078DE which appears to be used in at least the
ServeRAID-MR10is.

While here remove duplicate entries for SAS1078/PERC6 which
are the same id, both with a SYMBIOS (LSI) vendor id and
same product id (0x0060).

ok marco@ dlg@ deraadt@


# 1.20 10-Feb-2009 marco

Use proper BAR on newer mfi raid cards.

From Jim Giannoules


# 1.19 28-Jan-2009 marco

Add support for next generation megaraid sas raid controllers.
From Jim Giannoules <gortag@gmail.com>


# 1.18 23-Nov-2008 dlg

sizeofa -> nitems


# 1.17 27-Oct-2008 marco

Move some include stuff around


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.16 11-Feb-2008 dlg

reinstate pci subvendor/subdevice detection so we can figure out which
variant of the board we're attached to.

for marco@


# 1.15 11-Feb-2008 dlg

add support for the mfi controllers with the ppc iops, aka, LSI SAS1078 or
Dell PERC6.

committed off a machine booting and rooting off a perc6. tested on a perc5
by marco@
ok marco@


# 1.14 26-Jan-2008 dlg

newline when printing about a failure to attach.


# 1.13 26-Nov-2007 marco

Add LSI PCI IDs for 1078 based megaraid; from the windows driver inf


# 1.12 26-Nov-2007 marco

Add new PERC6 & CERC6 PCI IDs


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE
# 1.11 06-Aug-2006 brad

sync PCI ids.


# 1.10 06-Aug-2006 brad

add another MegaRAID PCI id.


# 1.9 21-May-2006 marco

Add generic management function.
Redo ccb_state flags so that we can actually sleep on it.
Redo mfi_get_info to use new mgmt function.
Add rw_locks for mgmt interface.
Make BIOCINQ dynamic.


# 1.8 17-May-2006 brad

tweak the dmesg printing a bit.

ok marco@


# 1.7 16-May-2006 marco

Labeling was the wrong way around. Make 5e 5i and vice versa.


# 1.6 26-Apr-2006 marco

Undo last commit.


# 1.5 26-Apr-2006 marco

don't return -1, just 1.


# 1.4 26-Apr-2006 marco

typo


# 1.3 26-Apr-2006 marco

Add subvendor and subsysid to the mix to differentiate between controllers.


# 1.2 07-Apr-2006 marco

Use new shiny debug code.


# 1.1 06-Apr-2006 marco

Add skeleton driver for MegaRAID SAS.


# 1.31 11-Mar-2022 mpi

Constify struct cfattach.


Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.30 31-Dec-2019 deraadt

needs sys/sensor.h to standalone from whether machine/cpu.h pulls the
file or not
found by olivier@burelli.fr


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.29 09-Sep-2014 dlg

mark the interrupt handler mpsafe, and give up biglock in the scsi cmd
submission paths. take biglock again when calling back into the scsi
stack.

tested on a variety of cards here, including the skinny mfis on the
firewall next to mpsafe myx.


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.28 14-Aug-2012 dlg

dont maintain tables of all the pci subtypes just so we can print things
like "Dell PERC 5/i" in dmesg. the firmware on the board knows its own name
so we can use that instead. saves some bytes in the kernel.


# 1.27 14-Aug-2012 dlg

gc sc_flags now that the iop struct can tell us where the different IDBs
are.

noted by haesbaert@


Revision tags: OPENBSD_5_1_BASE OPENBSD_5_2_BASE
# 1.26 12-Jan-2012 dlg

add support for skinny variants.

from Alexey Suslikov
reviewed by marco


Revision tags: OPENBSD_5_0_BASE
# 1.25 20-Jul-2011 marco

For now, disable msi interrupts. Reading through the linux driver one
gets the impression that there are all kinds of preconditions and a
whitelist as well. I will be working on this whitelist but for now
disable it because it is hanging at boot for several people.

ok deraadt


# 1.24 01-Jul-2011 deraadt

msi interrupts working on mfi(4)


Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.23 01-Apr-2010 jsg

Add more dell subids found in the windows driver.
ok marco@


# 1.22 01-Apr-2010 marco

Add H700 now that we know the subid...


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE
# 1.21 23-Feb-2009 jsg

Match on the SAS1078DE which appears to be used in at least the
ServeRAID-MR10is.

While here remove duplicate entries for SAS1078/PERC6 which
are the same id, both with a SYMBIOS (LSI) vendor id and
same product id (0x0060).

ok marco@ dlg@ deraadt@


# 1.20 10-Feb-2009 marco

Use proper BAR on newer mfi raid cards.

From Jim Giannoules


# 1.19 28-Jan-2009 marco

Add support for next generation megaraid sas raid controllers.
From Jim Giannoules <gortag@gmail.com>


# 1.18 23-Nov-2008 dlg

sizeofa -> nitems


# 1.17 27-Oct-2008 marco

Move some include stuff around


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.16 11-Feb-2008 dlg

reinstate pci subvendor/subdevice detection so we can figure out which
variant of the board we're attached to.

for marco@


# 1.15 11-Feb-2008 dlg

add support for the mfi controllers with the ppc iops, aka, LSI SAS1078 or
Dell PERC6.

committed off a machine booting and rooting off a perc6. tested on a perc5
by marco@
ok marco@


# 1.14 26-Jan-2008 dlg

newline when printing about a failure to attach.


# 1.13 26-Nov-2007 marco

Add LSI PCI IDs for 1078 based megaraid; from the windows driver inf


# 1.12 26-Nov-2007 marco

Add new PERC6 & CERC6 PCI IDs


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE
# 1.11 06-Aug-2006 brad

sync PCI ids.


# 1.10 06-Aug-2006 brad

add another MegaRAID PCI id.


# 1.9 21-May-2006 marco

Add generic management function.
Redo ccb_state flags so that we can actually sleep on it.
Redo mfi_get_info to use new mgmt function.
Add rw_locks for mgmt interface.
Make BIOCINQ dynamic.


# 1.8 17-May-2006 brad

tweak the dmesg printing a bit.

ok marco@


# 1.7 16-May-2006 marco

Labeling was the wrong way around. Make 5e 5i and vice versa.


# 1.6 26-Apr-2006 marco

Undo last commit.


# 1.5 26-Apr-2006 marco

don't return -1, just 1.


# 1.4 26-Apr-2006 marco

typo


# 1.3 26-Apr-2006 marco

Add subvendor and subsysid to the mix to differentiate between controllers.


# 1.2 07-Apr-2006 marco

Use new shiny debug code.


# 1.1 06-Apr-2006 marco

Add skeleton driver for MegaRAID SAS.


# 1.30 31-Dec-2019 deraadt

needs sys/sensor.h to standalone from whether machine/cpu.h pulls the
file or not
found by olivier@burelli.fr


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.29 09-Sep-2014 dlg

mark the interrupt handler mpsafe, and give up biglock in the scsi cmd
submission paths. take biglock again when calling back into the scsi
stack.

tested on a variety of cards here, including the skinny mfis on the
firewall next to mpsafe myx.


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.28 14-Aug-2012 dlg

dont maintain tables of all the pci subtypes just so we can print things
like "Dell PERC 5/i" in dmesg. the firmware on the board knows its own name
so we can use that instead. saves some bytes in the kernel.


# 1.27 14-Aug-2012 dlg

gc sc_flags now that the iop struct can tell us where the different IDBs
are.

noted by haesbaert@


Revision tags: OPENBSD_5_1_BASE OPENBSD_5_2_BASE
# 1.26 12-Jan-2012 dlg

add support for skinny variants.

from Alexey Suslikov
reviewed by marco


Revision tags: OPENBSD_5_0_BASE
# 1.25 20-Jul-2011 marco

For now, disable msi interrupts. Reading through the linux driver one
gets the impression that there are all kinds of preconditions and a
whitelist as well. I will be working on this whitelist but for now
disable it because it is hanging at boot for several people.

ok deraadt


# 1.24 01-Jul-2011 deraadt

msi interrupts working on mfi(4)


Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.23 01-Apr-2010 jsg

Add more dell subids found in the windows driver.
ok marco@


# 1.22 01-Apr-2010 marco

Add H700 now that we know the subid...


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE
# 1.21 23-Feb-2009 jsg

Match on the SAS1078DE which appears to be used in at least the
ServeRAID-MR10is.

While here remove duplicate entries for SAS1078/PERC6 which
are the same id, both with a SYMBIOS (LSI) vendor id and
same product id (0x0060).

ok marco@ dlg@ deraadt@


# 1.20 10-Feb-2009 marco

Use proper BAR on newer mfi raid cards.

From Jim Giannoules


# 1.19 28-Jan-2009 marco

Add support for next generation megaraid sas raid controllers.
From Jim Giannoules <gortag@gmail.com>


# 1.18 23-Nov-2008 dlg

sizeofa -> nitems


# 1.17 27-Oct-2008 marco

Move some include stuff around


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.16 11-Feb-2008 dlg

reinstate pci subvendor/subdevice detection so we can figure out which
variant of the board we're attached to.

for marco@


# 1.15 11-Feb-2008 dlg

add support for the mfi controllers with the ppc iops, aka, LSI SAS1078 or
Dell PERC6.

committed off a machine booting and rooting off a perc6. tested on a perc5
by marco@
ok marco@


# 1.14 26-Jan-2008 dlg

newline when printing about a failure to attach.


# 1.13 26-Nov-2007 marco

Add LSI PCI IDs for 1078 based megaraid; from the windows driver inf


# 1.12 26-Nov-2007 marco

Add new PERC6 & CERC6 PCI IDs


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE
# 1.11 06-Aug-2006 brad

sync PCI ids.


# 1.10 06-Aug-2006 brad

add another MegaRAID PCI id.


# 1.9 21-May-2006 marco

Add generic management function.
Redo ccb_state flags so that we can actually sleep on it.
Redo mfi_get_info to use new mgmt function.
Add rw_locks for mgmt interface.
Make BIOCINQ dynamic.


# 1.8 17-May-2006 brad

tweak the dmesg printing a bit.

ok marco@


# 1.7 16-May-2006 marco

Labeling was the wrong way around. Make 5e 5i and vice versa.


# 1.6 26-Apr-2006 marco

Undo last commit.


# 1.5 26-Apr-2006 marco

don't return -1, just 1.


# 1.4 26-Apr-2006 marco

typo


# 1.3 26-Apr-2006 marco

Add subvendor and subsysid to the mix to differentiate between controllers.


# 1.2 07-Apr-2006 marco

Use new shiny debug code.


# 1.1 06-Apr-2006 marco

Add skeleton driver for MegaRAID SAS.


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.29 09-Sep-2014 dlg

mark the interrupt handler mpsafe, and give up biglock in the scsi cmd
submission paths. take biglock again when calling back into the scsi
stack.

tested on a variety of cards here, including the skinny mfis on the
firewall next to mpsafe myx.


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.28 14-Aug-2012 dlg

dont maintain tables of all the pci subtypes just so we can print things
like "Dell PERC 5/i" in dmesg. the firmware on the board knows its own name
so we can use that instead. saves some bytes in the kernel.


# 1.27 14-Aug-2012 dlg

gc sc_flags now that the iop struct can tell us where the different IDBs
are.

noted by haesbaert@


Revision tags: OPENBSD_5_1_BASE OPENBSD_5_2_BASE
# 1.26 12-Jan-2012 dlg

add support for skinny variants.

from Alexey Suslikov
reviewed by marco


Revision tags: OPENBSD_5_0_BASE
# 1.25 20-Jul-2011 marco

For now, disable msi interrupts. Reading through the linux driver one
gets the impression that there are all kinds of preconditions and a
whitelist as well. I will be working on this whitelist but for now
disable it because it is hanging at boot for several people.

ok deraadt


# 1.24 01-Jul-2011 deraadt

msi interrupts working on mfi(4)


Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.23 01-Apr-2010 jsg

Add more dell subids found in the windows driver.
ok marco@


# 1.22 01-Apr-2010 marco

Add H700 now that we know the subid...


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE
# 1.21 23-Feb-2009 jsg

Match on the SAS1078DE which appears to be used in at least the
ServeRAID-MR10is.

While here remove duplicate entries for SAS1078/PERC6 which
are the same id, both with a SYMBIOS (LSI) vendor id and
same product id (0x0060).

ok marco@ dlg@ deraadt@


# 1.20 10-Feb-2009 marco

Use proper BAR on newer mfi raid cards.

From Jim Giannoules


# 1.19 28-Jan-2009 marco

Add support for next generation megaraid sas raid controllers.
From Jim Giannoules <gortag@gmail.com>


# 1.18 23-Nov-2008 dlg

sizeofa -> nitems


# 1.17 27-Oct-2008 marco

Move some include stuff around


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.16 11-Feb-2008 dlg

reinstate pci subvendor/subdevice detection so we can figure out which
variant of the board we're attached to.

for marco@


# 1.15 11-Feb-2008 dlg

add support for the mfi controllers with the ppc iops, aka, LSI SAS1078 or
Dell PERC6.

committed off a machine booting and rooting off a perc6. tested on a perc5
by marco@
ok marco@


# 1.14 26-Jan-2008 dlg

newline when printing about a failure to attach.


# 1.13 26-Nov-2007 marco

Add LSI PCI IDs for 1078 based megaraid; from the windows driver inf


# 1.12 26-Nov-2007 marco

Add new PERC6 & CERC6 PCI IDs


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE
# 1.11 06-Aug-2006 brad

sync PCI ids.


# 1.10 06-Aug-2006 brad

add another MegaRAID PCI id.


# 1.9 21-May-2006 marco

Add generic management function.
Redo ccb_state flags so that we can actually sleep on it.
Redo mfi_get_info to use new mgmt function.
Add rw_locks for mgmt interface.
Make BIOCINQ dynamic.


# 1.8 17-May-2006 brad

tweak the dmesg printing a bit.

ok marco@


# 1.7 16-May-2006 marco

Labeling was the wrong way around. Make 5e 5i and vice versa.


# 1.6 26-Apr-2006 marco

Undo last commit.


# 1.5 26-Apr-2006 marco

don't return -1, just 1.


# 1.4 26-Apr-2006 marco

typo


# 1.3 26-Apr-2006 marco

Add subvendor and subsysid to the mix to differentiate between controllers.


# 1.2 07-Apr-2006 marco

Use new shiny debug code.


# 1.1 06-Apr-2006 marco

Add skeleton driver for MegaRAID SAS.