Subject: kern/20682: GeForce4 MX is not detected correctly
To: None <gnats-bugs@gnats.netbsd.org>
From: None <juan@xtraeme.unixbsd.org>
List: netbsd-bugs
Date: 03/13/2003 14:22:14
>Number:         20682
>Category:       kern
>Synopsis:       GeForce4 MX is not detected correctly
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 13 05:23:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Juan RP
>Release:        NetBSD 1.6P
>Organization:
HispaBSD
>Environment:
System: NetBSD Redemption 1.6P NetBSD 1.6P ($Redemption-2003-03-09$) #1: Sun Mar 9 13:34:31 CET 2003 root@redemption:/usr/src/sys/arch/i386/compile/xtrakernel i386
Architecture: i386
Machine: i386
>Description:

My new GeForce4 MX is not detected correctly at boot
on a fresh current system.

Without the patch my dmesg shows that:

vga1 at pci1 dev 0 function 0: Nvidia Corporation product 0x0171 (rev. 0xa3)

With the patch applied:

vga1 at pci1 dev 0 function 0: Nvidia Corporation GeForce4 MX [NV17] (rev. 0xa3)

>How-To-Repeat:

Boot any fresh current kernel and GeForce4 MX is not detected at boot. 

>Fix:

Apply this patch:

Index: pcidevs
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/pcidevs,v
retrieving revision 1.512
diff -u -r1.512 pcidevs
--- pcidevs	2003/03/06 22:25:23	1.512
+++ pcidevs	2003/03/13 01:13:02
@@ -1792,6 +1792,7 @@
 product NVIDIA	GEFORCEDDR	0x0101	GeForce DDR
 product NVIDIA	QUADRO		0x0103	Quadro
 product NVIDIA	GEFORCE2MX	0x0110	GeForce2 MX [NV11]
+product NVIDIA  GEFORCE4MX	0x0171	GeForce4 MX [NV17]
 product	NVIDIA	GEFORCE2GO	0x0112	GeForce2 Go
 product NVIDIA	GEFORCE2	0x0150	GeForce2 GTS
 product NVIDIA	GEFORCE2DDR	0x0151	GeForce2 GTS (DDR)
Index: pcidevs.h
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/pcidevs.h,v
retrieving revision 1.515
diff -u -r1.515 pcidevs.h
--- pcidevs.h	2003/03/06 22:25:43	1.515
+++ pcidevs.h	2003/03/13 01:13:12
@@ -1,4 +1,4 @@
-/*	$NetBSD: pcidevs.h,v 1.515 2003/03/06 22:25:43 bouyer Exp $	*/
+/*	$NetBSD$	*/
 
 /*
  * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
@@ -1799,6 +1799,7 @@
 #define	PCI_PRODUCT_NVIDIA_GEFORCEDDR	0x0101		/* GeForce DDR */
 #define	PCI_PRODUCT_NVIDIA_QUADRO	0x0103		/* Quadro */
 #define	PCI_PRODUCT_NVIDIA_GEFORCE2MX	0x0110		/* GeForce2 MX [NV11] */
+#define	PCI_PRODUCT_NVIDIA_GEFORCE4MX	0x0171		/* GeForce4 MX [NV17] */
 #define	PCI_PRODUCT_NVIDIA_GEFORCE2GO	0x0112		/* GeForce2 Go */
 #define	PCI_PRODUCT_NVIDIA_GEFORCE2	0x0150		/* GeForce2 GTS */
 #define	PCI_PRODUCT_NVIDIA_GEFORCE2DDR	0x0151		/* GeForce2 GTS (DDR) */
Index: pcidevs_data.h
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/pcidevs_data.h,v
retrieving revision 1.513
diff -u -r1.513 pcidevs_data.h
--- pcidevs_data.h	2003/03/06 22:25:44	1.513
+++ pcidevs_data.h	2003/03/13 01:13:28
@@ -1,4 +1,4 @@
-/*	$NetBSD: pcidevs_data.h,v 1.513 2003/03/06 22:25:44 bouyer Exp $	*/
+/*	$NetBSD$	*/
 
 /*
  * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
@@ -5534,6 +5534,12 @@
 	    0,
 	    "Nvidia Corporation",
 	    "GeForce2 MX [NV11]",
+	},
+	{
+	    PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_GEFORCE4MX,
+	    0,
+	    "Nvidia Corporation",
+	    "GeForce4 MX [NV17]",
 	},
 	{
 	    PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_GEFORCE2GO,
>Release-Note:
>Audit-Trail:
>Unformatted: