summaryrefslogtreecommitdiffstats
path: root/sys/dev/ic/aac.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Bring last drivers fully into the NO_CCB world by replacingkrw2009-11-221-2/+2
| | | | | | | | | | | TRY_AGAIN_LATER uses with equivalent NO_CCB. Eliminates confusion between the two as was always intended. buf I/O's that can't be started get pushed back onto the front of the queue and retried. Others get sent back to originator as failures. No more epi-cycle looping inside the SCSI midlayer hoping the problem goes away. Various testers, no objection from miod@ as vs(4) was tested by nick@.
* Missing scsi_done() in some error path returning COMPLETE; ok dlg@miod2009-09-041-1/+13
|
* Extend the scsi_adapter minphys() callback to take a struct scsi_link *miod2009-02-161-2/+2
| | | | | | as additional argument. This will allow intermediate layers between scsi devices such as sd and scsi host adapters to take appropriate action if necessary.
* Return NO_CCB instead of TRY_AGAIN_LATER when ccb's run out.krw2008-11-241-2/+2
| | | | "I'm all for it." marco@ "Yeah" deraadt@
* More easy bzero() -> M_ZERO. Use 'p = malloc(sizeof(*p) ...'.krw2007-10-011-5/+3
|
* ctob is gone, use ptoamartin2007-09-021-2/+2
| | | | tested by ckuethe
* missing include and also use time_uptime as art suggested; compiles nowmickey2007-03-201-8/+9
|
* - struct scsibus_attach_args;mpf2006-12-181-2/+2
| | | | | | + struct scsibus_attach_args saa; OK miod@.
* give scsi controllers a real attach args to fill in when attaching scsibus.dlg2006-11-281-2/+6
| | | | ok miod@ marco@ deraadt@
* properly report errors thru scsi layer and not bio that will be overwritten later by scsi no no error; tested by mesel and nate@mickey2006-07-211-20/+5
|
* remove function prototypes for a few functions removed in rev 1.25.brad2006-04-281-5/+1
| | | | ok krw@
* Add support for the Adaptec RAID-On-Chip architecture. This in turnbrad2006-04-221-1/+80
| | | | | | | | provides support for the Adaptec 2130S and 2230SLP adapters. From FreeBSD ok dlg@
* Fix various printf() issues: too many arguments, not enough arguments, argumentmiod2006-04-201-2/+2
| | | | order reversed, wrong modifiers. ok deraadt@ marco@ mickey@
* typos from alexey dobriyan;jmc2006-02-061-12/+12
| | | | ok mickey marco mbalmer niklas brad
* Don't retry unsupported SCSI commands, causing large delays duringkrw2005-12-131-9/+5
| | | | | | boot process. Same as done to gdt and ioprbs. ok nate@
* The first thing done when XXX_scsi_cmd() returns TRY_AGAIN_LATER iskrw2005-12-031-3/+1
| | | | | | | | to set xs->error to XS_BUSY. So it is pointless and misleading to set xs->error to XS_TIMEOUT, XS_DRIVER_STUFFUP or XS_BUSY just before returning TRY_AGAIN_LATER. No functional change.
* Major improvements to the aac(4) device driver.nate2005-11-181-1247/+2399
| | | | | | | | | | | | | - decouple the command structures from scsi structures, allowing non block oriented commands (e.g. management commands) to be built. - redesign the various command queues to remove race conditions and to allow commands from multiple sources to coexist in the system - move major processing of commands and messages to a dedicated kernel thread to avoid spending too long in the interrupt handler - add device data structures for various management commands to the header file Much code from FreeBSD
* Don't fake MODE SENSE page 4 info inside raid drivers, just let sdkrw2005-09-151-44/+3
| | | | | | | fake a geometry. Page 4 info does not get used for size information. Eliminate now unused union scsi_disk_pages. ok marco@ mickey@ pre-lock.
* Test xs->bp before de-referencing it. Initialize it to NULL, not 0.krw2005-08-241-1/+6
| | | | ok deraadt@
* Parameter being passed __func__ must be const char *. Allows aac tokrw2005-08-211-3/+3
| | | | | | compile with AAC_DEBUG set. ok deraadt@
* Fix data_length values in simulationed MODE SENSE page 4 responses sokrw2005-07-031-3/+4
| | | | | | | | | | | | | that scsi_do_mode_sense() accepts them. The data_length value does not include itself, and the pg_length value in a mode page does not include itself or the page_code fields. We were +1 on the former and -2 on the latter resulting in a data_length value that was too small by one. Eliminates 'mode sense page 5 not simulated' messages. ok marco@
* remove unused vtophys stuffmartin2005-05-261-14/+1
| | | | ok jason@
* Remove errant ';' at end of if() statement that was causing pre-matureaaron2004-03-201-2/+2
| | | | | | termination of the timeout loop in aac_sync_command(). Appears to only have affected attach/init time procedure. Thanks Marco Peereboom for testing, and ok'd by others.
* oops, revert change.brad2004-01-101-1/+3
|
* remove uvm_extern.hbrad2004-01-091-3/+1
| | | | | | tested on alpha, i386, powerpc, sparc64, m68k. ok miod@
* - drop number of openings by 4 to avoid "not queued" errors.fgsch2003-09-021-7/+13
| | | | | | | | - check return from aac_start() and return correctly in case we need to reschedule the watchdog. convervative fix from niklas@, prompted by several ppl. krw and deraadt ok.
* strcpy/sprintf cleanup of sys/dev. miod@, deraadt@ says to commit.ho2003-04-271-4/+5
|
* From FreeBSD: check for FIFO becoming unfull correctly, in the case of consumer index wrapping.niklas2002-03-271-8/+16
| | | | Improve an internal API. ok mickey@
* First round of __P removal in sysmillert2002-03-141-51/+51
|
* doh, thanks mickey!niklas2002-03-051-3/+3
|
* Deal gracefully with ccb starvationniklas2002-03-051-7/+3
|
* Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.miod2001-11-061-2/+2
| | | | (Look ma, I might have broken the tree)
* Switch everything to the new bus_dmamap_sync API.art2001-11-051-3/+5
| | | | | Most work by Wilbern Cobb <vedge@csoft.org> with some fixes from me, mickey@ and drahn@.
* Correct some pryntf() usage: get the correct number of arguments in themiod2001-09-211-3/+3
| | | | correct order.
* remove some of the redundant vm includesmickey2001-08-121-2/+1
|
* Use the right target when checking for out of bounds.niklas2001-07-041-1/+3
|
* Pastos from the inceptionniklas2001-06-271-4/+4
|
* Move offsetof define into sys/param.hcsapuntz2001-04-061-4/+1
|
* better new timeoutsmickey2000-12-131-2/+5
|
* new timwouts; art@ okmickey2000-12-131-6/+10
|
* Adaptec "FSA" RAID driverniklas2000-11-101-0/+1937