summaryrefslogtreecommitdiff
path: root/sys/scsi
AgeCommit message (Expand)Author
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-04-06implement a new mechanism for allocating resources on the bus.David Gwynne
2010-04-03add support for emulating the disk characteristics and disk limits vpdDavid Gwynne
2010-03-23Change the scsi_cmd function member of scsi_adapter from int toKenneth R Westerback
2010-02-28If no TOC header is read, report EIO. Even if the command finishedKenneth R Westerback
2010-02-27Don't print sense info for ioctl's. Let the userland program decideKenneth R Westerback
2010-01-15Oops. Respect the various IGNORE flags when not in SCSIDEBUG mode.Kenneth R Westerback
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-14Print sense data during SCSIDEBUG again. Always print the decodedKenneth R Westerback
2010-01-14Tweak names a bit. show_mem -> scsi_show_mem, show_scsi_xs ->Kenneth R Westerback
2010-01-13Get new xs's with PR_ZERO to ensure all shiny new fields getKenneth R Westerback
2010-01-13Cookie or done is set on entry to scsi_xs_sync(). Take panic() outKenneth R Westerback
2010-01-13when checking an xs for errors, first check if the device the xs is forDavid Gwynne
2010-01-13scsi_xs_sync uses the xs cookie and done pointers, so users of scsi_xs_syncDavid Gwynne
2010-01-13Oops. Restore decrement of xs->retries I optimized away. Not everythingKenneth R Westerback
2010-01-13Fix SCSIDEBUG compiles.Kenneth R Westerback
2010-01-13typo in panic messagejoshua stein
2010-01-12bring sd.c r1.180 over to the other drivers now using the antisemaphore,David Gwynne
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-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