summaryrefslogtreecommitdiff
path: root/sys/dev/ic/twe.c
AgeCommit message (Collapse)Author
2007-10-20Call scsi_done() at SPLBIO. 'looks olright' says mickey.Kenneth R Westerback
2006-12-29Avoid void * arithmetic, okay deraadt@, suggestions from millert@Pedro Martelletto
2006-11-28give scsi controllers a real attach args to fill in when attaching scsibus.David Gwynne
ok miod@ marco@ deraadt@
2005-12-03The first thing done when XXX_scsi_cmd() returns TRY_AGAIN_LATER isKenneth 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-15Don't fake MODE SENSE page 4 info inside raid drivers, just let sdKenneth 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-03Fix data_length values in simulationed MODE SENSE page 4 responses soKenneth 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-06Remove 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-02kill the caluses three and four on some of my codeMichael Shalayeff
2003-04-27strcpy/sprintf cleanup of sys/dev. miod@, deraadt@ says to commit.Hakan Olsson
2003-04-09missing nl in the error msg and a return afterwardsMichael Shalayeff
2002-09-17deal 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-14First round of __P removal in sysTodd C. Miller
2002-01-31scsi_done() is unsafe, rearrange locking to compensateMichael Shalayeff
2001-12-06clear 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-05Switch 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-24get rid of kvtop, not that it matters that muchMichael Shalayeff
2001-07-04case labels without statements are not permitted by ANSI C... and gcc 3.0Marc Espie
warns about them.
2001-05-18stupidous debug was left enabledMichael Shalayeff
2001-05-10dmamem_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-14it seems sometimes it takes up to 35 seconds to init; from Chris Kuethe ↵Michael Shalayeff
ckuethe@[[gecko.]math.]ualberta.ca
2001-03-09missing 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-19propoer dmaable memory allocationsMichael Shalayeff
2001-01-07fix 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-08oops, oops w/ no configured unitsMichael Shalayeff
2000-11-07estimate sc_link.openings on the number of configured unitsMichael Shalayeff
2000-09-25do not do queue locking in get/put_ccb, since calling blocksMichael 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-15forgot to turn off debuggingMichael Shalayeff
2000-09-153ware escalade ide raid controllersMichael Shalayeff