Subject: kern/5495: "de" driver fails to probe ports on SMC 8434 correctly
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@lyssa.owl.de>
List: netbsd-bugs
Date: 05/25/1998 20:29:11
>Number:         5495
>Category:       kern
>Synopsis:       "de" driver fails to probe ports on SMC 8434 correctly
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 25 11:35:00 1998
>Last-Modified:
>Originator:     Matthias Scheler
>Organization:
Matthias Scheler                                http://home.owl.de/~tron/
>Release:        980520
>Environment:
System: NetBSD lyssa.owl.de 1.3E NetBSD 1.3E (LYSSA) #0: Thu May 21 12:21:12 MEST 1998 tron@lyssa.owl.de:/src/src/sys/arch/i386/compile/LYSSA i386


>Description:
NetBSD's "de" driver fails to probe the ports of a SMC 8434BT - two channel
DEC 21040-AA based ethernet board - correctly. Next to the two UTP ports the
board has two BNC ports but NetBSD's thinks it has two AUI ports.

Here is what the kernel says during system startup:
de0 at pci1 dev 4 function 0
de0: interrupting at irq 10
de0: SMC 8434BT-CH1 21040 [10Mb/s] pass 2.3
de0: address 00:00:c0:38:66:e0
de1 at pci1 dev 5 function 0
de1: interrupting at irq 9
de1: SMC 8434BT-CH2 21040 [10Mb/s] pass 2.3
de1: address 00:00:c0:07:1c:c0

And that is what "ifconfig -m" says:
de0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        media: autoselect (10baseT/UTP) status: active
        supported media: autoselect 10base5/AUI manual 10baseT/UTP <full-duplex> 10baseT/UTP
        inet 194.123.65.90 netmask 0xfffffff8 broadcast 194.123.65.95

de1: flags=8c22<BROADCAST,NOTRAILERS,OACTIVE,SIMPLEX,MULTICAST> mtu 1500
        media: autoselect
        supported media: autoselect 10base5/AUI manual 10baseT/UTP <full-duplex> 10baseT/UTP
        inet 0.0.0.0 netmask 0x0 

Even if I manually switch the interface to "aui" media the BNC port still
won't work. The cabling and the board are fine because the Linux driver
works without any problems.

>How-To-Repeat:
Try to use a BNC port on a SMC 8434BT.

>Fix:
Sorry, but I don't know.
>Audit-Trail:
>Unformatted: