summaryrefslogtreecommitdiff
path: root/sys/scsi/cd.c
AgeCommit message (Expand)Author
2005-06-11Elminate a few unnecessary casts by using union field names, bit of KNF.Kenneth R Westerback
2005-06-05Fix scsi_mode_select() and scsi_mode_select_big() to send just theKenneth R Westerback
2005-06-03Move definitions of struct cd_softc{} and CDRETRIES from cdvar.h intoKenneth R Westerback
2005-06-03Tweak scsi_do_mode_sense(). NetBSD was right and I was wrong. Sigh.Kenneth R Westerback
2005-05-27Don't bother issuing a MODE SELECT in cd_set_pa_immed() if we aren'tKenneth R Westerback
2005-05-27Convert cd code to new mode sense framework. Merge cd_scsi andKenneth R Westerback
2005-05-01Allow RAW_PART+S_IFCHR device opens to succeed even if media notKenneth R Westerback
2005-04-06De-register scsi.Kenneth R Westerback
2005-04-05Clean up some logic. Use better error handling for sd devices. BeKenneth R Westerback
2005-03-30Comment typo, minor knf. No code change.Kenneth R Westerback
2004-05-09Add missing <cr>'s to various SC_DEBUG() calls, along with a few otherKenneth R Westerback
2004-02-15new arg to disk_unbusy, to record separate read/write statistics.Ted Unangst
2003-11-07adress -> address, and a few more; all from Jonathon Gray;Jason McIntyre
2003-07-30reverse booleans so it's clear what we're looking for. ok krw@Ted Unangst
2003-05-18constify the quirck tables and fix the scsi_inqmatch() proto accordingly; krw...Michael Shalayeff
2003-05-17READ_CD_CAPCITY -> READ_CD_CAPACITY in comment.Kenneth R Westerback
2003-05-16Provide most if not all the support required for the usb changes NateKenneth R Westerback
2003-04-06The disklabel fields d_packname and d_typename are not null terminated stringsKenneth R Westerback
2003-01-17The end of the track is one frame before the first frame of the next trackJason Wright
2003-01-05spellingTheo de Raadt
2002-12-30Add new parameter to scsi_test_unit_ready(): retries number.Alexander Yurchenko
2002-06-09splassert a splbio assumption.Artur Grabowski
2002-06-08KISS. the spl variable doesn't have to be called s, but it make the code less...Artur Grabowski
2002-06-08splbio around biodoneArtur Grabowski
2002-05-23Signed/unsigned int bug caused lp->d_npartitions to be set to zero.Constantine Sapuntzakis
2002-03-14Final __P removal plus some cosmetic fixupsTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2002-02-01cdstrategy(): check that media is loaded before doing anything with theHans Insulander
2001-10-25Allow an empty cd to be opened (raw device/whole disk) primarily toDale Rahn
2001-06-22KNFTheo de Raadt
2000-07-18Update cd_size to handle failure of READ_CD_CAPACITY by returningConstantine Sapuntzakis
2000-04-18cd detachConstantine Sapuntzakis
2000-04-18sd and scsibus detachConstantine Sapuntzakis
2000-04-09Don't trust the TOC coming from the drive so much.Constantine Sapuntzakis
1999-11-12Use cdio.h instead of dvdio.hAngelos D. Keromytis
1999-11-11SCSI commands do not send data in both directions in the data phase.Constantine Sapuntzakis
1999-11-09Fix lengths of scsi cmdsAngelos D. Keromytis
1999-11-03bzero the right amount of memory; I think NetBSD has this problem too.Angelos D. Keromytis
1999-11-03Some DVD support, from NetBSD.Angelos D. Keromytis
1999-10-16another fix form csapuntzTheo de Raadt
1999-10-14read disklabels only from CDs that have a data track, spoofed labels fromTheo de Raadt
1999-09-25sorry, but the last two changes completely broke disklabel spoofing, which we...Theo de Raadt
1999-09-21Bug in the disklabel calculations fixed. Offsets were calculated inConstantine Sapuntzakis
1999-09-21For some reason unbeknownst to me, the old acd driver had a more advancedConstantine Sapuntzakis
1999-08-24Added type field to scsi_addr to reflect bus/device type (ATAPI or SCSI).Constantine Sapuntzakis
1999-08-10support DIOCRLDINFOTheo de Raadt
1999-07-21swap16_multi by niklas@cvs.openbsd.orgConstantine Sapuntzakis
1999-07-20Be more generous with timeout on cd_play_msfConstantine Sapuntzakis
1999-07-20Make acd redundant.Constantine Sapuntzakis
1999-04-01If READ_CD_CAPACITY fails, just use the 2048/400000 defaults since some CDR d...Todd C. Miller