summaryrefslogtreecommitdiff
path: root/sys/scsi/cd.c
AgeCommit message (Expand)Author
2010-02-28If no TOC header is read, report EIO. Even if the command finishedKenneth 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-12bring sd.c r1.180 over to the other drivers now using the antisemaphore,David Gwynne
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-09dont try to prevent multiple concurrent runs of a devices start routineDavid Gwynne
2009-12-16nothing needs to see cd_softc except the driver, so move it into cd.cDavid 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-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-10-13Get rid of devact enum, substitute it with an int and coresponding defines.Paul Irofti
2009-08-13Replace the error strings that were being passed around with much simplerTheo de Raadt
2009-06-17Revert bufq's. this is inline with the major midlayer reverts thatThordur I. Bjornsson
2009-06-03add a flexible buffer queue (bufq) api, based on the never usedThordur I. Bjornsson
2009-02-16Extend the scsi_adapter minphys() callback to take a struct scsi_link *Miod Vallat
2009-01-10Add support for the volume buttons and for the eject button foundRobert Nagy
2008-08-01silence failures to run scsi_prevent. dmesg spam sucks.David Gwynne
2008-07-26deivce -> device typo fix in comment.Kenneth R Westerback
2008-06-22Replace MUSTEK_RETRIES, SCANJET_RETRIES and ST_RETRIES with 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-15Don't bypass partition bounds check for RAW_PART. We now guarantee thatKenneth R Westerback
2008-06-10Accidental commit. Clean up.Artur Grabowski
2008-06-10Buffer cache revampBob Beck
2008-05-27nuke unused lba2msf and msf2lba functions. krw@ ok.Federico G. Schwindt
2007-09-16MALLOC/FREE -> malloc/free, M_ZERO, extraneous casts,Kenneth R Westerback
2007-09-07The obvious bzero/memset -> M_ZERO changes.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-25ANSI-fication, minor KNF. No code change. My plane had power outletsKenneth 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-12Add cd_kill_buffers() as a separate function, like sd_kill_buffers()Kenneth R Westerback
2007-04-10``it's'' -> ``its'' when the grammar gods require this change.Miod Vallat
2007-04-10Always use idiom 'struct cd_softc *cd = (struct cd_softc *)self'. SpottedKenneth R Westerback
2007-02-03Make comment match code. ok pedroAlexander Bluhm
2006-12-23Add the ability to issue GPCMD_REPORT_KEY and GPCMD_SEND_KEY scsiKenneth 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