summaryrefslogtreecommitdiff
path: root/sys/scsi/sd.c
AgeCommit message (Expand)Author
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-08this makes the code in sdattach less dense by collapsing the flags we passDavid Gwynne
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
2008-06-21fgsch@ points out my last commit changed the retry limit for CD capacityKenneth 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-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-05-24SDEV_UMASS devices skip the mode page dance to set blksize. So initializeKenneth R Westerback
2008-05-09Lock in removable media while trying to determine the disk parameters. ThisKenneth R Westerback
2008-03-21USB Floppies are umass devices so we always use the default 63/255Kenneth R Westerback
2007-12-28massage the way vpds are defined. rename the page used for the devicesDavid Gwynne
2007-11-23if we cant fetch the serial then fill it with "(unknown)".David Gwynne
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-15Allow to pull out an usb stick with ffs filesystem while mountedAlexander Bluhm
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
2007-06-07in OpenBSD as all old BSD unix, RAW_PART always starts at 0, so noTheo de Raadt
2007-06-06now that all partition size/offsets are potentially 64-bit, change theTheo de Raadt
2007-06-05use six new macros to access & store the 48-bit disklabel fields relatedTheo de Raadt
2007-06-01Don't initialize d_partitions[RAW_DISK] just before callingKenneth R Westerback
2007-05-31Use 12 and 16 byte read/write commands as required by the size/lengthKenneth R Westerback
2007-04-28Fix comments above DISKMINOR uses. DISKMINOR provides minor not majorKenneth R Westerback
2007-04-26Use the standard DISKPART/DISKUNIT/etc. defines rather than identicalKenneth R Westerback
2007-04-14For devices unwilling or unable to report geometry, change the 'fake'Kenneth R Westerback
2007-04-13If a removable device refuses to process PREVENT_ALLOW to lock theKenneth R Westerback
2007-04-11Use a separate function to remove the buffers in sddetach.Alexander Bluhm
2007-04-10Name and cast all struct sd_softc *sd the same way. No binary change.Alexander Bluhm
2007-04-04sprinkle some ansification around.David Gwynne
2007-04-03implement the DK INFO ioctl so userland can query the disks product,David Gwynne
2007-02-21Don't unconditionally spin up SDEV_UMASS devices. They almostKenneth R Westerback
2007-02-12Don't need a 'return' just before exiting a function.Kenneth R Westerback
2007-02-03Make comment match code. ok pedroAlexander Bluhm
2006-12-21Fix some comment typos. 'immediatly' -> 'immediately', 'tranfer' ->Kenneth R Westerback
2006-12-12Give the SCSI layer the ability to requeue i/o's rejected by a driverKenneth R Westerback
2006-11-28rename scsibus_attach_args to scsi_attach_args. this can help avoidDavid Gwynne
2006-11-27more magic removalBob Beck
2006-11-27get rid of the rest of the asc/ascq magic codes in scsiBob Beck
2006-10-07make cd-roms retry forever while the device indicates that it isBob Beck
2006-07-29The version field of scsi_inquiry_data is not a simple numeric valueKenneth R Westerback
2006-07-23remove some scsi ioctls, most importantly the ones that can reprobe theDavid Gwynne
2006-07-13Eliminate scsi_link field 'scsi_version' and just use the INQUIRY dataKenneth R Westerback
2006-07-11the scsi_link structure contained a copy of the inquiry flags and the wholeDavid Gwynne
2006-05-18Test the state of a disk *after* spinning it up and not before. ThisKenneth R Westerback
2006-05-11Zap trailing whitespace.Kenneth R Westerback
2006-03-15Nuke dk_establish(), no longer used.Miod Vallat