Subject: Re: Removing iTE IT87xxF code from the lm(4) driver (new it(4) driver)
To: Julio M. Merino Vidal <jmmv84@gmail.com>
From: Thomas E. Spanjaard <tgen@netphreax.net>
List: tech-kern
Date: 05/08/2006 12:03:04
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigC687B4DD522320D99E7F4C95
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Julio M. Merino Vidal wrote:
> On 5/8/06, Juan RP <juan@xtrarom.org> wrote:
>> On Sun, 7 May 2006 16:43:40 -0400
>> Thor Lancelot Simon <tls@rek.tjls.com> wrote:
>> > On Sun, May 07, 2006 at 09:43:10PM +0200, Juan RP wrote:
>> > > 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.
> And some other network cards might use these addresses too, as well as
> any other ISA peripheral I guess.  If it causes problems for some
> address, it is very likely that it will cause problems for others too.

Serial ports, ne(4), aria(4), ARCNET... and how are you to deal with LM 
devices on the same port?

Cheers,
-- 
         Thomas E. Spanjaard
         tgen@netphreax.net

--------------enigC687B4DD522320D99E7F4C95
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (NetBSD)

iD8DBQFEXzN86xCMwBJ+1+sRAxJDAKCC0QgFb5orUcq6J06p+AWJySQwFwCeNdll
NSTfuLgI8mhFmHkhp/hWA9E=
=ydm0
-----END PGP SIGNATURE-----

--------------enigC687B4DD522320D99E7F4C95--