Subject: Re: Kingmax KEN0100-AF
To: Hayakawa Koichi <haya@ilink.sony.co.jp>
From: Martin Husemann <martin@duskware.de>
List: tech-kern
Date: 01/23/2002 02:31:28
> If all the AX88190-based cards decode only 10-bit i/o
> address lines, how about applying 10-bit mask such as
> 
> -	if ((last_liobase == psc->sc_pcioh.addr)
> +	if (((last_liobase & 0x3ff) == (psc->sc_pcioh.addr & 0x3ff))
> 	    || (last_liobase != new_liobase))
> 
> instead of removing it?

Very near: the card told us about the 10-bit decode (mask=a in the attach
line). We should use that to dynamically calculate the 0x3ff in your code.

Martin