summaryrefslogtreecommitdiffstats
path: root/sys/dev/ciss
Commit message (Collapse)AuthorAgeFilesLines
* Device megapatch 4/6:phk2004-02-211-1/+2
| | | | | | | | Introduce d_version field in struct cdevsw, this must always be initialized to D_VERSION. Flip sense of D_NOGIANT flag to D_NEEDGIANT, this involves removing four D_NOGIANT flags and adding 145 D_NEEDGIANT flags.
* Device megapatch 1/6:phk2004-02-211-2/+0
| | | | | | | Free approx 86 major numbers with a mostly automatically generated patch. A number of strategic drivers have been left behind by caution, and a few because they still (ab)use their major number.
* Fixed a memory leak.ru2004-01-181-0/+1
| | | | Reported by: Stanford Metacompilation research group
* White space cleanupps2003-12-131-70/+66
|
* Correct the READ/WRITE CDB direction definition.ps2003-12-081-2/+2
| | | | Submitted by: John Cagle <john.cagle@hp.com>
* Define RAID 5+1 and RAID ADG fault tolerancesps2003-12-082-0/+6
|
* Add PCID for 6i controllerps2003-11-071-0/+1
| | | | Submitted by: John Cagle <john.cagle@hp.com>
* Print the correct logical drive lun number returned by the controller.ps2003-10-151-1/+2
|
* Quiet down boot verbose and allow commands to be submitted to a targetps2003-09-081-2/+1
| | | | | which does not have a volume attached. This will stop cam from retrying a bunch of time at boot for devices which do not exsist.
* Prefer new location of pci include files (which have only been in theimp2003-08-221-2/+2
| | | | | tree for two or more years now), except in a few places where there's code to be compatible with older versions of FreeBSD.
* Support EINPROGRESS and properly deal with 64bit physical addressing.ps2003-08-121-24/+59
|
* Check the status of the user command and return the proper errorps2003-07-121-2/+10
| | | | to the user.
* Quiet down ciss unless bootverbose is set.ps2003-07-121-4/+4
|
* Mega busdma API commit.scottl2003-07-011-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Add two new arguments to bus_dma_tag_create(): lockfunc and lockfuncarg. Lockfunc allows a driver to provide a function for managing its locking semantics while using busdma. At the moment, this is used for the asynchronous busdma_swi and callback mechanism. Two lockfunc implementations are provided: busdma_lock_mutex() performs standard mutex operations on the mutex that is specified from lockfuncarg. dftl_lock() is a panic implementation and is defaulted to when NULL, NULL are passed to bus_dma_tag_create(). The only time that NULL, NULL should ever be used is when the driver ensures that bus_dmamap_load() will not be deferred. Drivers that do not provide their own locking can pass busdma_lock_mutex,&Giant args in order to preserve the former behaviour. sparc64 and powerpc do not provide real busdma_swi functions, so this is largely a noop on those platforms. The busdma_swi on is64 is not properly locked yet, so warnings will be emitted on this platform when busdma callback deferrals happen. If anyone gets panics or warnings from dflt_lock() being called, please let me know right away. Reviewed by: tmm, gibbs
* Give the correct size for the command map to busdma.ps2003-06-261-1/+1
|
* Fix off-by-one error in drive number check.phk2003-05-311-3/+3
| | | | | | Don't return(foo(...)) in function returning void. Found by: FlexeLint
* Make ciss usable under PAEps2003-05-211-1/+7
| | | | Approved by: re (scottl)
* Add support for the HP Smart Array 6400 EMps2003-04-031-3/+4
| | | | | Change the interrupt mask for the Smart Array 6xxx controllers after discussions w/ HP.
* Including <sys/stdint.h> is (almost?) universally only to be able to usephk2003-03-181-1/+0
| | | | | %j in printfs, so put a newsted include in <sys/systm.h> where the printf prototype lives and save everybody else the trouble.
* Centralize the devstat handling for all GEOM disk device driversphk2003-03-081-1/+0
| | | | | | | | in geom_disk.c. As a side effect this makes a lot of #include <sys/devicestat.h> lines not needed and some biofinish() calls can be reduced to biodone() again.
* Gigacommit to improve device-driver source compatibility betweenphk2003-03-031-14/+5
| | | | | | | | | | | | | branches: Initialize struct cdevsw using C99 sparse initializtion and remove all initializations to default values. This patch is automatically generated and has been tested by compiling LINT with all the fields in struct cdevsw in reverse order on alpha, sparc64 and i386. Approved by: re(scottl)
* Put cdevsw initialization on canonical format.phk2003-03-021-3/+14
|
* Back out M_* changes, per decision of the TRB.imp2003-02-191-2/+2
| | | | Approved by: trb
* Add some PCI device ID's from HPps2003-02-181-0/+4
|
* Properly get the drive geometry from the controller. This shouldps2003-02-053-10/+108
| | | | fix booting off of volumes > 255GB.
* Close a memory leak when rescanning the bus.ps2003-02-051-0/+1
|
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.alfred2003-01-211-2/+2
| | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
* Fix a bunch of warnings on 64 bit platforms in themux2002-10-272-4/+5
| | | | CISS_DEBUG case by appropriately using %z and %j.
* Fix a warning when CISS_DEBUG is defined.mux2002-10-271-1/+1
|
* Add a missing destroy_dev().mux2002-10-261-0/+2
|
* Be consistent about "static" functions: if the function is markedphk2002-09-281-1/+1
| | | | | | static in its prototype, mark it static at the definition too. Inspired by: FlexeLint warning #512
* use __packed.alfred2002-09-231-28/+28
|
* use __packed/__aligned rather than GCC-specific __attribute__.alfred2002-09-231-13/+13
|
* Replace (ab)uses of "NULL" where "0" is really meant.archie2002-08-221-1/+1
|
* - Set the maximum number of device transactions to what the driverps2002-04-291-7/+73
| | | | | | | | | | | | | | | is limiting it to, not what the device says it can handle. - cl_status is an integer. cl_lstatus is a pointer. - Add some debugging code to dump some things the driver knows about the adapter. - Tell CAM that the adapter can handle more commands when a command completes. This fixes the problem were the SIM would freeze once the driver hit the maximum number of transactions for the device. - Change the vendor string to COMPAQ. - Turn of Synchronize Cache for now. It locks the controller up. Approved by: msmith Obtained from: Yahoo!
* Fix the I/O performance issues with the ciss driver where CAM was limitingps2002-04-111-1/+2
| | | | | | the number of transactions the device could handle to 1. Obtained from: msmith
* Fix warning; line 1640: ciss_abort_request defined but not used.peter2001-12-181-0/+4
|
* Update to C99, s/__FUNCTION__/__func__/,obrien2001-12-101-2/+2
| | | | also don't use ANSI string concatenation.
* Catch up with the proc -> d_thread_t change.msmith2001-12-022-5/+13
|
* Add the 'ciss' driver, which supports the Compaq SmartRAID 5* family ofmsmith2001-11-274-0/+4616
RAID controllers (5300, 532, 5i, etc.) Thanks to Compaq and Yahoo! for support during the development of this driver. MFC after: 1 week
OpenPOWER on IntegriCloud