summaryrefslogtreecommitdiff
path: root/sys/scsi
AgeCommit message (Expand)Author
2010-01-11dlg@ lost the SCSI_IGNORE_ILLEGAL_REQUEST flag on all SYNCHRONIZE_CACHEKenneth R Westerback
2010-01-11Bring mutex protections to ststart, cdstart and ssstart, as alreadyKenneth 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-10Restore delay on XS_BUSY result, just in case it is needed somewhere. PolishKenneth R Westerback
2010-01-10Set ITSDONE in scsi_done() and zap trivial instances of setting itKenneth R Westerback
2010-01-09panic with a nice message if scsi_xs_sync_done gets called twiceDavid Gwynne
2010-01-09dont try to prevent multiple concurrent runs of a devices start routineDavid Gwynne
2010-01-09always try to restart io on a device when an opening is made available fromDavid Gwynne
2010-01-07warn if scsi_done has been called twice on an xs in the scsi_xs_sync pathDavid Gwynne
2010-01-05only call disk_unbusy when we're finished with the io (or we're requeuingDavid Gwynne
2010-01-04nothing in the midlayer cares about ITSDONE anymore. if a command is done,David Gwynne
2010-01-04introduce scsi_xs_sync. this will synchronously execute a scsi_xferDavid Gwynne
2010-01-03disk cache mode pageDavid Gwynne
2010-01-03scsi_done sets ITSDONE, we dont have to do it.David Gwynne
2010-01-02move the buf handling from using scsi_scsi_cmd over to scsi_xs_exec. iDavid Gwynne
2010-01-01If you want to use atomic ops, you need to #include the proper files insteadMiod Vallat
2010-01-01deck chair shufflingDavid Gwynne
2010-01-01split the flags used in a scsi_link structure to represent its state atDavid Gwynne
2009-12-26move st over to the new midlayer.David Gwynne
2009-12-16nothing needs to see cd_softc except the driver, so move it into cd.cDavid Gwynne
2009-12-13remove #ifdef CDDA bits cos nothing in cd.c uses it and nothing i can findDavid Gwynne
2009-12-13prefix all softc members with sc_, not just most of them.David Gwynne
2009-12-13use sc consistently as the name of the pointer to the softc variable, notDavid Gwynne
2009-12-12move cd(4) from using scsi_scsi_cmd over to scsi_xs_exec for doing io.David Gwynne
2009-12-09Nuke stray comment referencing deceased TRY_AGAIN_LATER that dlg@Kenneth R Westerback
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-06SCSI_USER is deprecated. the ioctl handlers arent special with regard toDavid Gwynne
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-06nitems(array) is prettier than sizeof(array)/sizeof(array[0])David Gwynne
2009-12-06whitespace tweaksDavid Gwynne
2009-12-06ansify dvd functions a bit.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-22Remove only use in the tree of ESCAPE_NOT_SUPPORTED. Which, ironically,Kenneth R Westerback
2009-11-22Nuke TRY_AGAIN_LATER now that no driver returns it.Kenneth R Westerback
2009-11-12revert midlayer back to it was before i put my big rewrite in. this isDavid Gwynne
2009-11-10remove a stale comment from a previous revision of the diff iDavid Gwynne
2009-11-10dont compare devids when we dont have a devid to compare with.David 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-11-01Move IS[12]BYTEMSG and ISEXTMSG defines to a common place.Federico G. Schwindt
2009-10-27if (!ISSET(flags, SCSI_NOSLEEP)) return; else sleep(); is wrong.David Gwynne
2009-10-27Check return value of scsi_xs_get() in scsi_ioc_cmd() for NULL. ItKenneth R Westerback