summaryrefslogtreecommitdiff
path: root/sys/dev/atapi/acd.c
AgeCommit message (Collapse)Author
1997-07-07Get rid of the arch-dependent long typeNiklas Hallqvist
1997-06-24Add AQUIRK_TUR, from manuel.Jason Downs
1997-06-15Automatically decide whether or not to disable door locks. Idea from provos.Jason Downs
1997-03-26deal with CD drives that indicate 2352 bytes per block...Theo de Raadt
1997-02-23Just some more KNFNiklas Hallqvist
1997-02-23Some KNF, but more important: fix disklabels for audio CDs +Niklas Hallqvist
preliminary support for multi-session CDs although the ISO9660 spoofing must be remade for that to really work.
1997-02-23Fix mem leak, count partitions (tracks) right for audio disklabels. ↵Niklas Hallqvist
Partition offset & sizes still worng in this case though.
1997-02-23Audio CDs were read as data CDs before, which broke audio.Niklas Hallqvist
This change fixes that and tries to make sane disklabels for audio disks, however it fails at that, but I think the fix is good enough to go in. Hopefully the disklabel will be really fixed tomorrow.
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-05if block size is > 2048, set it to 2048. atapi drives that lie!Theo de Raadt
1996-12-05call readdisklabel() in the same fashion as sd.c doesTheo de Raadt
1996-10-05[a]cd_play -> [a]cd_play_big. Say hello to cdio(1).Jason Downs
1996-09-11Remove unneeded quirk, and only print drive capabilities if it appears theJason Downs
device actually filled in the information.
1996-09-04make GCC 'appier and remove unused vars. Also fix retvalNiklas Hallqvist
and a debug printout
1996-09-04Pull in pieces of Manuel's patch6:Jason Downs
- At Milton Ngan's request, wdc now probes for atapi devices first, and then wd drives, because some old atapi devices were detected as ide drives. - Integration of Milton Ngan's fix for some 'wdc_atapi_intr: unknown phase 1' due to a timing problem. Some additional changes (like ADEV_* -> AQUIRK_*) for the sake of compatibility. Manuel's additional quirk type was added as well. I'm not sure I like the retry change to wdc.c; please let me know if anyone has any problems with their drives.
1996-08-09Pedant mode: avoid mixed signedness comparisons.Niklas Hallqvist
1996-08-08Shave some bytes never usedNiklas Hallqvist
1996-08-07bus.h using ATAPI, by niklas, plus a quirk table and some small fixes by me.Jason Downs
1996-08-06acd.c: Better support for drives that don't set themselves READY at boot;Jason Downs
atapi.h: fix a couple types that I missed.
1996-07-22Initial integration of pieces of Manuel's patch5. From the announce:Jason Downs
- integration of Milton Ngan's patch, which provide audio command support. ..with lots of cleaning up by me. Audio is still untested. This will change shortly.
1996-06-10* Keep the cappage in the acd_softc.Jason Downs
* If TYPE_DAD, and removable, assume it's a busted CD-ROM. * Print out some cappage data in attach, and other cosmetic changes.
1996-06-10Several changes:Jason Downs
* Implemented NetBSD PR#2529, adding ZIP 100. * Added MTIOCTOP support to acd, cd, and sd. * Implemented eject on close for acd, cd, and sd. `mt -f /dev/rcd0d offline' now ejects a mounted {acd|cd|sd} when it is unmounted.
1996-06-09Bug fix from Manuel.Jason Downs
1996-06-09acd.c: Removed some pointless code, cleaned up some more debug statements.Jason Downs
everything: added RCS ids.
1996-06-08Initial support ATAPI CD-ROMs.Jason Downs
Based on Manuel Bouyer's drivers.