summaryrefslogtreecommitdiff
path: root/sys/scsi/sd.c
AgeCommit message (Expand)Author
2010-01-15Abstract and merge the manual buf queue manipulating functions intoKenneth R Westerback
2010-01-15Restore XS_BUSY delay behaviour for buf i/o. Same as for sync path.Kenneth R Westerback
2010-01-12dont let the antisemaphore clear the WAITING flag so NO_CCB doesnt causeDavid Gwynne
2010-01-11dlg@ lost the SCSI_IGNORE_ILLEGAL_REQUEST flag on all SYNCHRONIZE_CACHEKenneth R Westerback
2010-01-11Be as careful with sd/cd buf queue manipulations as was found necessary forKenneth R Westerback
2010-01-11Add mutex around work consuming loop in sdstart - this ensures that onlyBob Beck
2010-01-09dont try to prevent multiple concurrent runs of a devices start routineDavid Gwynne
2010-01-05only call disk_unbusy when we're finished with the io (or we're requeuingDavid Gwynne
2010-01-04introduce scsi_xs_sync. this will synchronously execute a scsi_xferDavid Gwynne
2009-12-07Re-enable SCSIDEBUG display of commands and data. Original diffKenneth R Westerback
2009-12-06Nuke SCSI_URGENT after removing its only use, in ncr53c9x.c. That useKenneth R Westerback
2009-12-06consistently refer to the softc pointer as sc, not sd.David Gwynne
2009-12-06biodone must be called at splbio.David Gwynne
2009-12-03prevent a completion interrupt pulling io of the buf queue and shoving itDavid Gwynne
2009-12-03set the length of the cdb when synchronising cache.David Gwynne
2009-12-01Mark disk as dirty when starting a write to it. Restores issuing ofKenneth R Westerback
2009-12-01properly handle all xs states that can be returned by an adapter in sd.David Gwynne
2009-12-01put the midlayer changes back in.David Gwynne
2009-11-12revert midlayer back to it was before i put my big rewrite in. this isDavid Gwynne
2009-11-10fix the NO_CCB handling i broke when working on simplifying the midlayer.David Gwynne
2009-11-10backout the backout marco did of my code because of the NO_CCB breakage.David Gwynne
2009-11-05The big diff dlg committed to the midlayer breaks NO_CCB andMarco Peereboom
2009-10-21use _lto8b to calculate 64 bit address. Fixes issue ckuethe saw at 2TBMarco Peereboom
2009-10-13Get rid of devact enum, substitute it with an int and coresponding defines.Paul Irofti
2009-09-14rework the scsi midlayer to start addressing some problems i haveDavid Gwynne
2009-08-13Replace the error strings that were being passed around with much simplerTheo de Raadt
2009-06-17Revert bufq's. this is inline with the major midlayer reverts thatThordur I. Bjornsson
2009-06-03add a flexible buffer queue (bufq) api, based on the never usedThordur I. Bjornsson
2009-02-16Extend the scsi_adapter minphys() callback to take a struct scsi_link *Miod Vallat
2008-08-24dont display disk geometry (cyls/heads/sectors) since it mostly lies theseDavid Gwynne
2008-08-01silence failures to run scsi_prevent. dmesg spam sucks.David Gwynne
2008-07-08this makes the code in sdattach less dense by collapsing the flags we passDavid Gwynne
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
2008-06-21fgsch@ points out my last commit changed the retry limit for CD capacityKenneth R Westerback
2008-06-15Treat SENSE_NOT_READY_INIT_REQUIRED sense errors the same asKenneth R Westerback
2008-06-15Don't bypass partition bounds check for RAW_PART. We now guarantee thatKenneth R Westerback
2008-06-10When copying stuff from code that runs with interrupts enabled to codeKenneth R Westerback
2008-06-02Don't spew sense errors (e.g. 'media not present') when probing aKenneth R Westerback
2008-05-24SDEV_UMASS devices skip the mode page dance to set blksize. So initializeKenneth R Westerback
2008-05-09Lock in removable media while trying to determine the disk parameters. ThisKenneth R Westerback
2008-03-21USB Floppies are umass devices so we always use the default 63/255Kenneth R Westerback
2007-12-28massage the way vpds are defined. rename the page used for the devicesDavid Gwynne
2007-11-23if we cant fetch the serial then fill it with "(unknown)".David Gwynne
2007-11-11Revert useless textual optimization that resulted in 16 bytes beingKenneth R Westerback
2007-11-06Fix SDF_DIRTY handling, eliminate useless SDF_FLUSHING. The sd_flush()Kenneth R Westerback
2007-09-15Allow to pull out an usb stick with ffs filesystem while mountedAlexander Bluhm
2007-06-23Implement disk sizes > 2^32-1. Code modelled on NetBSD.Kenneth R Westerback
2007-06-20b_cylinder does not need to be set on the callpath down into drivers.Theo de Raadt
2007-06-18avoid modification race in DIOCRLDINFO; ok krw miodTheo de Raadt
2007-06-08all drivers should spoof version 1 labelsTheo de Raadt