Subject: Re: A single 3Com 3c905C-TX has lots of different MAC addresses!
To: Masanori Kanaoka <kanaoka@ann.hi-ho.ne.jp>
From: Frank van der Linden <fvdl@wasabisystems.com>
List: port-i386
Date: 05/10/2001 12:13:52
On Thu, May 10, 2001 at 11:57:16AM +0900, Masanori Kanaoka wrote:
> I have a same card and usually use with NetBSD-current(1.5S).
> I try to use with 1.5.1_BETA kernel. I boot a few time. 
> ex0 get MAC address correctly and it works fine for me below:

The same card works for me too, but I did see some problems with
a 3c980.

> Index: elinkxl.c
> ===================================================================
> RCS file: /ftp/cvs/syssrc/sys/dev/ic/elinkxl.c,v
> retrieving revision 1.34.2.3
> diff -u -r1.34.2.3 elinkxl.c
> --- elinkxl.c   2001/03/20 17:25:14     1.34.2.3
> +++ elinkxl.c   2001/05/10 01:35:56
> @@ -1689,7 +1689,7 @@
>  {
>         bus_space_tag_t iot = sc->sc_iot;
>         bus_space_handle_t ioh = sc->sc_ioh;
> -       int i = 100;
> +       int i = 1000;
>  
>         while (i--) {
>                 if (!(bus_space_read_2(iot, ioh, ELINK_W0_EEPROM_COMMAND) &
> 

I did think about this one, but if this would have failed, there
would have been a 'ex0: eeprom stays busy' message, which didn't
happen.

- Frank

-- 
Frank van der Linden                           fvdl@wasabisystems.com
======================================================================
Quality NetBSD CDs, Support & Service.   http://www.wasabisystems.com/