summaryrefslogtreecommitdiffstats
path: root/sys/dev/aac/aacvar.h
Commit message (Collapse)AuthorAgeFilesLines
* Don't attach to Dell PERC2/QC cards that have a firmware rev of 1.x. Thisscottl2002-02-061-0/+2
| | | | | | | | check is complicated by the fact that the Adaptec 5400S cards claim to use 1.x firmware also. PERC2/QC 1.x firmware is not compatible with this driver and will cause a system hang. MFC after: 3 days
* Staticise the aac devclass.msmith2002-01-091-1/+0
|
* I missed a string concatenation.obrien2001-12-101-1/+1
|
* Update to C99, s/__FUNCTION__/__func__/,obrien2001-12-101-3/+3
| | | | also don't use ANSI string concatenation.
* BAH! Missed another change to this file.scottl2001-12-041-0/+4
|
* Bah, I missed this file on the last commitscottl2001-12-041-2/+2
|
* Add functionality and fix bugs so the driver will work with soon-to-bescottl2001-12-021-9/+16
| | | | | | | | | | | | | released management apps. 1. Implement poll(). This will check for queued aif's so that a subsequent ioctl call to retrieve the next aif will not block. 2. Don't catch signals when sleeping on a fib sent from userland. This causes a race and panic due to the pthread context switcher waking up the tsleep at inopportune times. 3. Fix some whitespace nits. MFC after: 3 days
* Bring the aac driver *much* closer to style(9).scottl2001-09-051-199/+201
| | | | Reviewed by: ken
* Mega update to the aac driver.scottl2001-08-291-7/+47
| | | | | | | | | | | | | | 1. Correctly handle commands initiated by the adapter. These commands are defered to a kthread responsible for their processing, then are properly returned to the controller. 2. Add/remove disk devices when notified by the card that a container was created/deleted/offline. 3. Implement crashdump functionality. 4. Support all ioctls needed for the management CLI to work. The linux version of this app can be found at the Dell or HP website. A native version will be forthcoming. MFC-after: 4.4-RELEASE
* Bugfixes. Close a race and logic bug in the timeout handling, don't call thescottl2001-08-051-0/+29
| | | | | | | | | interrupt handler from the upper half, etc. This fixes some serious stability problems that we were seeing on our production server. These patches have been tested for almost 6 months and are a highly recommended MFC candidate. Reviewed by: gibbs, merry, msmith MFC after: 4 days
* Reformat for 80 columns. Sorry, but I had to do it.scottl2001-08-031-44/+73
|
* This is an MFC candidate.gibbs2001-03-171-0/+2
| | | | | | | | | | | | Add the AAC_DEBUG option to enable debugging in the aac driver. Correct a race condition in the interrupt handler where the controller may queue a fib to a response queue after the driver has serviced the queue but before the interrupt is cleared. This could leave a completed fib stranded in the response queue unless another I/O completed and generated another interrupt. Reviewed by: msmith
* Major bugfix and minor update. This should resolve the current issuesmsmith2000-12-271-136/+150
| | | | | | | | | | | | | | | | | | | | | | | | | with the driver locking up under load. - Restructure so that we use a static pool of commands/FIBs, rather than allocating them in clusters. The cluster allocation just made things more complicated, and allowed us to waste more memory in peak load situations. - Make queueing macros more like my other drivers. This adds queue stats for free. Add some debugging to take advantage of this. - Reimplement the periodic timeout scan. Kick the interrupt handler and the start routine every scan as well, just to be safe. Track busy commands properly. - Bring resource cleanup into line with resource allocation. We should now clean up correctly after a failed probe/unload/etc. - Try to start new commands when old ones are completed. We weren't doing this before, which could lead to deadlock when the controller was full. - Don't try to build a new command if we have found a deferred command. This could cause us to lose the deferred command. - Use diskerr() to report I/O errors. - Don't bail if the AdapterInfo structure is the wrong size. Some variation seems to be normal. We need to improve our handing of 2.x firmware sets. - Improve some comments in an attempt to try to make things clearer. - Restructure to avoid some warnings.
* Convert all users of fldoff() to offsetof(). fldoff() is badphk2000-10-271-7/+0
| | | | | | | | | | | | | | | | | | | | | | | because it only takes a struct tag which makes it impossible to use unions, typedefs etc. Define __offsetof() in <machine/ansi.h> Define offsetof() in terms of __offsetof() in <stddef.h> and <sys/types.h> Remove myriad of local offsetof() definitions. Remove includes of <stddef.h> in kernel code. NB: Kernelcode should *never* include from /usr/include ! Make <sys/queue.h> include <machine/ansi.h> to avoid polluting the API. Deprecate <struct.h> with a warning. The warning turns into an error on 01-12-2000 and the file gets removed entirely on 01-01-2001. Paritials reviews by: various. Significant brucifications by: bde
* First attempt at timeouts for bio commands sent to the controller. No retry isscottl2000-10-221-0/+1
| | | | | attempted right now; the failure is merely passed up. This may help with the mysterious lockups seen by some with Pablano controllers.
* A new driver for PCI:SCSI RAID controllers based on the Adaptec FSAmsmith2000-09-131-0/+451
design. This includes integrated Dell RAID controllers, the Dell PERC 2/QC and the HP NetRAID-4M.
OpenPOWER on IntegriCloud