Paul Saab
be241f79bb
Give the correct size for the command map to busdma.
2003-06-26 04:01:34 +00:00
Poul-Henning Kamp
777d1b3990
Fix off-by-one error in drive number check.
...
Don't return(foo(...)) in function returning void.
Found by: FlexeLint
2003-05-31 18:41:09 +00:00
Paul Saab
3284b9ee87
Make ciss usable under PAE
...
Approved by: re (scottl)
2003-05-21 07:17:06 +00:00
Paul Saab
9e7313bba7
Add support for the HP Smart Array 6400 EM
...
Change the interrupt mask for the Smart Array 6xxx controllers after
discussions w/ HP.
2003-04-03 20:09:27 +00:00
Poul-Henning Kamp
b4b138c27f
Including <sys/stdint.h> is (almost?) universally only to be able to use
...
%j in printfs, so put a newsted include in <sys/systm.h> where the printf
prototype lives and save everybody else the trouble.
2003-03-18 08:45:25 +00:00
Poul-Henning Kamp
60794e0478
Centralize the devstat handling for all GEOM disk device drivers
...
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.
2003-03-08 08:01:31 +00:00
Poul-Henning Kamp
7ac40f5f59
Gigacommit to improve device-driver source compatibility between
...
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)
2003-03-03 12:15:54 +00:00
Poul-Henning Kamp
715b1e0ab0
Put cdevsw initialization on canonical format.
2003-03-02 16:50:09 +00:00
Warner Losh
a163d034fa
Back out M_* changes, per decision of the TRB.
...
Approved by: trb
2003-02-19 05:47:46 +00:00
Paul Saab
2648ded594
Add some PCI device ID's from HP
2003-02-18 21:53:44 +00:00
Paul Saab
440baa08c3
Properly get the drive geometry from the controller. This should
...
fix booting off of volumes > 255GB.
2003-02-05 08:43:46 +00:00
Paul Saab
e010b6bc46
Close a memory leak when rescanning the bus.
2003-02-05 07:46:08 +00:00
Alfred Perlstein
44956c9863
Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.
...
Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
2003-01-21 08:56:16 +00:00
Maxime Henrion
4caad4e81d
Fix a bunch of warnings on 64 bit platforms in the
...
CISS_DEBUG case by appropriately using %z and %j.
2002-10-27 12:27:04 +00:00
Maxime Henrion
e6fccf7adf
Fix a warning when CISS_DEBUG is defined.
2002-10-27 12:05:11 +00:00
Maxime Henrion
a8cdde69c2
Add a missing destroy_dev().
2002-10-26 18:09:30 +00:00
Poul-Henning Kamp
37c841831f
Be consistent about "static" functions: if the function is marked
...
static in its prototype, mark it static at the definition too.
Inspired by: FlexeLint warning #512
2002-09-28 17:15:38 +00:00
Alfred Perlstein
4f492bfab5
use __packed.
2002-09-23 18:54:32 +00:00
Alfred Perlstein
744ae3e66a
use __packed/__aligned rather than GCC-specific __attribute__.
2002-09-23 06:35:33 +00:00
Archie Cobbs
4a6a94d8d8
Replace (ab)uses of "NULL" where "0" is really meant.
2002-08-22 21:24:01 +00:00
Paul Saab
d4aa427fd1
- Set the maximum number of device transactions to what the driver
...
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!
2002-04-29 21:46:09 +00:00
Paul Saab
2aa6b97298
Fix the I/O performance issues with the ciss driver where CAM was limiting
...
the number of transactions the device could handle to 1.
Obtained from: msmith
2002-04-11 09:28:09 +00:00
Peter Wemm
6197ca159f
Fix warning; line 1640: ciss_abort_request defined but not used.
2001-12-18 08:01:48 +00:00
David E. O'Brien
6e551fb628
Update to C99, s/__FUNCTION__/__func__/,
...
also don't use ANSI string concatenation.
2001-12-10 08:09:49 +00:00
Mike Smith
d3e4392c83
Catch up with the proc -> d_thread_t change.
2001-12-02 06:17:16 +00:00
Mike Smith
3a31b7eb32
Add the 'ciss' driver, which supports the Compaq SmartRAID 5* family of
...
RAID controllers (5300, 532, 5i, etc.)
Thanks to Compaq and Yahoo! for support during the development of this
driver.
MFC after: 1 week
2001-11-27 23:08:37 +00:00