Subject: Secondary IDE channel no longer detected
To: None <current-users@netbsd.org>
From: Dave Huang <khym@azeotrope.org>
List: current-users
Date: 09/25/2003 02:50:50
I've got an old Dell Dimenson XPS P90, which has a rather bizarre IDE
configuration--the primary channel is on the PCI bus, and the
secondary channel is on the ISA bus. My kernel config has:

pciide* at pci? dev ? function ? flags 0x0000
wdc1    at isa? port 0x170 irq 15 flags 0x00

which used to probe as:

NetBSD 1.6U (DIMENSION) #1: Wed Jul  9 19:12:46 CDT 2003
[ ... ]
pciide0 at pci0 dev 1 function 0: PC Technology RZ1000 (rev. 0x01)
pciide0: hardware does not support DMA
pciide0: primary channel wired to compatibility mode
pciide0: primary channel interrupting at irq 14
wd0 at pciide0 channel 0 drive 0: <ST31720A>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 1625 MB, 3303 cyl, 16 head, 63 sec, 512 bytes/sect x 3329424 sectors
wd0: drive supports PIO mode 4, DMA mode 2
wd1 at pciide0 channel 0 drive 1: <Conner Peripherals 1080MB - CFS1081A>
wd1: drive supports 16-sector PIO transfers, LBA addressing
wd1: 1032 MB, 2097 cyl, 16 head, 63 sec, 512 bytes/sect x 2114180 sectors
wd1: drive supports PIO mode 4, DMA mode 2
pciide0: secondary channel wired to compatibility mode
pciide0: secondary channel ignored (other hardware responding at addresses)
[ ... ]
wdc1 at isa0 port 0x170-0x177 irq 15
atapibus0 at wdc1 channel 0: 2 targets
cd0 at atapibus0 drive 0: <ATAPI CD-ROM DRIVE 32X MAXIMUM, , 323P> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)

Now, I just get:
NetBSD 1.6ZC (DIMENSION) #0: Thu Sep 25 00:35:52 CDT 2003
[ ... ]
pciide0 at pci0 dev 1 function 0
pciide0: PC Technology RZ1000 (rev. 0x01)
pciide0: hardware does not support DMA
pciide0: primary channel wired to compatibility mode
pciide0: primary channel interrupting at irq 14
pciide0: secondary channel wired to compatibility mode
pciide0: secondary channel interrupting at irq 15
pciide0: secondary channel ignored (other hardware responding at addresses)
[ ... ]
wd0 at pciide0 channel 0 drive 0: <ST31720A>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 1625 MB, 3303 cyl, 16 head, 63 sec, 512 bytes/sect x 3329424 sectors
wd0: drive supports PIO mode 4, DMA mode 2
wd1 at pciide0 channel 0 drive 1: <Conner Peripherals 1080MB - CFS1081A>
wd1: drive supports 16-sector PIO transfers, LBA addressing
wd1: 1032 MB, 2097 cyl, 16 head, 63 sec, 512 bytes/sect x 2114180 sectors
wd1: drive supports PIO mode 4, DMA mode 2
wd0(pciide0:0:0): using PIO mode 4
wd1(pciide0:0:1): using PIO mode 4

No mention of wdc1 anywhere...
-- 
Name: Dave Huang         |  Mammal, mammal / their names are called /
INet: khym@azeotrope.org |  they raise a paw / the bat, the cat /
FurryMUCK: Dahan         |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 27 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++