Subject: Re: Kingmax KEN0100-AF
To: Hayakawa Koichi <firstname.lastname@example.org>
From: Martin Husemann <email@example.com>
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.