Subject: Re: How to install ide CD-ROM (detailed description)
To: None <netbsd-help@NetBSD.ORG>
From: Zdenek Salvet <salvet@horn.ics.muni.cz>
List: netbsd-help
Date: 01/29/1997 18:18:33
> Ten steps to an ATAPI CDROM under NetBSD 1.2:
> (1) Obtain atapi.tar.gz from ftp://ftp.netbsd.org/pub/NetBSD/arch/i386/
> Thanks to <golding@alpha.fdu.edu> for providing me with this URL.
> The canonical site for this driver seems to be ftp://ftp.ensta.fr/pub/NetBSD/atapi
> (2) Unpack the file somewhere (I used /tmp).
> (3) cd /usr ; patch </tmp/diffs-current
> (4) Some files get left in /usr that should be elsewhere... maybe I
> have poor patching skills, or something??  Anyway, I fixed this by:
>     mkdir /usr/src/sys/atapi
>     mv ata* acd.c files.atapi /usr/src/sys/atapi
>     mv wd* /usr/src/sys/dev/isa
> (5) The patch changed the GENERICADP kernel config file; I am using
> one with a different name.  So, edit your kernel config file so that
> the part concerning IDE controllers reads:

> wdc0	at isa? port 0x1f0 irq 14       # ST506, ESDI, and IDE controllers
> wdc1	at isa? port 0x170 irq 15       # Make sure this IRQ is explicitly set! JM
> wd*	at wdc? drive ?
> 
> atapibus* at wdc?                       # Support for ATAPI added.  JM 22 Jan 97
> acd* at atapibus?                       # Look for ATAPI CDROM drives.  JM 22 Jan 97
> 

x) Create device files:
brw-r-----  1 root  operator   18,   0 Sep  2 13:51 /dev/acd0a
crw-r-----  1 root  operator   21,   0 Sep  2 13:25 /dev/racd0a


-- 
Zdenek Salvet                                              salvet@ics.muni.cz 
----------------------------------------------------------------------------
           If God had meant for us to be in the Army,
         we would have been born with green, baggy skin.