summaryrefslogtreecommitdiff
path: root/sys/scsi/cd.c
AgeCommit message (Expand)Author
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
1998-10-05make DIOCGPDINFO equivalent to DIOCGDINFO for cd'sTodd C. Miller
1998-10-04Add DIOCGPDINFO supportTodd C. Miller
1998-10-03Add a "spoofonly" argument to readdisklabel() which will be used toTodd C. Miller
1998-07-13CDs can have up to 99 tracks, not 65 tracks. Use kernel heap instead of stackConstantine Sapuntzakis
1998-07-12fill in d_bbsize and d_sbsizeTheo de Raadt
1998-03-27Fix strncpy usage and call a cdrom a cdrom in the fake labelTodd C. Miller
1997-12-05argh. this darn little bugger made CDIOCREADSUBCHANNEL unuseable, thisNiels Provos
1997-10-18avoid "no disklabel" error messagesTheo de Raadt
1997-10-15make it compileNiels Provos
1997-09-11cd_play/acd_play() were replaced a while backTheo de Raadt
1997-08-31* Make scsi_do_ioctl() sane again.Jason Downs
1997-08-08Change the bounds_check_with_label API to also take a cpu_disklabelNiklas Hallqvist
1997-04-14Merge in various pieces of current NetBSD scsi code, including but not limitedJason Downs
1997-03-29Increase timeout by a factor of ten in cd_size().briggs
1997-03-26deal with CD drives that indicate 2352 bytes per block...Theo de Raadt
1997-01-04readdisklabel() with correct dev_tTheo de Raadt
1996-12-24deal with the 2340 lie in the right place, i thinkTheo de Raadt
1996-12-11b_resid cleanups, pointed out by minoura@kw.netlaputa.or.jp in netbsd pr#3007Theo de Raadt
1996-12-05call readdisklabel() in the same fashion as sd.c doesTheo de Raadt
1996-10-31$OpenBSD RCSIDs + comment fix in sd.cNiklas Hallqvist
1996-10-05[a]cd_play -> [a]cd_play_big. Say hello to cdio(1).Jason Downs
1996-08-16only safe ioctlTheo de Raadt
1996-08-07disk_unbusy if op failed to enqueueTheo de Raadt
1996-06-10Several changes:Jason Downs