summaryrefslogtreecommitdiff
path: root/sys/dev/ic/twe.c
AgeCommit message (Collapse)Author
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