summaryrefslogtreecommitdiff
path: root/sys/scsi
AgeCommit message (Expand)Author
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
2009-10-23if you're attempting to detach multiple devices (eg, many targets,David Gwynne
2009-10-22devices below the scsibus should all be detached via scsi_detach_lun.David Gwynne
2009-10-21use _lto8b to calculate 64 bit address. Fixes issue ckuethe saw at 2TBMarco Peereboom
2009-10-20"active" is an unused member of the scsi_link structure. i couldnt find anyDavid Gwynne
2009-10-14rework how devids are handled in the midlayer and mpath.David Gwynne
2009-10-13Get rid of devact enum, substitute it with an int and coresponding defines.Paul Irofti
2009-10-12avoid smashing the stack when we have sense data to return back to userlandDavid Gwynne
2009-10-12mask bits correctly in devid vpd for the PIDavid Gwynne
2009-09-14rework the scsi midlayer to start addressing some problems i haveDavid Gwynne
2009-09-02take advantage of workq_queue_task.David Gwynne
2009-08-27More iscsi defines needed.Claudio Jeker
2009-08-14Another change to make my life easier when parsing pdus.Claudio Jeker
2009-08-13make scsi_done set ITSDONE on the xs. this means hba drivers dont have toDavid Gwynne
2009-08-13More changes to make the parsing of those evil messages a bit easier.Claudio Jeker