Subject: Re: install/29218: compaq Netelligent 10 T/2 PCI UTP/Xoax Controller not configured
To: None <almeyers@consult-meyers.com>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-bugs
Date: 02/15/2005 17:37:35
--DocE+STaALJfprDB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Mon, Feb 14, 2005 at 08:08:52PM +0100, A L Meyers wrote:
> Hallo Manuel,
> 
> Here is the nbsd 2.0 installer dmesg output concerning the captioned 
> adapter:
> 
> vendor 0x0e11 product 0xb012 (miscellaneous network, revision 0x10) at 
> pci0 dev 10 function 10 not configured

OK, thanks. Can you try the attached patch ? It should get it working

> 
> Additionally, the nbsd 2.0 installer does not configure the following 2 
> devices:
> 
> vendor 0x8086 product 0x7113 (miscellaneous bridge, revision 0x02) at 
> pci0 dev 4 function 3 not configured
> 
> vendor 0x1274 product 0x1371 (audio multimedia, revision 0x06) at pci0 
> dev 9 function 0 not configured

It's possible the installer doesn't have drivers for those (the installer has
no audio device driver) but once installed, the GENERIC kernel will be
able to use them

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
     NetBSD: 26 ans d'experience feront toujours la difference
--

--DocE+STaALJfprDB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=diff

Index: if_tl.c
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/if_tl.c,v
retrieving revision 1.66
diff -u -r1.66 if_tl.c
--- if_tl.c	30 Oct 2004 18:09:22 -0000	1.66
+++ if_tl.c	15 Feb 2005 16:32:06 -0000
@@ -216,6 +216,8 @@
 	  "Integrated Compaq Netelligent 10/100 TX" },
 	{ PCI_PRODUCT_COMPAQ_N10T, TLPHY_MEDIA_10_5,
 	  "Compaq Netelligent 10 T" },
+	{ PCI_PRODUCT_COMPAQ_N10T2, TLPHY_MEDIA_10_2,
+	  "Compaq Netelligent 10 T/2 UTP/Coax" },
 	{ PCI_PRODUCT_COMPAQ_IntNF3P, TLPHY_MEDIA_10_2,
 	  "Compaq Integrated NetFlex 3/P" },
 	{ PCI_PRODUCT_COMPAQ_IntPL100TX, TLPHY_MEDIA_10_2|TLPHY_MEDIA_NO_10_T,
Index: pcidevs
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/pcidevs,v
retrieving revision 1.686
diff -u -r1.686 pcidevs
--- pcidevs	18 Jan 2005 06:23:01 -0000	1.686
+++ pcidevs	15 Feb 2005 16:32:06 -0000
@@ -1268,6 +1268,7 @@
 product COMPAQ USB_MEDIAGX	0xa0f8	USB Controller
 product COMPAQ SMART2P		0xae10	SMART2P RAID
 product COMPAQ N100TX		0xae32	Netelligent 10/100 TX
+product COMPAQ N10T2		0xb012	Netelligent 10 T/2 UTP/Coax
 product COMPAQ INT100TX		0xb030	Integrated Netelligent 10/100 TX
 product COMPAQ N10T		0xae34	Netelligent 10 T
 product COMPAQ IntNF3P		0xae35	Integrated NetFlex 3/P
Index: pcidevs.h
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/pcidevs.h,v
retrieving revision 1.687
diff -u -r1.687 pcidevs.h
--- pcidevs.h	18 Jan 2005 06:24:18 -0000	1.687
+++ pcidevs.h	15 Feb 2005 16:32:06 -0000
@@ -1,4 +1,4 @@
-/*	$NetBSD: pcidevs.h,v 1.687 2005/01/18 06:24:18 tsubai Exp $	*/
+/*	$NetBSD$	*/
 
 /*
  * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
@@ -1275,6 +1275,7 @@
 #define	PCI_PRODUCT_COMPAQ_USB_MEDIAGX	0xa0f8		/* USB Controller */
 #define	PCI_PRODUCT_COMPAQ_SMART2P	0xae10		/* SMART2P RAID */
 #define	PCI_PRODUCT_COMPAQ_N100TX	0xae32		/* Netelligent 10/100 TX */
+#define	PCI_PRODUCT_COMPAQ_N10T2	0xb012		/* Netelligent 10 T/2 UTP/Coax */
 #define	PCI_PRODUCT_COMPAQ_INT100TX	0xb030		/* Integrated Netelligent 10/100 TX */
 #define	PCI_PRODUCT_COMPAQ_N10T	0xae34		/* Netelligent 10 T */
 #define	PCI_PRODUCT_COMPAQ_IntNF3P	0xae35		/* Integrated NetFlex 3/P */
Index: pcidevs_data.h
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/pcidevs_data.h,v
retrieving revision 1.685
diff -u -r1.685 pcidevs_data.h
--- pcidevs_data.h	18 Jan 2005 06:24:18 -0000	1.685
+++ pcidevs_data.h	15 Feb 2005 16:32:06 -0000
@@ -1,4 +1,4 @@
-/*	$NetBSD: pcidevs_data.h,v 1.685 2005/01/18 06:24:18 tsubai Exp $	*/
+/*	$NetBSD$	*/
 
 /*
  * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
@@ -4424,6 +4424,10 @@
 	    "Netelligent 10/100 TX",
 	},
 	{
+	    PCI_VENDOR_COMPAQ, PCI_PRODUCT_COMPAQ_N10T2,
+	    "Netelligent 10 T/2 UTP/Coax",
+	},
+	{
 	    PCI_VENDOR_COMPAQ, PCI_PRODUCT_COMPAQ_INT100TX,
 	    "Integrated Netelligent 10/100 TX",
 	},
@@ -9992,4 +9996,4 @@
 	    "Video Controller",
 	},
 };
-const int pci_nproducts = 1919;
+const int pci_nproducts = 1920;

--DocE+STaALJfprDB--