Subject: Re: Removing iTE IT87xxF code from the lm(4) driver (new it(4) driver)
To: Thor Lancelot Simon <>
From: Quentin Garnier <>
List: tech-kern
Date: 05/08/2006 00:04:07
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, May 07, 2006 at 04:43:40PM -0400, Thor Lancelot Simon wrote:
> On Sun, May 07, 2006 at 09:43:10PM +0200, Juan RP wrote:
> >=20
> > Hi,
> >=20
> > 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.
> >=20
> > 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?

The alternative is simply to add a commented line to GENERIC.  That way
the user will only enable it if s/he wants to try it;  you don't always
know the address when you test.

Quentin Garnier - -
"When I find the controls, I'll go where I like, I'll know where I want
to be, but maybe for now I'll stay right here on a silent sea."
KT Tunstall, Silent Sea, Eye to the Telescope, 2004.

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.4.3 (NetBSD)