tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ep driver



Hi,
I have recently upgraded a NetBSD/prep machine from 8.1 to 9.2 and the ep 
NIC no longer seems to work after the upgrade, it worked in previous 7 
and 8 versions. The NIC is a 3Com 3c515-TX (ISA 10/100). Here are a few 
dmesg segments from different kernel versions for this card:

For 7.1.1_PATCH:
isapnp0: read port 0x203
ep0 at isapnp0 port 0x280/32 irq 5 drq 3
ep0: 3Com Fast EtherLink ISA
ep0: address xx:xx:xx:xx:xx:xx, 64KB word-wide FIFO, 1:1 Rx:Tx split
ukphy1 at ep0 phy 24: OUI 0x1000e8, model 0x0000, rev. 1
ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vmmask 73000000 schedmask 73000000 highmask 7f000000


For 8.1:
isapnp0: read port 0x203
...
ep0 at isapnp0 port 0x280/32 irq 11 drq 3
3Com Fast EtherLink ISA
ep0: address xx:xx:xx:xx:xx:xx, 64KB word-wide FIFO, 1:1 Rx:Tx split
nsphy0 at ep0 phy 24: DP83840 10/100 media interface, rev. 1
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vmmask 71400000 schedmask 71c00000 highmask 7fc00000


For 9.2:

[     1.000000] isapnp0: read port 0x203
[     1.000000] ep0 at isapnp0 port 0x280/32 irq 5 drq 3
[     1.000000] 3Com Fast EtherLink ISA
[     1.000000] ep0: autoconfiguration error: wrote 0x7ff to 
TX_AVAIL_THRESH, read back 0x0. Interface disabled
[     1.000000] vmmask 73000000 schedmask 73000000 highmask 7f000000

The error message originates from line 382 in this file:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/ic/elink3.c?
annotate=1.152&only_with_tag=MAIN

and figure something happened between these two revisions:
--- src/sys/dev/ic/elink3.c	2018/07/26 23:55:29	1.140.8.1 
netbsd-8-1-RELEASE
+++ src/sys/dev/ic/elink3.c	2019/05/29 06:17:28	1.149 netbsd-9-2-
RELEASE

Does anyone have any idea what's going on here?



Home | Main Index | Thread Index | Old Index