Subject: Re: Secondary IDE channel no longer detected
To: None <current-users@netbsd.org>
From: Dave Huang <khym@azeotrope.org>
List: current-users
Date: 09/26/2003 21:28:02
On Fri, Sep 26, 2003 at 08:43:22PM +0200, Manuel Bouyer wrote:
> Can you boot with wdcdebug_probe set to 0x10 ?
wdcdebug_mask, right?
It didn't show anything useful about wdc1; wdcprobe() was only being
called for pciide. I added some printf()s to wdc_isa.c, and found that
the call to bus_space_map() fails:
if (bus_space_map(ch.cmd_iot, ia->ia_io[0].ir_addr,
WDC_ISA_REG_NPORTS, 0, &ch.cmd_ioh))
goto out;
ia->io[0].ir_addr is 0x170, and WDC_ISA_REG_NPORTS is 8, which looks
correct to me. Perhaps the problem is that pciide is mapping those
ports, and not unmapping them after it decides that it shouldn't
control them?
--
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++