Home | History | Annotate | Download | only in pci
History log of /src/sys/dev/pci/ciss_pci.c
RevisionDateAuthorComments
 1.23  20-Dec-2023  thorpej Remove unnecessary <sys/malloc.h>.
 1.22  14-Jul-2020  jdolecek match newer HP Smart Array controllers, list from FreeBSD
 1.21  14-Jul-2020  jdolecek fix __arraycount() parameter
 1.20  14-Jul-2020  jdolecek make ciss_pci_devices[] more compact
 1.19  14-Jul-2020  jdolecek remove CISS_NO_INTERRUPT_HACK, discussed with joerg@ and spz@
 1.18  14-Jul-2020  jdolecek add support for PERFORMANT mode, and allow MSI/MSI-X (only) for adapters which
support it

code adapted from FreeBSD, but with fix for setting the performant bit
and pull count on command submittion as seen in hpsa Linux driver

tested with INTx and MSI-X on HP Smart Array 11

thanks to Andreas Gustafsson for initial testing, and providing
access to test machine
 1.17  05-Jul-2020  jdolecek there is more to MSI/MSI-X support in ciss(4) than just allocating the
right interrupt, it needs some explicit support; disable for now
until the full support is there

PR kern/55461
 1.16  04-Jul-2020  jdolecek switch to pci_intr_alloc() so this uses MSI/MSI-X if device supports it
 1.15  09-Dec-2018  jdolecek use pci_intr_establish_xname() everywhere
 1.14  12-Feb-2018  joerg branches: 1.14.2; 1.14.4;
Add a new option CISS_NO_INTERRUPT_HACK for driving ciss(4) by callouts.
This is intended as workaround for certain Xen issues with dom0 kernels
and will likely want to have a high HZ value as well for decent
performance.
 1.13  14-Jul-2016  msaitoh branches: 1.13.10;
- Use aprint*() instead of printf() in xxx_attach().
- Add missing aprint_naive("\n");
- KNF
 1.12  17-Jun-2016  christos catch up with new names.
 1.11  29-Mar-2014  christos branches: 1.11.6;
make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.
 1.10  27-Oct-2012  chs branches: 1.10.2;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.9  26-Nov-2009  njoly branches: 1.9.12; 1.9.22;
Cleanup interrupt establish error messages. Do not mix
aprint_error/aprint_normal/printf calls for a single line.
 1.8  12-May-2009  cegger use device_private().
"looks good" ad@
XXX for the device_t/softc split, please check the driver that no cases have been missed.
 1.7  06-May-2009  cegger struct device * -> device_t, no functional changes intended.
 1.6  06-May-2009  cegger struct cfdata * -> cfdata_t, no functional changes intended.
 1.5  10-Apr-2008  cegger branches: 1.5.4; 1.5.18;
use aprint_*_dev and device_xname
 1.4  19-Oct-2007  ad branches: 1.4.16;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.3  16-Nov-2006  christos branches: 1.3.8; 1.3.22; 1.3.24; 1.3.28;
__unused removal on arguments; approved by core.
 1.2  12-Oct-2006  christos - sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
 1.1  21-Mar-2006  he branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8; 1.1.10; 1.1.12; 1.1.18; 1.1.22; 1.1.24; 1.1.26;
Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!
 1.1.26.2  10-Dec-2006  yamt sync with head.
 1.1.26.1  22-Oct-2006  yamt sync with head
 1.1.24.2  09-Sep-2006  rpaulo sync with head
 1.1.24.1  21-Mar-2006  rpaulo file ciss_pci.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:52:16 +0000
 1.1.22.1  18-Nov-2006  ad Sync with head.
 1.1.18.4  27-Oct-2007  yamt sync with head.
 1.1.18.3  30-Dec-2006  yamt sync with head.
 1.1.18.2  21-Jun-2006  yamt sync with head.
 1.1.18.1  21-Mar-2006  yamt file ciss_pci.c was added on branch yamt-lazymbuf on 2006-06-21 15:05:03 +0000
 1.1.12.2  22-Apr-2006  simonb Sync with head.
 1.1.12.1  21-Mar-2006  simonb file ciss_pci.c was added on branch simonb-timecounters on 2006-04-22 11:39:13 +0000
 1.1.10.2  19-Apr-2006  elad sync with head.
 1.1.10.1  21-Mar-2006  elad file ciss_pci.c was added on branch elad-kernelauth on 2006-04-19 03:25:33 +0000
 1.1.8.2  11-Apr-2006  yamt sync files somehow mis-tagged by yamt-pdpolicy-base2.
 1.1.8.1  21-Mar-2006  yamt file ciss_pci.c was added on branch yamt-pdpolicy on 2006-04-11 12:20:52 +0000
 1.1.6.2  11-Apr-2006  riz Pull up following revision(s) (requested by he in ticket #10409):
sys/dev/ic/cissreg.h: revision 1.1
sys/dev/pci/ciss_pci.c: revision 1.1
sys/dev/ic/cissvar.h: revision 1.1
sys/dev/pci/files.pci: revision 1.245
sys/dev/ic/ciss.c: revision 1.1 via patch
Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!
 1.1.6.1  21-Mar-2006  riz file ciss_pci.c was added on branch netbsd-2 on 2006-04-11 01:15:22 +0000
 1.1.4.2  08-Apr-2006  tron Pull up following revision(s) (requested by he in ticket #1247):
sys/dev/ic/cissreg.h: revision 1.1
sys/dev/pci/ciss_pci.c: revision 1.1
sys/dev/ic/cissvar.h: revision 1.1
sys/dev/pci/files.pci: revision 1.245
sys/dev/ic/ciss.c: revision 1.1
Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!
 1.1.4.1  21-Mar-2006  tron file ciss_pci.c was added on branch netbsd-3 on 2006-04-08 23:31:38 +0000
 1.1.2.2  28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.1.2.1  21-Mar-2006  tron file ciss_pci.c was added on branch peter-altq on 2006-03-28 09:42:13 +0000
 1.3.28.1  25-Oct-2007  bouyer Sync with HEAD.
 1.3.24.1  06-Nov-2007  matt sync with HEAD
 1.3.22.1  26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.3.8.1  23-Oct-2007  ad Sync with head.
 1.4.16.1  02-Jun-2008  mjf Sync with HEAD.
 1.5.18.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.5.4.2  11-Mar-2010  yamt sync with head
 1.5.4.1  16-May-2009  yamt sync with head
 1.9.22.3  03-Dec-2017  jdolecek update from HEAD
 1.9.22.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.9.22.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.9.12.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.9.12.1  30-Oct-2012  yamt sync with head
 1.10.2.1  18-May-2014  rmind sync with head
 1.11.6.2  05-Oct-2016  skrll Sync with HEAD
 1.11.6.1  09-Jul-2016  skrll Sync with HEAD
 1.13.10.1  09-Apr-2018  bouyer Pull up following revision(s) (requested by spz in ticket #708):
sys/conf/files: revision 1.1194
sys/dev/ic/cissvar.h: revision 1.7
sys/dev/ic/ciss.c: revision 1.38
sys/dev/pci/ciss_pci.c: revision 1.14
sys/arch/amd64/conf/ALL: revision 1.81
Add a new option CISS_NO_INTERRUPT_HACK for driving ciss(4) by callouts.
This is intended as workaround for certain Xen issues with dom0 kernels
and will likely want to have a high HZ value as well for decent
performance.
 1.14.4.1  10-Jun-2019  christos Sync with HEAD
 1.14.2.1  26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts

RSS XML Feed