Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Bring last drivers fully into the NO_CCB world by replacing | 2009-11-22 | 1 | -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@ | 2009-09-04 | 1 | -1/+13 | ||
| | ||||||
* | Extend the scsi_adapter minphys() callback to take a struct scsi_link * | 2009-02-16 | 1 | -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. | 2008-11-24 | 1 | -2/+2 | ||
| | | | | "I'm all for it." marco@ "Yeah" deraadt@ | |||||
* | More easy bzero() -> M_ZERO. Use 'p = malloc(sizeof(*p) ...'. | 2007-10-01 | 1 | -5/+3 | ||
| | ||||||
* | ctob is gone, use ptoa | 2007-09-02 | 1 | -2/+2 | ||
| | | | | tested by ckuethe | |||||
* | missing include and also use time_uptime as art suggested; compiles now | 2007-03-20 | 1 | -8/+9 | ||
| | ||||||
* | - struct scsibus_attach_args; | 2006-12-18 | 1 | -2/+2 | ||
| | | | | | | + struct scsibus_attach_args saa; OK miod@. | |||||
* | give scsi controllers a real attach args to fill in when attaching scsibus. | 2006-11-28 | 1 | -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@ | 2006-07-21 | 1 | -20/+5 | ||
| | ||||||
* | remove function prototypes for a few functions removed in rev 1.25. | 2006-04-28 | 1 | -5/+1 | ||
| | | | | ok krw@ | |||||
* | Add support for the Adaptec RAID-On-Chip architecture. This in turn | 2006-04-22 | 1 | -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, argument | 2006-04-20 | 1 | -2/+2 | ||
| | | | | order reversed, wrong modifiers. ok deraadt@ marco@ mickey@ | |||||
* | typos from alexey dobriyan; | 2006-02-06 | 1 | -12/+12 | ||
| | | | | ok mickey marco mbalmer niklas brad | |||||
* | Don't retry unsupported SCSI commands, causing large delays during | 2005-12-13 | 1 | -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 is | 2005-12-03 | 1 | -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. | 2005-11-18 | 1 | -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 sd | 2005-09-15 | 1 | -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. | 2005-08-24 | 1 | -1/+6 | ||
| | | | | ok deraadt@ | |||||
* | Parameter being passed __func__ must be const char *. Allows aac to | 2005-08-21 | 1 | -3/+3 | ||
| | | | | | | compile with AAC_DEBUG set. ok deraadt@ | |||||
* | Fix data_length values in simulationed MODE SENSE page 4 responses so | 2005-07-03 | 1 | -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 stuff | 2005-05-26 | 1 | -14/+1 | ||
| | | | | ok jason@ | |||||
* | Remove errant ';' at end of if() statement that was causing pre-mature | 2004-03-20 | 1 | -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. | 2004-01-10 | 1 | -1/+3 | ||
| | ||||||
* | remove uvm_extern.h | 2004-01-09 | 1 | -3/+1 | ||
| | | | | | | tested on alpha, i386, powerpc, sparc64, m68k. ok miod@ | |||||
* | - drop number of openings by 4 to avoid "not queued" errors. | 2003-09-02 | 1 | -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. | 2003-04-27 | 1 | -4/+5 | ||
| | ||||||
* | From FreeBSD: check for FIFO becoming unfull correctly, in the case of consumer index wrapping. | 2002-03-27 | 1 | -8/+16 | ||
| | | | | Improve an internal API. ok mickey@ | |||||
* | First round of __P removal in sys | 2002-03-14 | 1 | -51/+51 | ||
| | ||||||
* | doh, thanks mickey! | 2002-03-05 | 1 | -3/+3 | ||
| | ||||||
* | Deal gracefully with ccb starvation | 2002-03-05 | 1 | -7/+3 | ||
| | ||||||
* | Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary. | 2001-11-06 | 1 | -2/+2 | ||
| | | | | (Look ma, I might have broken the tree) | |||||
* | Switch everything to the new bus_dmamap_sync API. | 2001-11-05 | 1 | -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 the | 2001-09-21 | 1 | -3/+3 | ||
| | | | | correct order. | |||||
* | remove some of the redundant vm includes | 2001-08-12 | 1 | -2/+1 | ||
| | ||||||
* | Use the right target when checking for out of bounds. | 2001-07-04 | 1 | -1/+3 | ||
| | ||||||
* | Pastos from the inception | 2001-06-27 | 1 | -4/+4 | ||
| | ||||||
* | Move offsetof define into sys/param.h | 2001-04-06 | 1 | -4/+1 | ||
| | ||||||
* | better new timeouts | 2000-12-13 | 1 | -2/+5 | ||
| | ||||||
* | new timwouts; art@ ok | 2000-12-13 | 1 | -6/+10 | ||
| | ||||||
* | Adaptec "FSA" RAID driver | 2000-11-10 | 1 | -0/+1937 | ||