Subject: Re: Secondary IDE channel no longer detected
To: None <current-users@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: current-users
Date: 09/27/2003 21:41:30
On Fri, Sep 26, 2003 at 09:28:02PM -0500, Dave Huang wrote:
> 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?

Maybe, I'll have a look in 3 days, when I'm back home.
Ping me again about it in case I forget.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 23 ans d'experience feront toujours la difference
--