Subject: Re: Kingmax KEN0100-AF
To: None <prlw1@newn.cam.ac.uk>
From: Hayakawa Koichi <haya@ilink.sony.co.jp>
List: tech-kern
Date: 01/22/2002 19:36:14
From: Patrick Welche <prlw1@newn.cam.ac.uk>
Subject: Kingmax KEN0100-AF
Date: Sat, 19 Jan 2002 20:03:03 +0000
Message-ID: <20020119200303.A29416@quartz.newn.cam.ac.uk>

 > Removing
 > 
 >    965          if ((last_liobase == psc->sc_pcioh.addr)
 >    966              || (last_liobase != new_liobase))
 > 
 > from if_ne_pcmcia.c,v 1.85 allows a Kingmax KEN0100-AF ethernet card to
 > work:

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?
-- 
HAYAKAWA Koichi