Home | History | Annotate | Download | only in ic
History log of /src/sys/dev/ic/ciss.c
RevisionDateAuthorComments
 1.56  19-Feb-2024  msaitoh ciss(4): Fix panic when the number of logical drive is zero.

Currently, this drives requires at least one logical drive.
If there is no any logical volume, don't attach the driver.
 1.55  17-Aug-2023  andvar fix typos in comments.
 1.54  29-May-2022  rin Audit unload/unmap v.s. free against DMA buffer for sys/dev;
make sure that bus_dmamap_unload(9) [or bus_dmamap_destroy(9)] or
bus_dmamem_unmap(9) are preceding to freeing DMA buffer, if it is
loaded or mapped, respectively.

This is mandatory for some archs. See, e.g.:

http://www.nerv.org/netbsd/?q=id:20210511T013030Z.013443cc790088147e4beed43f53dedabeaf9312
http://www.nerv.org/netbsd/?q=id:20220511T172220Z.561179f0b6fcc5b9cd73e274f69d74e2ce9e4c93

For some drivers, resource leaks for error paths are fixed at
the same time.

XXX XXX XXX
Compile test only (at least one arch per driver).
 1.53  01-Jan-2022  msaitoh s/assoicate/associate/
 1.52  07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.51  24-Apr-2021  thorpej branches: 1.51.8;
Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
actually needed.
- Don't be explicit about what interface attribute is attaching if
the device only has one. (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
situations, making is visibly easier to see when indirect config is
in play, and allowing for future change in semantics. (As of now,
this is just a wrapper around config_match(), but that is an
implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.50  16-Jul-2020  jdolecek branches: 1.50.4;
revert the conversion to STAILQ, it broke execution of commands
 1.49  14-Jul-2020  jdolecek remove CISS_NO_INTERRUPT_HACK, discussed with joerg@ and spz@
 1.48  14-Jul-2020  jdolecek remove ccb_sc to save memory, no need to store pointer to sc in ccb
 1.47  14-Jul-2020  jdolecek use STAILQ for ccb lists to save some memory, doubly-linked list is not needed
 1.46  14-Jul-2020  jdolecek only copy the actual command length in ciss_scsi_cmd(), instead of always
copying CISS_MAX_CDB bytes

Fixes reading past buffer memory triggered e.g. on kernel dump, reported
by KASAN:
ASan: Unauthorized Access In ...: Addr ... [16 bytes, read, RedZonePartial]

also do not pre-zero the cdb before copying cmd to it, there is no need for it
 1.45  14-Jul-2020  jdolecek g/c #if 0'ed ciss_scsi_raw_cmd()
 1.44  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.43  10-Jul-2020  jdolecek remove write-only sc_ccbq, and unused sc_ccbdone
 1.42  15-May-2020  maxv hardclock_ticks -> getticks()
 1.41  10-Nov-2019  chs in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.
 1.40  08-May-2019  cnst bio(4) drivers: remove noop fallthrough-to-default bio(4) cmd cases

* Makes it easier to do code/feature analysis by not having
extra noop code/symbols spattered around.

* Only an issue in cac(4) and ciss(4); other drivers don't do this.

* No binary changes.
 1.39  03-Sep-2018  riastradh Rename min/max -> uimin/uimax for better honesty.

These functions are defined on unsigned int. The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.

HOWEVER! Some subsystems have

#define min(a, b) ((a) < (b) ? (a) : (b))
#define max(a, b) ((a) > (b) ? (a) : (b))

even though our standard name for that is MIN/MAX. Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.

To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.

I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:

cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))

It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.

Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate. But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all. (Who knows, maybe in some cases integer
truncation is actually intended!)
 1.38  12-Feb-2018  joerg branches: 1.38.2; 1.38.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.37  28-Jul-2017  riastradh Reject negative indices from userland.

From Ilja Van Sprundel.
 1.36  14-Jul-2016  msaitoh branches: 1.36.10;
- Use aprint*() instead of printf() in xxx_attach().
- Add missing aprint_naive("\n");
- KNF
 1.35  12-Mar-2015  christos use hardclock_ticks; pointed out by hannken.
 1.34  12-Mar-2015  christos Untangle the poll/wait/timeout code in ciss_cmd() Tested on a DL-360.
 1.33  12-Mar-2015  christos Dedup the conversion of bioc_disk and bioc_vol to envsys_data_t
 1.32  17-Oct-2013  christos branches: 1.32.4; 1.32.6; 1.32.8; 1.32.12;
- remove unused variables
- move variables inside ifdef sections
- ifdef notdef unused code
- use __USE for debugging variables
 1.31  13-Oct-2013  christos make the driver able to send scsi commands; now the disks are found.
it was converted incorrectly to device_t.
 1.30  12-Oct-2013  christos - add 64 bit fifo support
- handle fibrilation better
 1.29  27-Oct-2012  chs branches: 1.29.2;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.28  23-Sep-2012  chs don't try to handle sensors if there aren't any.
 1.27  20-Jun-2011  pgoyette branches: 1.27.2; 1.27.8; 1.27.12; 1.27.14;
Initialize current value for ENVSYS_DRIVE sensors
 1.26  20-Jun-2011  pgoyette Initializes sensors states before registering.
 1.25  16-May-2011  mhitch branches: 1.25.2;
I was allowing adapt_max_periph to use all available command slots, which
easily exceeds the maximum of 256 tags used by the scsipi layer because
the tag information from the scsipi layer was ignored and all the tagging
is handled implicitly internal to ciss(4). But with the DIAGNOSTIC option,
the scsipi layer does a check for > 256 tags and will panic. So, lets just
limit the adapt_max_periph to 256 so the scsipi layer won't try to user more.
 1.24  13-Nov-2010  uebayasi branches: 1.24.2;
Don't pull in the whole uvm(9) API to access only PAGE_SIZE and
some other constants. These are provided by sys/param.h now.
 1.23  07-Sep-2010  mhitch Fix a performance problem with the ciss(4) driver. NetBSD does common
queueing at the scsipi midlayer, and if the midlayer is not requested to
enable tagged queueing, the midlayer will only queue one command to the
adapter driver for each device. The SmartArray adapter is capable of
handling multiple commands, and in the rather common case where there is
no battery backup and no write cache, doing single write commands is very
slow. The SmartArray adapter runs much better when several commands can
be issued to a device.

This has been observed and discussed in several list threads, notably:
http://mail-index.NetBSD.org/netbsd-users/2008/10/01/msg002083.html
http://mail-index.NetBSD.org/tech-kern/2008/11/30/msg003704.html

This also addresses PR kern/39686.

To enable tagged queueing, the adapter driver responds to the midlayer
request to set the transfer mode. However, the SmartArray does not respond
to the SCSI INQUIRY command with an ANSII field of 2 or more, so the
scsipi midlayer will ignore the CmdQue bit in the flags3 field of the
inquiry data. This fix will patch the inquiry data so set the ANSII field
to 2, and responds to the midlayer request to set the transfer mode by
requesting tagged queueing.

In addition, the original port of the driver did not set up the adapter
parameters correctly as mentioned in the second list thread mentioned
above. The adapt_openings is the total number of commands that the
adapter will accept rather than the number of commands divided by the
number of logical drives. Also, the adapt_max_periph is the maximum number
of commands which can be queued per peripheral device, not the number of
logical drives [which in the case of a single logical drive limited the
number of commands queued to 1].

I'm also suppressing an error message for invalid commands if the error
was due to the SCSI_SYNCHRONIZE_CACHE_10 command, since that command is
not supported by the SmartArray adapter, but used with wapbl(4) meta-data
journaling. Setting the ANSII version to 2 to allow enabling tagged queueing
also enables the use of the SCSI_SYNCHRONIZE_CACHE_10 command.
 1.22  27-Jul-2010  jakllsch Print size_t with 'z' in debug code.
 1.21  26-Jul-2010  jym Add PAE to ALL kernel, so that most paddr_t format string errors get caught
during compilation.

While here, fix the compilation for ALL.
 1.20  14-Mar-2010  pgoyette branches: 1.20.2;
Remove setting of edata->monitor since that member no longer exists.
 1.19  12-May-2009  cegger branches: 1.19.2;
struct device * -> device_t, no functional changes intended.
 1.18  18-Apr-2009  tsutsui Remove extra whitespace added by a stupid tool.
XXX: more in src/sys/arch
 1.17  18-Mar-2009  cegger bcopy -> memcpy
 1.16  18-Mar-2009  cegger bzero -> memset
 1.15  13-Feb-2009  bouyer More printf format fixes.
 1.14  04-Sep-2008  he branches: 1.14.2; 1.14.4; 1.14.8; 1.14.10;
Adopt a fix from OpenBSD, revision 1.30 in their CVS repository.
To paraphrase:
Some ciss(4) firmwares use different physical drive addressing, resulting
in bioctl(8) functions not being available.
Tested on both types of controller.
 1.13  04-Sep-2008  mhitch Limit the number of luns to 1, since the SCSI device ciss(4) presents
doesn't appear to luns and later controllers would respond to probe
requests for luns > 0.
 1.12  25-May-2008  mhitch branches: 1.12.4;
Add bio(4) support, heavily from OpenBSD. The driver doesn't know which
physical drives belong to which logical drive, so all the physical drives
will show up for logical drive 0, and also appear for logical drives that
are rebuilding so that the rebuild state will show the physical drive
being rebuilt. Locking for the scratch buffer is currently missing - system
quickly quits responding when I try to lock the buffer with mutex_{enter,exit}().
 1.11  08-Apr-2008  cegger branches: 1.11.2; 1.11.4; 1.11.6;
use aprint_*_dev and device_xname
 1.10  15-Dec-2007  perry branches: 1.10.6;
__FUNCTION__ -> __func__
 1.9  19-Oct-2007  ad branches: 1.9.4; 1.9.8;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.8  09-Jul-2007  ad branches: 1.8.6; 1.8.8; 1.8.12;
Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
 1.7  04-Mar-2007  christos branches: 1.7.2; 1.7.4;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.6  16-Nov-2006  christos branches: 1.6.4;
__unused removal on arguments; approved by core.
 1.5  12-Oct-2006  christos - sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
 1.4  04-Oct-2006  christos fix empty if body.
 1.3  27-May-2006  he branches: 1.3.4; 1.3.8; 1.3.10; 1.3.12;
Remove setting of xs_status to XS_STS_DONE before calling scspi_done().
After revision 1.135 of scsipi_base.c, it's a big no-no to set
XS_STS_DONE before calling scsipi_done(). Besides, scsipi_done()
sets XS_STS_DONE itself after checking that it's not already set.

This puts this driver back in working order; before this change
the probe of the logical drives would cause a hang.
 1.2  15-Apr-2006  martti branches: 1.2.2; 1.2.4; 1.2.6;
Merged changes between OpenBSD rev 1.13 and 1.14.
 1.1  21-Mar-2006  he branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8;
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.8.4  26-Jun-2006  yamt sync with head.
 1.1.8.3  24-May-2006  yamt sync with head.
 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.c was added on branch yamt-pdpolicy on 2006-04-11 12:20:52 +0000
 1.1.6.3  21-Apr-2006  tron Pull up following revision(s) (requested by martti in ticket #10451):
sys/dev/ic/ciss.c: revision 1.2
Merged changes between OpenBSD rev 1.13 and 1.14.
 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.c was added on branch netbsd-2 on 2006-04-11 01:15:22 +0000
 1.1.4.3  21-Apr-2006  tron Pull up following revision(s) (requested by martti in ticket #1275):
sys/dev/ic/ciss.c: revision 1.2
Merged changes between OpenBSD rev 1.13 and 1.14.
 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.c was added on branch netbsd-3 on 2006-04-08 23:31:38 +0000
 1.1.2.3  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 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.c was added on branch peter-altq on 2006-03-28 09:42:11 +0000
 1.2.6.1  19-Jun-2006  chap Sync with head.
 1.2.4.3  01-Jun-2006  kardel Sync with head.
 1.2.4.2  22-Apr-2006  simonb Sync with head.
 1.2.4.1  15-Apr-2006  simonb file ciss.c was added on branch simonb-timecounters on 2006-04-22 11:38:55 +0000
 1.2.2.2  19-Apr-2006  elad sync with head.
 1.2.2.1  15-Apr-2006  elad file ciss.c was added on branch elad-kernelauth on 2006-04-19 03:24:38 +0000
 1.3.12.2  10-Dec-2006  yamt sync with head.
 1.3.12.1  22-Oct-2006  yamt sync with head
 1.3.10.2  09-Sep-2006  rpaulo sync with head
 1.3.10.1  27-May-2006  rpaulo file ciss.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:50:01 +0000
 1.3.8.1  18-Nov-2006  ad Sync with head.
 1.3.4.6  21-Jan-2008  yamt sync with head
 1.3.4.5  27-Oct-2007  yamt sync with head.
 1.3.4.4  03-Sep-2007  yamt sync with head.
 1.3.4.3  30-Dec-2006  yamt sync with head.
 1.3.4.2  21-Jun-2006  yamt sync with head.
 1.3.4.1  27-May-2006  yamt file ciss.c was added on branch yamt-lazymbuf on 2006-06-21 15:02:53 +0000
 1.6.4.1  12-Mar-2007  rmind Sync with HEAD.
 1.7.4.1  11-Jul-2007  mjf Sync with head.
 1.7.2.2  23-Oct-2007  ad Sync with head.
 1.7.2.1  01-Jul-2007  ad Adapt to callout API change.
 1.8.12.1  25-Oct-2007  bouyer Sync with HEAD.
 1.8.8.2  09-Jan-2008  matt sync with HEAD
 1.8.8.1  06-Nov-2007  matt sync with HEAD
 1.8.6.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.9.8.1  02-Jan-2008  bouyer Sync with HEAD
 1.9.4.1  26-Dec-2007  ad Sync with head.
 1.10.6.2  28-Sep-2008  mjf Sync with HEAD.
 1.10.6.1  02-Jun-2008  mjf Sync with HEAD.
 1.11.6.2  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.11.6.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.11.4.4  09-Oct-2010  yamt sync with head
 1.11.4.3  11-Aug-2010  yamt sync with head.
 1.11.4.2  16-May-2009  yamt sync with head
 1.11.4.1  04-May-2009  yamt sync with head.
 1.11.2.1  04-Jun-2008  yamt sync with head
 1.12.4.1  19-Oct-2008  haad Sync with HEAD.
 1.14.10.1  26-Jul-2009  snj branches: 1.14.10.1.2;
Pull up following revision(s) (requested by dholland in ticket #874):
sys/dev/ic/ciss.c: revision 1.15
sys/dev/isa/isadma.c: revision 1.59
sys/dev/usb/ulpt.c: revision 1.82
sys/dev/ic/tcic2.c: revision 1.31
sys/dev/isa/if_ntwoc_isa.c: revision 1.18
sys/dev/pci/if_sk.c: revision 1.57
sys/dev/pcmcia/if_cnw.c: revision 1.46
More printf format fixes.
 1.14.10.1.2.1  21-Apr-2010  matt sync to netbsd-5
 1.14.8.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.14.4.3  02-Nov-2011  riz Pull up following revision(s) (requested by mhitch in ticket #1674):
sys/dev/ic/ciss.c: revision 1.25
I was allowing adapt_max_periph to use all available command slots, which
easily exceeds the maximum of 256 tags used by the scsipi layer because
the tag information from the scsipi layer was ignored and all the tagging
is handled implicitly internal to ciss(4). But with the DIAGNOSTIC option,
the scsipi layer does a check for > 256 tags and will panic. So, lets just
limit the adapt_max_periph to 256 so the scsipi layer won't try to user more.
 1.14.4.2  21-Nov-2010  riz Pull up following revision(s) (requested by pettai in ticket #1452):
sys/dev/ic/ciss.c: revision 1.23
Fix a performance problem with the ciss(4) driver. NetBSD does common
queueing at the scsipi midlayer, and if the midlayer is not requested to
enable tagged queueing, the midlayer will only queue one command to the
adapter driver for each device. The SmartArray adapter is capable of
handling multiple commands, and in the rather common case where there is
no battery backup and no write cache, doing single write commands is very
slow. The SmartArray adapter runs much better when several commands can
be issued to a device.
This has been observed and discussed in several list threads, notably:
http://mail-index.NetBSD.org/netbsd-users/2008/10/01/msg002083.html
http://mail-index.NetBSD.org/tech-kern/2008/11/30/msg003704.html
This also addresses PR kern/39686.
To enable tagged queueing, the adapter driver responds to the midlayer
request to set the transfer mode. However, the SmartArray does not respond
to the SCSI INQUIRY command with an ANSII field of 2 or more, so the
scsipi midlayer will ignore the CmdQue bit in the flags3 field of the
inquiry data. This fix will patch the inquiry data so set the ANSII field
to 2, and responds to the midlayer request to set the transfer mode by
requesting tagged queueing.
In addition, the original port of the driver did not set up the adapter
parameters correctly as mentioned in the second list thread mentioned
above. The adapt_openings is the total number of commands that the
adapter will accept rather than the number of commands divided by the
number of logical drives. Also, the adapt_max_periph is the maximum number
of commands which can be queued per peripheral device, not the number of
logical drives [which in the case of a single logical drive limited the
number of commands queued to 1].
I'm also suppressing an error message for invalid commands if the error
was due to the SCSI_SYNCHRONIZE_CACHE_10 command, since that command is
not supported by the SmartArray adapter, but used with wapbl(4) meta-data
journaling. Setting the ANSII version to 2 to allow enabling tagged queueing
also enables the use of the SCSI_SYNCHRONIZE_CACHE_10 command.
 1.14.4.1  26-Jul-2009  snj Pull up following revision(s) (requested by dholland in ticket #874):
sys/dev/ic/ciss.c: revision 1.15
sys/dev/isa/isadma.c: revision 1.59
sys/dev/usb/ulpt.c: revision 1.82
sys/dev/ic/tcic2.c: revision 1.31
sys/dev/isa/if_ntwoc_isa.c: revision 1.18
sys/dev/pci/if_sk.c: revision 1.57
sys/dev/pcmcia/if_cnw.c: revision 1.46
More printf format fixes.
 1.14.2.2  28-Apr-2009  skrll Sync with HEAD.
 1.14.2.1  03-Mar-2009  skrll Sync with HEAD.
 1.19.2.3  22-Oct-2010  uebayasi Sync with HEAD (-D20101022).
 1.19.2.2  17-Aug-2010  uebayasi Sync with HEAD.
 1.19.2.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.20.2.2  31-May-2011  rmind sync with head
 1.20.2.1  05-Mar-2011  rmind sync with head
 1.24.2.1  06-Jun-2011  jruoho Sync with HEAD.
 1.25.2.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.27.14.2  19-Aug-2017  snj Pull up following revision(s) (requested by mrg in ticket #1486):
sys/dev/ic/ciss.c: revision 1.37
Reject negative indices from userland.
 1.27.14.1  22-Nov-2012  riz Pull up following revision(s) (requested by chs in ticket #687):
sys/dev/ic/ciss.c: revision 1.28
don't try to handle sensors if there aren't any.
 1.27.12.3  03-Dec-2017  jdolecek update from HEAD
 1.27.12.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.27.12.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.27.8.2  19-Aug-2017  snj Pull up following revision(s) (requested by mrg in ticket #1486):
sys/dev/ic/ciss.c: revision 1.37
Reject negative indices from userland.
 1.27.8.1  22-Nov-2012  riz branches: 1.27.8.1.2;
Pull up following revision(s) (requested by chs in ticket #687):
sys/dev/ic/ciss.c: revision 1.28
don't try to handle sensors if there aren't any.
 1.27.8.1.2.1  19-Aug-2017  snj Pull up following revision(s) (requested by mrg in ticket #1486):
sys/dev/ic/ciss.c: revision 1.37
Reject negative indices from userland.
 1.27.2.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.27.2.1  30-Oct-2012  yamt sync with head
 1.29.2.1  18-May-2014  rmind sync with head
 1.32.12.1  12-Aug-2017  snj Pull up following revision(s) (requested by mrg in ticket #1483):
sys/dev/ic/ciss.c: revision 1.37
Reject negative indices from userland.
 1.32.8.1  12-Aug-2017  snj Pull up following revision(s) (requested by mrg in ticket #1483):
sys/dev/ic/ciss.c: revision 1.37
Reject negative indices from userland.
 1.32.6.3  28-Aug-2017  skrll Sync with HEAD
 1.32.6.2  05-Oct-2016  skrll Sync with HEAD
 1.32.6.1  06-Apr-2015  skrll Sync with HEAD
 1.32.4.1  12-Aug-2017  snj Pull up following revision(s) (requested by mrg in ticket #1483):
sys/dev/ic/ciss.c: revision 1.37
Reject negative indices from userland.
 1.36.10.2  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.36.10.1  09-Aug-2017  snj Pull up following revision(s) (requested by spz in ticket #196):
sys/dev/ic/ciss.c: revision 1.37
Reject negative indices from userland.
 1.38.4.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.38.4.1  10-Jun-2019  christos Sync with HEAD
 1.38.2.1  06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.50.4.1  21-Mar-2021  thorpej Give config_found() the same variadic arguments treatment as
config_search(). This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls. Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.
 1.51.8.1  04-Aug-2021  thorpej Adapt to CFARGS().

RSS XML Feed