Hi,
I have a realtek ethernet card. The normal dmesg is this:
rl0: port 0xb400-0xb4ff mem 0xd900-0xd9ff irq 10
at device 11.0 on pci0
rl0: Ethernet address: 00:e0:7d:7d:cd:35
miibus0: on rl0
rlphy0: on miibus0
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
With the change to 8bit wide eeprom reads instead of the 6bit wide reads, the message
is now:
rl0: port 0xb400-0xb4ff mem 0xd900-0xd9ff irq 10
at device 11.0 on pci0
rl0: Ethernet address: 00:e0:7d:7d:cd:35
rl0: unknown device ID: 4a7
I changed if_rl.c to confirm that it really is the 6/8 bit change:
=== trinity(17)/usr/src/sys/pci # cvs diff if_rl.c
Index: if_rl.c
===
RCS file: /export5/full.src/src/sys/pci/if_rl.c,v
retrieving revision 1.49
diff -c -r1.49 if_rl.c
*** if_rl.c 2000/10/30 07:54:38 1.49
--- if_rl.c 2000/11/01 19:39:02
***
*** 896,903
--- 896,905
rl_reset(sc);
sc->rl_eecmd_read = RL_EECMD_READ_6BIT;
rl_read_eeprom(sc, (caddr_t)&rl_did, 0, 1, 0);
+ #ifdef notyet
if (rl_did != 8129)
sc->rl_eecmd_read = RL_EECMD_READ_8BIT;
+ #endif
This is not meant as a patch, just a trick for me to confirm it was the 6/8 bit change.
The change occured from 1.48 to 1.49 of if_rl.c
Regards,
Frank
--
~/.signature not found: wellknown error 42
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message