summaryrefslogtreecommitdiffstats
path: root/sys/dev/ips/ips.h
Commit message (Collapse)AuthorAgeFilesLines
* while (0); -> while (0) in multi-line macrosimp2006-08-171-1/+1
|
* Separate the hardware definitions into ipsreg.h so they can be used byscottl2005-11-291-308/+5
| | | | future userland tools.
* Overhaul error handling in the IPS driver. Don't use a magic value forscottl2005-09-251-3/+29
| | | | | | | | | driver-induced errors, instead be better about propagating error status upwards. Add more error definitions, courtesy of the linux driver. Fix a command leak in the ioctl handler. Re-arrange some of the command handlers to localize error handling. MFC After: 3 days
* Remove bus_{mem,p}io.h and related code for a micro-optimization on i386nyan2005-05-291-1/+0
| | | | | | and amd64. The optimization is a trivial on recent machines. Reviewed by: -arch (imp, marcel, dfr)
* Add crashdump support to the ips driver. It only works for the more modernscottl2005-01-301-0/+3
| | | | | | | | | ServeRAID 4 - 7 models right now. Support for older cards is possible, but I don't have any hardware to experiment with. Thanks to Jack Hammer at Adaptec for providing debugging hints. Sponsored by: ImproWare AG, Switzerland
* Lock the IPS driver and bring it out from under Giant. Also do somescottl2005-01-281-15/+9
| | | | | | | | | | | | | | | | significant clean up and optimizations: - don't call bioq_disksort() on every command, the hardware will do that for us. - remove all of the complicated bio deferral code. bio's that can't be serviced immediately can just wait on the bioq. - Only reserve one command object for doing control commands to the card. This simplifies a lot of code and significantly reduces the size of the command struct. - Allocate commands out of a slab instead of embedding them into the softc. - Call the command action method directly instead of having ips_get_free_cmd() call it indirectly. MFC After: 1 week
* Do the dreaded s/dev_t/struct cdev */phk2004-06-161-1/+1
| | | | Bump __FreeBSD_version accordingly.
* Add missing <sys/module.h> includesphk2004-05-301-0/+1
|
* Use a unique malloc type rather than M_DEVBUF.scottl2004-05-301-0/+2
|
* Fix typo in the device id for the new cards.scottl2004-03-271-1/+1
|
* Add generic support for the recent Adaptec flavors of ServeRAID.scottl2004-03-191-0/+2
|
* Switch from using mutexes to using semaphores to protect against earlyscottl2004-02-281-2/+6
| | | | | | | completion of synchronous commands. Also switch to a per-array bioq as it appears to improve performance. Submitted by: mbr, imp.ch (bioq change)
* ServeRaid (at least 5i) didn't initialize correctly. To getmbr2003-11-271-2/+57
| | | | | | | | | | | | | | | | | | | | | them working (cache, automatic rebuild and hotswap) the FFDC info (First Failure Data Capture) on the adapter must be initialised. Logical drives in critical/degraded states weren't added to the drive list. FreeBSD was not able to see a degraded array after a reboot. Degraded drives are now also added to the drivelist and the state of the logical drive is given at boottime. The adapter type is detected from informations in nvram page 5 and displayed at boottime. Change IPS_OS_FREEBSD definition from 10 to 8 according to IBM specs. Submitted by: <Patrick Guelat> pgfb@imp.ch Reviewed by: mbr, scottl Approved by: re
* Delay most of the adapter initilization until after interrupts areps2003-09-111-0/+1
| | | | | | enabled. Tested by: Richard Puga <puga@mauibuilt.com>
* 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.
* - Zero the buffers used to hold configuration data from the card. Not doingscottl2003-06-261-1/+2
| | | | | | | | | | so can leave stale data in the buffer and confuse the driver. - enable the ability to set the 'disable' hint for the driver to keep it from attaching. i.e. 'hw.ips.0.disable=1' will prevent the driver from attaching. - Only detach if attach suceeded. Submitted by: mjacob
* Add the 'ips' driver for the IBM (now Adaptec) ServeRAID controllerscottl2003-05-111-0/+403
series. This driver was generously developed and released by David Jeffreys and Adaptec. I've updated it to work with 5.x and fixed a few bugs. MFC After: 1 week
OpenPOWER on IntegriCloud