History log of /openbsd-current/sys/dev/pci/mpiireg.h
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.15 29-Dec-2019 jmatthew

The name field of struct mpii_cfg_raid_vol_pg1 is 16 bytes, not 32.

tested by and ok kn@


Revision tags: OPENBSD_6_6_BASE
# 1.14 12-Sep-2019 jmatthew

SAS3 controllers have a maximum size for sgl chain segments, and the
controller faults if you exceed it, so instead use multiple chain
segments in the same request frame layout.

tested on a SAS3008 (max chain size 8), where MAXPHYS io would occasionally
cause faults
ok dlg@ krw@


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.13 19-Jun-2018 jmatthew

Add support for SAS3.5 controllers. This involves reordering
initialisation so we get the controller capabilities first, allowing a
soft reset instead of hard reset. The new controllers don't work after a
hard reset, and older generations seem fine either way.

tested by robert@ on a sas3408, by dlg@ on a sas2008 (on sparc64) and by me
on a sas3008.
ok dlg@ robert@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.12 16-Jan-2017 mikeb

Clean up SCSI operation status and state defines


# 1.11 24-Oct-2016 dlg

augment the scsi_probe handler so it tries to query the sas dev pg 0

sas dev pg0 tells us interesting things, like the devices sas addresses
and if it is ATAPI or not.


# 1.10 14-Sep-2016 jmatthew

add support for SAS3 devices, which have a different sgl layout to previous
generations.

tested on a Lenovo N2215 (SAS3008)
ok dlg@ deraadt@


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.9 27-Mar-2014 dlg

last of the htolem32 bits


# 1.8 27-Mar-2014 dlg

everything is at least 4 byte aligned


# 1.7 27-Mar-2014 dlg

the request and reply descriptors are 8 byte aligned for the hardware.


# 1.6 24-Mar-2014 dlg

scsi io bits are at least 4 byte aligned


# 1.5 24-Mar-2014 dlg

mpii_sges are 4 byte aligned. makes storing the flags field a bit easier
on strict alignment archs.


# 1.4 24-Mar-2014 dlg

make mpii_sge look like mpi_sge, and provide a wrapper for setting the
address in it like the one in mpi too.

shrinks load_xs a bit


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.3 28-Sep-2012 mikeb

update my copyright


# 1.2 23-Aug-2012 mikeb

whitespace cleanup; no functional change


# 1.1 14-Aug-2012 dlg

split the definitions of the hardware out into a separate file so it can
be reused by a driver for the recent megaraid sas fusion boards.

mikeb was also interested in doing this a while back to make working on
mpii.c easier.

ok by mikeb@ haesbaert@ deraadt@ matthew@


# 1.14 12-Sep-2019 jmatthew

SAS3 controllers have a maximum size for sgl chain segments, and the
controller faults if you exceed it, so instead use multiple chain
segments in the same request frame layout.

tested on a SAS3008 (max chain size 8), where MAXPHYS io would occasionally
cause faults
ok dlg@ krw@


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.13 19-Jun-2018 jmatthew

Add support for SAS3.5 controllers. This involves reordering
initialisation so we get the controller capabilities first, allowing a
soft reset instead of hard reset. The new controllers don't work after a
hard reset, and older generations seem fine either way.

tested by robert@ on a sas3408, by dlg@ on a sas2008 (on sparc64) and by me
on a sas3008.
ok dlg@ robert@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.12 16-Jan-2017 mikeb

Clean up SCSI operation status and state defines


# 1.11 24-Oct-2016 dlg

augment the scsi_probe handler so it tries to query the sas dev pg 0

sas dev pg0 tells us interesting things, like the devices sas addresses
and if it is ATAPI or not.


# 1.10 14-Sep-2016 jmatthew

add support for SAS3 devices, which have a different sgl layout to previous
generations.

tested on a Lenovo N2215 (SAS3008)
ok dlg@ deraadt@


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.9 27-Mar-2014 dlg

last of the htolem32 bits


# 1.8 27-Mar-2014 dlg

everything is at least 4 byte aligned


# 1.7 27-Mar-2014 dlg

the request and reply descriptors are 8 byte aligned for the hardware.


# 1.6 24-Mar-2014 dlg

scsi io bits are at least 4 byte aligned


# 1.5 24-Mar-2014 dlg

mpii_sges are 4 byte aligned. makes storing the flags field a bit easier
on strict alignment archs.


# 1.4 24-Mar-2014 dlg

make mpii_sge look like mpi_sge, and provide a wrapper for setting the
address in it like the one in mpi too.

shrinks load_xs a bit


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.3 28-Sep-2012 mikeb

update my copyright


# 1.2 23-Aug-2012 mikeb

whitespace cleanup; no functional change


# 1.1 14-Aug-2012 dlg

split the definitions of the hardware out into a separate file so it can
be reused by a driver for the recent megaraid sas fusion boards.

mikeb was also interested in doing this a while back to make working on
mpii.c easier.

ok by mikeb@ haesbaert@ deraadt@ matthew@


# 1.13 19-Jun-2018 jmatthew

Add support for SAS3.5 controllers. This involves reordering
initialisation so we get the controller capabilities first, allowing a
soft reset instead of hard reset. The new controllers don't work after a
hard reset, and older generations seem fine either way.

tested by robert@ on a sas3408, by dlg@ on a sas2008 (on sparc64) and by me
on a sas3008.
ok dlg@ robert@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.12 16-Jan-2017 mikeb

Clean up SCSI operation status and state defines


# 1.11 24-Oct-2016 dlg

augment the scsi_probe handler so it tries to query the sas dev pg 0

sas dev pg0 tells us interesting things, like the devices sas addresses
and if it is ATAPI or not.


# 1.10 14-Sep-2016 jmatthew

add support for SAS3 devices, which have a different sgl layout to previous
generations.

tested on a Lenovo N2215 (SAS3008)
ok dlg@ deraadt@


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.9 27-Mar-2014 dlg

last of the htolem32 bits


# 1.8 27-Mar-2014 dlg

everything is at least 4 byte aligned


# 1.7 27-Mar-2014 dlg

the request and reply descriptors are 8 byte aligned for the hardware.


# 1.6 24-Mar-2014 dlg

scsi io bits are at least 4 byte aligned


# 1.5 24-Mar-2014 dlg

mpii_sges are 4 byte aligned. makes storing the flags field a bit easier
on strict alignment archs.


# 1.4 24-Mar-2014 dlg

make mpii_sge look like mpi_sge, and provide a wrapper for setting the
address in it like the one in mpi too.

shrinks load_xs a bit


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.3 28-Sep-2012 mikeb

update my copyright


# 1.2 23-Aug-2012 mikeb

whitespace cleanup; no functional change


# 1.1 14-Aug-2012 dlg

split the definitions of the hardware out into a separate file so it can
be reused by a driver for the recent megaraid sas fusion boards.

mikeb was also interested in doing this a while back to make working on
mpii.c easier.

ok by mikeb@ haesbaert@ deraadt@ matthew@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.12 16-Jan-2017 mikeb

Clean up SCSI operation status and state defines


# 1.11 24-Oct-2016 dlg

augment the scsi_probe handler so it tries to query the sas dev pg 0

sas dev pg0 tells us interesting things, like the devices sas addresses
and if it is ATAPI or not.


# 1.10 14-Sep-2016 jmatthew

add support for SAS3 devices, which have a different sgl layout to previous
generations.

tested on a Lenovo N2215 (SAS3008)
ok dlg@ deraadt@


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.9 27-Mar-2014 dlg

last of the htolem32 bits


# 1.8 27-Mar-2014 dlg

everything is at least 4 byte aligned


# 1.7 27-Mar-2014 dlg

the request and reply descriptors are 8 byte aligned for the hardware.


# 1.6 24-Mar-2014 dlg

scsi io bits are at least 4 byte aligned


# 1.5 24-Mar-2014 dlg

mpii_sges are 4 byte aligned. makes storing the flags field a bit easier
on strict alignment archs.


# 1.4 24-Mar-2014 dlg

make mpii_sge look like mpi_sge, and provide a wrapper for setting the
address in it like the one in mpi too.

shrinks load_xs a bit


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.3 28-Sep-2012 mikeb

update my copyright


# 1.2 23-Aug-2012 mikeb

whitespace cleanup; no functional change


# 1.1 14-Aug-2012 dlg

split the definitions of the hardware out into a separate file so it can
be reused by a driver for the recent megaraid sas fusion boards.

mikeb was also interested in doing this a while back to make working on
mpii.c easier.

ok by mikeb@ haesbaert@ deraadt@ matthew@