Subject: Re: Removing iTE IT87xxF code from the lm(4) driver (new it(4)
To: None <email@example.com>
From: Juan RP <firstname.lastname@example.org>
Date: 05/08/2006 00:08:49
On Sun, 7 May 2006 16:43:40 -0400
Thor Lancelot Simon <email@example.com> wrote:
> On Sun, May 07, 2006 at 09:43:10PM +0200, Juan RP wrote:
> > Hi,
> > I've adapted the it(4) driver from OpenBSD to work on NetBSD/envsys.
> > There is one improvement as well, for example this driver does not
> > need to specify the port address on the kernel config anymore.
> > The IT87xxF driver can be located at the 0x280, 0x290, 0xc00 and 0xd00
> > port addresses, so I've added code to check in these addresses.
> Generally, it's not a great idea to poke (or even peek) around on the
> ISA bus looking for a device, because other things at those addresses
> might object. In particular, 0x280 is a common address for ISA
> Ethernet cards. Are you *sure* the probe is nondestructive?
Looks like the check for the 0x280 port address might be problematic, because
there are some network cards using same address. I removed it from the code,
anyway I've only seen IT87xxF hw on 0x290, 0xc00 or 0xd00.