Subject: Re: Same 3C509B NIC found twice
To: None <netbsd-users@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-users
Date: 06/18/2003 23:41:52
In article <3EF0D400.50705@vanramselaar.nl>,
Evert Jan van Ramselaar <evertjan@vanramselaar.nl> wrote:
>Hi there,
>
>I searched the archives for this, but that didn't give me any good answer...
>
>It seems that NetBSD 1.6.1 finds the same NIC twice at boot:
>
># dmesg | grep ^ep[01]
>ep0 at isa0 port 0x210-0x21f irq 9: 3Com 3C509 Ethernet
>ep0: address 00:50:da:36:fe:68, 8KB byte-wide FIFO, 5:3 Rx:Tx split
>ep0: 10baseT (default 10baseT)
>ep1 at isapnp0 port 0x220/16 irq 3
>ep1: 3Com 3C509B EtherLink III
>ep1: address 00:50:da:36:fe:68, 8KB byte-wide FIFO, 5:3 Rx:Tx split
>ep1: 10baseT (default 10baseT)
>
>This can probably be resolved by disabling PNP on the NIC (thanks to 
>Onno for pointing this out to me). Anyway, is this normal behaviour, or 
>have I hit a buglet?

Yes, or by creating a custom kernel that has ep* at isa disabled. It is
difficult to fix this, because:

1. we can't easily tell it is the same device...
2. the isapnp code resets the device...

christos


>System: Compaq Deskpro 2000 P120 (I know: yuck!)
>
>I just started exploring NetBSD yesterday and this is my first post to 
>this list, so please be kind... :o)
>
>-- 
>   Evert Jan van Ramselaar  <evertjan@vanramselaar.nl>
>   Van Ramselaar Info Tech  <http://www.vanramselaar.nl>
>
>
>