IDE DMA and CD-ROM

Antti Andreimann (anttix@cyberix.edu.ee)
Sat, 28 Nov 1998 21:43:15 +0200


Hi!

Im really sorry if this question has already been discussed somewhere.
Im just new to this list and I couldn't dig myself through archives Yet.
The problem is following:
I have a Toshiba 32X CD-ROM Drive and Tomato Motherboard. The CD Does not
like DMA transfers. But IDE controller seems to be convinced othervise.
I can't just put hdparm -d0 /dev/cdrom to bootup scripts because when there's
no CD in the drive hdparm is unable to open the device. I can disable the DMA
in IDE driver but then it will disable DMA for all drives. Of course I can
re-enable it with hdparm but it's annoying :-(
The BIG question: Is there a way to tell ide driver that it should disable DMA
for one drive only at bootup? I didn't find a clue about DMA related options
in Documentation/ide.txt :-(

-- 
========================================================================
            \||||||||||/                    Antti Andreimann
          \||||||||||||||/                  nickname: Cyber
       \|||||||||||||||||\                  anttix@cyberix.edu.ee
       /||||||||||||||||0\__@     ______    
       /|||||||||||||||||__/     (______)   Linux: Because rebooting is 
        \||||||||||||||||/          {}          for adding new hardware
(c)siil    L L       L L           _||_     No >90K messages please.
========================================================================

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/