summaryrefslogtreecommitdiff
path: root/sys/scsi/sd.c
AgeCommit message (Expand)Author
2011-04-08Since we don't print "drive offline" anymore, there is no need toKenneth R Westerback
2011-04-07Do not use NULL in integer comparisons. No functional change.Miod Vallat
2011-04-07'disk offline' is not helpful. Silence is golden.Kenneth R Westerback
2011-03-31- use nitems(); no binary change.Jasper Lievisse Adriaanse
2011-03-17use dma_alloc/dma_free instead of malloc to allocate buffers which needTheo de Raadt
2011-02-21If a spin up command can't be started becaause of a lack of openings,Kenneth R Westerback
2010-12-24Have sd(4) devices check for and respect read-only information theKenneth R Westerback
2010-09-24init err to 0 in sd_get_parms to avoid confusion when checking rigidDavid Gwynne
2010-09-22All users of physio(9) now pass NULL as the buf pointer argument, soMatthew Dempsky
2010-09-21Add a real DIOCGPDINFO, allowing access to the physical informationKenneth R Westerback
2010-09-20bufq_drain() does not need to be done in deactivate; we only needTheo de Raadt
2010-09-12Garbage collect rot_rate from disk_parms. No longer in disk label so noKenneth R Westerback
2010-09-11Be more ruthlessly consistent in variable names for blk/block ==Kenneth R Westerback
2010-09-10scsi_xsh_del the io handler in deactivate to prevent it from being run onDavid Gwynne
2010-09-08Introduce a disk_lookup() function which calls device_lookup(), beforeJoel Sing
2010-09-08Store a struct device pointer within struct disk and populate this whenJoel Sing
2010-09-01Restore compilability after bufq changesMiod Vallat
2010-09-01make struct bufq a member of the softc for devices that use it,David Gwynne
2010-08-31in the activate function, order the DVACT_ functions in the order theyTheo de Raadt
2010-08-28Garbage collect struct dkdriver.Matthew Dempsky
2010-08-03Don't attempt to set the read or write caches on usb disks. ItKenneth R Westerback
2010-07-07Pull out disk sort. I committed the wrong version of the diff and itMarco Peereboom
2010-07-06Enable FIFO IO for sd devices. This time committed against the actual tree.Marco Peereboom
2010-07-03Stop disk on suspend and start it again upon resume. Gets rid of the loudMark Kettenis
2010-07-01Die struct scsi_device! Die! Instead, save a pointer to the routineKenneth R Westerback
2010-07-01Restore setting xs->bp; fixes ncr(4) on VAX.Matthew Dempsky
2010-06-30Flush cache before suspend.Mark Kettenis
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