Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-09-20 | Use SSD_ERRCODE_CURRENT instead of magic 0x70. | Kenneth R Westerback | |
ok dlg@ matthew@ | |||
2010-06-28 | Remove all adapter-specific 'struct scsi_device's. They are never used. First | Kenneth R Westerback | |
step in elminating 'struct scsi_device' entirely. Spotted and initial diff from matthew@. ok matthew@ dlg@ deraadt@ marco@ miod@ | |||
2010-05-20 | New scsi code seems to be stable. Pluck previously identified | Kenneth R Westerback | |
low-hanging splbio/splx pairs that are no longer needed and see if this reveals any hidden scsi flaws. ok dlg@ | |||
2010-03-29 | Initialize various uninitialized variables. Found by jsg@ via Clang. | Kenneth R Westerback | |
Feedback from miod@ and kettenis@. ok beck@ | |||
2010-03-23 | Change the scsi_cmd function member of scsi_adapter from int to | Kenneth R Westerback | |
void. Use XS_NO_CCB error in the scsi command (xs) to report the NO_CCB condition. Eliminates all SUCCESSFULLY_QUEUED and COMPLETE confusion and untangles the midlayer from the adapter a bit more. Eyes and some fixes by miod@ There may be some compile issues on little used (i.e. I don't have any) drivers but the change is mechanical and thus easy to remedy. ok dlg@ | |||
2010-01-09 | Zap all setting of ITSDONE in drivers that don't look at it. Nobody | Kenneth R Westerback | |
else cares so it's just noise. Drivers that actually look at ITSDONE are unchanged. ok marco@ (for his files) dlg@ beck@ | |||
2009-11-22 | Bring last drivers fully into the NO_CCB world by replacing | Kenneth R Westerback | |
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@. | |||
2009-09-03 | must call scsi_done before returning complete. | David Gwynne | |
2009-02-16 | Extend the scsi_adapter minphys() callback to take a struct scsi_link * | Miod Vallat | |
as additional argument. This will allow intermediate layers between scsi devices such as sd and scsi host adapters to take appropriate action if necessary. | |||
2008-07-24 | the softc sc_lock lockmgr lock is unused, so remove it. | Thordur I. Bjornsson | |
ok krw@, dlg@ | |||
2007-10-20 | Call scsi_done() at SPLBIO. 'looks olright' says mickey. | Kenneth R Westerback | |
2006-12-29 | Avoid void * arithmetic, okay deraadt@, suggestions from millert@ | Pedro Martelletto | |
2006-11-28 | give scsi controllers a real attach args to fill in when attaching scsibus. | David Gwynne | |
ok miod@ marco@ deraadt@ | |||
2005-12-03 | The first thing done when XXX_scsi_cmd() returns TRY_AGAIN_LATER is | Kenneth R Westerback | |
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. | |||
2005-09-15 | Don't fake MODE SENSE page 4 info inside raid drivers, just let sd | Kenneth R Westerback | |
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. | |||
2005-07-03 | Fix data_length values in simulationed MODE SENSE page 4 responses so | Kenneth R Westerback | |
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@ | |||
2003-08-06 | Remove some double semicolons (hmm, do two semis equal a maxi?). | Todd C. Miller | |
I've skipped the GNU stuff for now. From Patrick Latifi. | |||
2003-06-02 | kill the caluses three and four on some of my code | Michael Shalayeff | |
2003-04-27 | strcpy/sprintf cleanup of sys/dev. miod@, deraadt@ says to commit. | Hakan Olsson | |
2003-04-09 | missing nl in the error msg and a return afterwards | Michael Shalayeff | |
2002-09-17 | deal w/ the dma in a special thread to follow the busdma semantics. this ↵ | Michael Shalayeff | |
fixes panics on unaligned physio; w/ help and testing from daniel@lucq.org | |||
2002-03-14 | First round of __P removal in sys | Todd C. Miller | |
2002-01-31 | scsi_done() is unsafe, rearrange locking to compensate | Michael Shalayeff | |
2001-12-06 | clear all inrterrupts separately and before enabling any. | Michael Shalayeff | |
this prevents stray interrupts and sometimes hangs, caused by looping on stray unmapped interrupt. | |||
2001-11-05 | Switch everything to the new bus_dmamap_sync API. | Artur Grabowski | |
Most work by Wilbern Cobb <vedge@csoft.org> with some fixes from me, mickey@ and drahn@. | |||
2001-09-24 | get rid of kvtop, not that it matters that much | Michael Shalayeff | |
2001-07-04 | case labels without statements are not permitted by ANSI C... and gcc 3.0 | Marc Espie | |
warns about them. | |||
2001-05-18 | stupidous debug was left enabled | Michael Shalayeff | |
2001-05-10 | dmamem_unmap the memory before dmamem_freeig it. | Michael Shalayeff | |
only affects unaligned transfers (such as disklabel, fsck and dump). we used to get away w/ this due to older pmap, uvm or both. be more precise w/ double-buffer on command failure as well. once at it, allow more than 1 segment for double-buffer to be allocated. also fix a couple of endianesses and command timeouts. | |||
2001-03-14 | it seems sometimes it takes up to 35 seconds to init; from Chris Kuethe ↵ | Michael Shalayeff | |
ckuethe@[[gecko.]math.]ualberta.ca | |||
2001-03-09 | missing twe_unlock for failed get_ccb() for i/o scsi cmd, which was ↵ | Michael Shalayeff | |
impossible to trigger in twese case because of how maxcmds is calculated | |||
2001-02-19 | propoer dmaable memory allocations | Michael Shalayeff | |
2001-01-07 | fix a few scsi_done() usages. | Michael Shalayeff | |
simplify locking a bit. disable write cache if said so in the scsi_xfer. a few more commands, from freebsd. | |||
2000-11-08 | oops, oops w/ no configured units | Michael Shalayeff | |
2000-11-07 | estimate sc_link.openings on the number of configured units | Michael Shalayeff | |
2000-09-25 | do not do queue locking in get/put_ccb, since calling blocks | Michael Shalayeff | |
have gotten it already locked appropriately. only try to satiate the command queue if there was a command interrupt, it seems it's quite well-behaving this way. dispose allocated resources if twe_attach() fails. | |||
2000-09-15 | forgot to turn off debugging | Michael Shalayeff | |
2000-09-15 | 3ware escalade ide raid controllers | Michael Shalayeff | |