[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-misc
Subject:    Re: Recognition of second RealTek 8139 network device
From:       Henning Brauer <lists-openbsd () bsws ! de>
Date:       2002-10-31 12:52:51
[Download RAW message or body]

On Thu, Oct 31, 2002 at 04:20:54AM -0800, Chris wrote:
> I recently installed a second RealTek 8139 PCI card in my OpenBSD 3.1
> machine, however the kernel isn't recognizing it under rl1 (rl0 works
> fine).  
> vendor "Tandem", unknown product 0x8139 (class network, subclass
> ethernet, rev 0
> x18) at pci0 dev 18 function 0 not configured

vendor Tandem? that's strange.
try this diff. apply in /usr/src/sys/dev/pci and recompile your kernel.

Index: if_rl_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_rl_pci.c,v
retrieving revision 1.7
diff -u -r1.7 if_rl_pci.c
--- if_rl_pci.c	14 Mar 2002 01:26:59 -0000	1.7
+++ if_rl_pci.c	31 Oct 2002 12:53:38 -0000
@@ -98,6 +98,7 @@
 	{ PCI_VENDOR_NORTEL, PCI_PRODUCT_NORTEL_BS21		},
 	{ PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8129	},
 	{ PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8139	},
+	{ PCI_VENDOR_TANDEM, PCI_PRODUCT_TANDEM_RT8139		},
 	{ 0, 0 }
 };
 
Index: pcidevs
===================================================================
RCS file: /cvs/src/sys/dev/pci/pcidevs,v
retrieving revision 1.559
diff -u -r1.559 pcidevs
--- pcidevs	24 Oct 2002 11:58:40 -0000	1.559
+++ pcidevs	31 Oct 2002 12:53:40 -0000
@@ -2149,6 +2149,9 @@
 product TAMARACK TC9021		0x1021	Tamarack TC9021 GigE
 product TAMARACK TC9021_ALT	0x9021	Tamarack TC9021 GigE (alt ID)
 
+/* Tandem */
+product TANDEM RT8139		0x8139	8139
+
 /* Tekram Technology products (1st ID)*/
 product TEKRAM 	DC290		0xdc29	DC-290(M)
 
Index: pcidevs.h
===================================================================
RCS file: /cvs/src/sys/dev/pci/pcidevs.h,v
retrieving revision 1.561
diff -u -r1.561 pcidevs.h
--- pcidevs.h	24 Oct 2002 11:58:55 -0000	1.561
+++ pcidevs.h	31 Oct 2002 12:53:43 -0000
@@ -2154,6 +2154,9 @@
 #define	PCI_PRODUCT_TAMARACK_TC9021	0x1021		/* Tamarack TC9021 GigE */
 #define	PCI_PRODUCT_TAMARACK_TC9021_ALT	0x9021		/* Tamarack TC9021 GigE (alt ID) */
 
+/* Tandem */
+#define	PCI_PRODUCT_TANDEM_RT8139	0x8139		/* 8139 */
+
 /* Tekram Technology products (1st ID)*/
 #define	PCI_PRODUCT_TEKRAM_DC290	0xdc29		/* DC-290(M) */
 
Index: pcidevs_data.h
===================================================================
RCS file: /cvs/src/sys/dev/pci/pcidevs_data.h,v
retrieving revision 1.561
diff -u -r1.561 pcidevs_data.h
--- pcidevs_data.h	24 Oct 2002 11:58:55 -0000	1.561
+++ pcidevs_data.h	31 Oct 2002 12:53:47 -0000
@@ -4947,6 +4947,10 @@
 	    "Tamarack TC9021 GigE (alt ID)",
 	},
 	{
+	    PCI_VENDOR_TANDEM, PCI_PRODUCT_TANDEM_RT8139,
+	    "8139",
+	},
+	{
 	    PCI_VENDOR_TEKRAM, PCI_PRODUCT_TEKRAM_DC290,
 	    "DC-290(M)",
 	},

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic