Subject: kern/26441: Unidentified Compaq device
To: None <gnats-bugs@gnats.NetBSD.org>
From: Chris Ross <cross+netbsd@distal.com>
List: netbsd-bugs
Date: 07/26/2004 18:18:25
>Number:         26441
>Category:       kern
>Synopsis:       Unidentified Compaq device
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 26 22:55:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Chris Ross
>Release:        NetBSD 2.0G  (as of July 26, 2004)
>Organization:
N/A
>Environment:
System: NetBSD snafu.distal.com 2.0G NetBSD 2.0G (SNAFU) #1: Mon Jul 26 17:54:57 EDT 2004 cross@snafu.distal.com:/data/obj/NetBSD.i386/data/NetBSD/src/sys/arch/i386/compile/SNAFU i386
Architecture: i386
Machine: i386
>Description:
	The Compaq Proliant 1850R, at least, has an Advanced System
Management Controller.  I'm not sure what this device is, or what
it could do if it were supported, but it is not supported.  However,
it's simple enough to note what it is when noting it as "not configured".
>How-To-Repeat:
	Boot a Compaq Proliant 1850R, and you will see the following
line appear in the kernel autoconf output, and dmesg.boot:

Compaq product 0xa0f0 (miscellaneous system) at pci0 dev 9 function 0 not configured

>Fix:
	Included patch will report a string for Compaq product 0xa0f0,
so that the autoconf line will be changed to:

Compaq Advanced System Management Controller (miscellaneous system) at pci0 dev 9 function 0 not configured

---------------------------
Index: sys/dev/pci/pcidevs.h
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/pcidevs.h,v
retrieving revision 1.635
diff -u -r1.635 pcidevs.h
--- sys/dev/pci/pcidevs.h	25 Jul 2004 16:05:05 -0000	1.635
+++ sys/dev/pci/pcidevs.h	26 Jul 2004 22:12:49 -0000
@@ -1209,6 +1209,7 @@
 #define	PCI_PRODUCT_COMPAQ_CSA5i	0x4080		/* Smart Array 5i */
 #define	PCI_PRODUCT_COMPAQ_CSA532	0x4082		/* Smart Array 532 */
 #define	PCI_PRODUCT_COMPAQ_USB	0x7020		/* USB Controller */
+#define	PCI_PRODUCT_COMPAQ_ASMC		0xa0f0	/* Adv. System Management Controller */
 /* MediaGX Cx55x0 built-in OHCI seems to have this ID */
 #define	PCI_PRODUCT_COMPAQ_USB_MEDIAGX	0xa0f8		/* USB Controller */
 #define	PCI_PRODUCT_COMPAQ_SMART2P	0xae10		/* SMART2P RAID */
Index: sys/dev/pci/pcidevs_data.h
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/pcidevs_data.h,v
retrieving revision 1.633
diff -u -r1.633 pcidevs_data.h
--- sys/dev/pci/pcidevs_data.h	25 Jul 2004 16:05:05 -0000	1.633
+++ sys/dev/pci/pcidevs_data.h	26 Jul 2004 22:12:59 -0000
@@ -2962,6 +2962,12 @@
 	    "NetFlex 3/P",
 	},
 	{
+	    PCI_VENDOR_COMPAQ, PCI_PRODUCT_COMPAQ_ASMC,
+	    0,
+	    "Compaq",
+	    "Advanced System Management Controller",
+	},
+	{
 	    PCI_VENDOR_COMPEX, PCI_PRODUCT_COMPEX_NE2KETHER,
 	    0,
 	    "Compex",
>Release-Note:
>Audit-Trail:
>Unformatted: