Subject: kern/33044: Nortel Networks Baystack 21 Ethernet Adapter Support
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <djb_netbsd@charter.net>
List: netbsd-bugs
Date: 03/09/2006 21:05:00
>Number:         33044
>Category:       kern
>Synopsis:       Nortel Networks Baystack 21 Ethernet Adapter Support
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 09 21:05:00 +0000 2006
>Originator:     Dave J. Barnes
>Release:        2.1, 3.0
>Organization:
>Environment:
>Description:
Nortel Networks Baystack 21 ethernet card not supported.

unknown vendor 0x126c product 0x1211 (ethernet network, revision 0x10) at pci0 dev 13 function 0 not configured

The Baystack 21 is a clone of the RealTek 8139 (!) - chip MPX EN5038.

After diffs below are applied...

rtk0 at pci0 dev 13 function 0: Baystack 21 (MPX EN5038) 10/100BaseTX
rtk0: interrupting at irq 5
rtk0: Ethernet address xxxx
ukphy0 at rtk0 phy 7: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000000, model 0x0000, rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

Baystack 21 works fine now......
>How-To-Repeat:

>Fix:
Apply diffs
==========
--- dev/pci/pcidevs.orig	2006-03-08 19:30:47.000000000 -0600
+++ dev/pci/pcidevs	2006-03-08 19:33:22.000000000 -0600
@@ -512,6 +512,7 @@
 vendor AURORA		0x125c	Aurora Technologies
 vendor ESSTECH		0x125d	ESS Technology
 vendor INTERSIL		0x1260	Intersil
+vendor NORTEL		0x126c  Nortel Networks (Northern Telecom)
 vendor SILMOTION	0x126f	Silicon Motion
 vendor ENSONIQ		0x1274	Ensoniq
 vendor NETAPP		0x1275	Network Appliance
@@ -2209,6 +2210,9 @@
 /* NKK products */
 product NKK NDR4600	0xa001	NDR4600 Host-PCI Bridge
 
+/* Nortel Networks products */
+product NORTEL BAYSTACK_21 0x1211 Baystack 21 (Accton MPX EN5038)
+
 /* Number Nine products */
 product NUMBER9 I128	0x2309	Imagine-128
 product NUMBER9 I128_2	0x2339	Imagine-128 II
==============
--- dev/pci/if_rtk_pci.c.orig	2006-03-08 19:39:04.000000000 -0600
+++ dev/pci/if_rtk_pci.c	2006-03-08 19:37:57.000000000 -0600
@@ -116,6 +116,8 @@
 		RTK_8139, "SEGA Broadband Adapter" },
 	{ PCI_VENDOR_DLINK, PCI_PRODUCT_DLINK_DFE530TXPLUS,
 		RTK_8139, "D-Link Systems DFE 530TX+" },
+        { PCI_VENDOR_NORTEL, PCI_PRODUCT_NORTEL_BAYSTACK_21
+                RTK_8139, "Baystack 21 (MPX EN5038) 10/100BaseTX" },
 	{ 0, 0, 0, NULL }
 };
========
Don't forget to do "make -f Makefile.pcidevs"