Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Use symbolic constants for SUNs version of ADP2_...



details:   https://anonhg.NetBSD.org/src/rev/c8bcf4d5afd1
branches:  trunk
changeset: 769989:c8bcf4d5afd1
user:      is <is%NetBSD.org@localhost>
date:      Thu Sep 29 12:51:28 2011 +0000

description:
Use symbolic constants for SUNs version of ADP2_ASR2200S.

diffstat:

 sys/dev/pci/aac_pci.c |  13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diffs (34 lines):

diff -r e40eddec7ad5 -r c8bcf4d5afd1 sys/dev/pci/aac_pci.c
--- a/sys/dev/pci/aac_pci.c     Thu Sep 29 10:59:26 2011 +0000
+++ b/sys/dev/pci/aac_pci.c     Thu Sep 29 12:51:28 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: aac_pci.c,v 1.32 2011/02/18 22:54:27 jmcneill Exp $    */
+/*     $NetBSD: aac_pci.c,v 1.33 2011/09/29 12:51:28 is Exp $  */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aac_pci.c,v 1.32 2011/02/18 22:54:27 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aac_pci.c,v 1.33 2011/09/29 12:51:28 is Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -406,10 +406,11 @@
                0,
                "HP NetRAID-4M"
        },
-       {       0x9005,
-               0x0285,
-               0x108e,
-               0x286,
+       {
+               PCI_VENDOR_ADP2,
+               PCI_PRODUCT_ADP2_ASR2200S,
+               PCI_VENDOR_SUN,
+               PCI_PRODUCT_ADP2_ASR2120S,
                AAC_HWIF_I960RX,
                0,
                "SG-XPCIESAS-R-IN"



Home | Main Index | Thread Index | Old Index