summaryrefslogtreecommitdiff
path: root/sys/dev/atapi
AgeCommit message (Collapse)Author
1998-01-02add NOCAPACITY quirk for a sanyo? cdrom, reported by ian@darwinsys.comNiels Provos
1997-11-10yet another Sanyo quirkflipk
1997-11-05another Sanyo quirk; nihilis@physical.addiction.com; PR#343Theo de Raadt
1997-10-18avoid "no disklabel" error messagesTheo de Raadt
1997-09-11cd_play/acd_play() were replaced a while backTheo de Raadt
1997-08-19SANYO CRD-254P has AQUIRK_NOCAPACITYTheo de Raadt
1997-08-17Add quirk for MATSHITA CR-574, from Berndt Josef Wulf <wulf@ping.net.au>Todd C. Miller
1997-08-08Change the bounds_check_with_label API to also take a cpu_disklabelNiklas Hallqvist
reference for making transferral of meta-information possible from readdisklabel to bounds_check_with_label. The first (and maybe only) thing that will use this is the multi-disklabel-format code on the alpha where the labelsector is passed via cpu_disklabel so the label write-protection can work correctly no matter what label was found. Also use a new macro DKBAD to get at the dkbad field of the cpu_disklabel implementations that contain it. This too is for multi-disklabel architectures where the "bad" field can be inside a union. Use this macro as a means for a driver to check if an architecture supports dkbad constructs. Remove proto of bounds_check_with_label from all MD disklabel.h as it is in sys/disklabel.h. I have not been able to test the changes everywhere, if I break anything I apologize, and promise to fix it as soon as I become aware of it.
1997-07-07Get rid of the arch-dependent long typeNiklas Hallqvist
1997-07-04sync with manuel; atapibus needs flag.Jason Downs
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-06-06not all atapi cdroms can lock the door. todo: autodetectNiels Provos
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-11-23added const to second parameter of cfprint_t routineskstailey
1996-10-05[a]cd_play -> [a]cd_play_big. Say hello to cdio(1).Jason Downs
1996-09-12Add some spaces.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-06add my cd-rom to quirk table.... no other changes.Michael Shalayeff
hmmm, how BSDi do handle all this quirks w/o 'em ?
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-09Quirks for NEC 2Vi. I just had this play audio to me on the Amiga!Niklas Hallqvist
1996-08-08Shave some bytes never usedNiklas Hallqvist
1996-08-07It's silly to try and do the quirks table ala SCSI at this point; do itJason Downs
my way, instead.
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-16locator mess cleanupTheo de Raadt
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.