summaryrefslogtreecommitdiff
path: root/sys/scsi/sd.c
AgeCommit message (Expand)Author
2010-06-28Move disk_attach() to the end of the attach functions, at which point theJoel Sing
2010-06-24we cant rely on being able to sleep when dumping, so dont lose theDavid Gwynne
2010-06-16Always check both the return value of scsi_do_mode_sense() and theKenneth R Westerback
2010-06-15enable the write cache on disks during attach.David Gwynne
2010-06-15dont pass the dev_t from the scsi device drivers into the midlayer forDavid Gwynne
2010-06-11Restore an unusual XS_SENSE semantic that inadvertantly got lostKenneth R Westerback
2010-06-02bring back the SDF_WAITING waiting flag while adapters still implementDavid Gwynne
2010-05-26Trying this again. Mixing anoncvs with cvs is _not_ a good idea.Thordur I. Bjornsson
2010-05-20Simplify new disk cache code so simpler people can understand it.Kenneth R Westerback
2010-05-19remove unused flag.David Gwynne
2010-05-19add an ioctl that allows userland to get or set a disks read and writeDavid Gwynne
2010-05-18dont let sys/ioctl.h imply that you get the ioctls in dkio.h. thisDavid Gwynne
2010-04-30unbreak dumps on scsi disks.David Gwynne
2010-04-23Recycle unused disklabel fields in order to create a disklabel uniqueJoel Sing
2010-04-12i snuck fine grained locking into the midlayer as part of all theDavid Gwynne
2010-04-06cut sd over to using the new shiny scsi_xsh api. instead of pushing io ontoDavid Gwynne
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