summaryrefslogtreecommitdiff
path: root/sys/scsi/cd.h
AgeCommit message (Collapse)Author
2007-05-27add more struct/define stuff for use in cdioMichael Coulter
ok krw@
2006-12-12Give the SCSI layer the ability to requeue i/o's rejected by a driverKenneth R Westerback
using the new NO_CCB result. Currently a no-op since no driver produces that result. ok dlg@ marco@ deraadt@
2006-07-19Add cd_powerhook(). Use it to lock CD drives having open partitionsKenneth R Westerback
when PWR_RESUME occurs. The drives may have forgotten they were locked. Noted and original diff by Alexey Vatchenko. "I agree with the intent." miod@ "Looks acceptable." deraadt@
2006-06-02add structs and macros for a few MMC commandsMichael Coulter
ok krw@
2006-05-11Zap trailing whitespace.Kenneth R Westerback
2006-03-05Remove NetBSDism NRND. Pointed out by Mickey.Kenneth R Westerback
ok miod@ marco@
2005-08-03Move a couple of 2048+4 byte structures from the stack to the heap.Kenneth R Westerback
Create structures to eliminate 2048+4 magic number everywhere. Mostly adapted from NetBSD. tested by sturm@, beck@. ok beck@
2005-07-02Remove unused cd_softc.name field. Use the saved INQUIRY data inKenneth R Westerback
scsi_link to determine device type, rather than keeping a copy in sd_softc.type. Remove unused sd_softc.type field.
2005-06-27Zap unused member of cd_softc: sc_ops.Kenneth R Westerback
2005-06-08fix include for userland (tsk, tsk, krw).Marc Espie
okay pval, nits miod.
2005-06-03Move definitions of struct cd_softc{} and CDRETRIES from cdvar.h intoKenneth R Westerback
cd.h. Remove include of cdvar.h from cd.c. cdvar.h becomes expendable. No functional change.
2005-05-28Kill extra semi-colon. Amazing what lint can find ...Kenneth R Westerback
2005-05-27Convert cd code to new mode sense framework. Merge cd_scsi andKenneth R Westerback
cd_atapi into cd since code is now almost identical, and only affects volume adjusting ioctl's. Minor side effect of allowing cd_load_unload() attempts to scsi cd's as NetBSD does.
2005-04-16Nuke another unused structure.Kenneth R Westerback
1999-07-20Make acd redundant.Constantine Sapuntzakis
Mostly based on NetBSD-current