summaryrefslogtreecommitdiff
path: root/sys/scsi
AgeCommit message (Expand)Author
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
2008-03-21USB Floppies are umass devices so we always use the default 63/255Kenneth R Westerback
2007-12-29the scsi layer always had function pointers for asking the hba about aDavid Gwynne
2007-12-28massage the way vpds are defined. rename the page used for the devicesDavid Gwynne
2007-11-27typos; ok jmc@Martynas Venckus
2007-11-26let scsibus ask the adapter about a device before probing it. also allowDavid Gwynne
2007-11-25dont use the adapter_softc member of scsi_link as a softc anymore. theDavid Gwynne
2007-11-23if we cant fetch the serial then fill it with "(unknown)".David Gwynne
2007-11-22Ansi-fy.Kenneth R Westerback
2007-11-22Ooops. Don't de-reference st until after it has been pointed at theKenneth R Westerback
2007-11-16convert code over from sd.c, to let tapes discollect. Lucas StefanuttiTheo de Raadt
2007-11-11Revert useless textual optimization that resulted in 16 bytes beingKenneth R Westerback
2007-11-06Fix SDF_DIRTY handling, eliminate useless SDF_FLUSHING. The sd_flush()Kenneth R Westerback
2007-09-16A couple of obvious bzero() -> M_ZERO changes I missed.Kenneth R Westerback
2007-09-16MALLOC/FREE -> malloc/free, M_ZERO, extraneous casts,Kenneth R Westerback
2007-09-15Allow to pull out an usb stick with ffs filesystem while mountedAlexander Bluhm
2007-09-07The obvious bzero/memset -> M_ZERO changes.Kenneth R Westerback
2007-06-24rework sensor tasks to use the kernels generic workq rather than a specialDavid Gwynne
2007-06-23Implement disk sizes > 2^32-1. Code modelled on NetBSD.Kenneth R Westerback
2007-06-20b_cylinder does not need to be set on the callpath down into drivers.Theo de Raadt
2007-06-18avoid modification race in DIOCRLDINFO; ok krw miodTheo de Raadt
2007-06-08all drivers should spoof version 1 labelsTheo de Raadt