summaryrefslogtreecommitdiff
path: root/sys/scsi
AgeCommit message (Expand)Author
2009-06-03add a flexible buffer queue (bufq) api, based on the never usedThordur I. Bjornsson
2009-06-02did not issue scsi_inquire with EVPD flag for USB mass strage classYojiro Uo
2009-03-23actually follow rfc 3720, from Remco.David Gwynne
2009-02-16Extend the scsi_adapter minphys() callback to take a struct scsi_link *Miod Vallat
2009-02-16Don't try to SCSIDEBUG targets or luns >31 since we only have 32 bits toKenneth R Westerback
2009-02-16on some buses (eg sas and fc fabrics) the initiator id doesnt meanDavid Gwynne
2009-01-20Prevent unaligned access.Mark Kettenis
2009-01-10Get rid of eye-bleeding horror of casting pointers to u_long to addBob Beck
2009-01-10Add support for the volume buttons and for the eject button foundRobert Nagy
2009-01-10Don't try to cast an lvalue which is forbidden and something pcc, lint,Jonathan Gray
2008-11-26definition of the iscsi wire protocol stuff.David Gwynne
2008-11-10clean namespace a fair bit; wrap kernel-use-only structures and gunk inTheo de Raadt
2008-11-09workaround lack of struct proc. this whole mess must be cleaned out.Theo de Raadt
2008-09-22Do not return an uninitialized value on success in stclose().Miod Vallat
2008-09-12SCSI_DATA_UIO is never used. Code which checks for it is either dead orMiod Vallat
2008-09-06Return EIO when the residual is > xs->datalen, even if SCSI_SILENT isKenneth R Westerback
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-28zap some extra spaces and tabs.Federico G. Schwindt
2008-07-26Silence scsi_inquire_vpd() so devices that don't understand the necessaryKenneth R Westerback
2008-07-26deivce -> device typo fix in comment.Kenneth R Westerback
2008-07-22implement the fetching of a scsi devices "devid". recent hardware providesDavid Gwynne
2008-07-22tweak comment to reflect the new reality after my last change.David Gwynne
2008-07-21when probing a device the midlayer queries its inquiry data andDavid Gwynne
2008-07-08this makes the code in sdattach less dense by collapsing the flags we passDavid Gwynne
2008-07-05When SCSIDEBUG'ing, print data about to be written (for commandsKenneth R Westerback
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
2008-06-22Replace MUSTEK_RETRIES, SCANJET_RETRIES and ST_RETRIES with SCSI_RETRIES,Kenneth R Westerback
2008-06-21Oops. Forgot to actually change the retries in scsi_size() to SCSI_RETRIES.Kenneth R Westerback
2008-06-21fgsch@ points out my last commit changed the retry limit for CD capacityKenneth R Westerback
2008-06-21Eliminate cd_size() and use scsi_size() + tweaked cd_get_params()Kenneth R Westerback
2008-06-17Nuke unnecessary re-definition of READ_CAPACITY, scsi_read_capacity, andKenneth R Westerback
2008-06-15Treat SENSE_NOT_READY_INIT_REQUIRED sense errors the same asKenneth R Westerback
2008-06-15Don't bypass partition bounds check for RAW_PART. We now guarantee thatKenneth R Westerback
2008-06-14Nuke ADEV_NOTUR, always issue TEST UNIT READY to clear out power-upKenneth R Westerback
2008-06-13Merge show_scsi_xs() and show_scsi_cmd() and move invocation so theKenneth R Westerback
2008-06-10Accidental commit. Clean up.Artur Grabowski
2008-06-10Buffer cache revampBob Beck
2008-06-10When copying stuff from code that runs with interrupts enabled to codeKenneth R Westerback
2008-06-02Don't spew sense errors (e.g. 'media not present') when probing aKenneth R Westerback
2008-06-02Shrink scsi_mode_sense_buf to 254 bytes so ahci doesn't get upset atKenneth R Westerback
2008-05-27nuke unused lba2msf and msf2lba functions. krw@ ok.Federico G. Schwindt
2008-05-26Print SCSI initiator ID such that it is easier to spot configurationMark Kettenis
2008-05-24SDEV_UMASS devices skip the mode page dance to set blksize. So initializeKenneth R Westerback
2008-05-22zap useless comment block with no content.Jasper Lievisse Adriaanse
2008-05-12Fix device reference counting. Now that we try to support detachableKenneth R Westerback
2008-05-09Lock in removable media while trying to determine the disk parameters. ThisKenneth R Westerback
2008-05-09Oops. When detaching tape drives look for devices using 'stopen' notKenneth R Westerback
2008-04-24Say 'ATAPI' rather than 'SCSIn' for ATAPI devices found on (pseudo)Kenneth R Westerback
2008-04-10fix the macros that are used to read the devid vpd page.David Gwynne