Add support for Adaptec 2930U2 controller.
authorsmurph <smurph@openbsd.org>
Thu, 13 Apr 2000 04:25:08 +0000 (04:25 +0000)
committersmurph <smurph@openbsd.org>
Thu, 13 Apr 2000 04:25:08 +0000 (04:25 +0000)
sys/dev/pci/ahc_pci.c
sys/dev/pci/pcidevs
sys/dev/pci/pcidevs.h
sys/dev/pci/pcidevs_data.h

index bbcc4c1..3c2c8c0 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: ahc_pci.c,v 1.15 2000/04/06 18:21:42 aaron Exp $      */
+/*     $OpenBSD: ahc_pci.c,v 1.16 2000/04/13 04:25:10 smurph Exp $     */
 /*     $NetBSD: ahc_pci.c,v 1.9 1996/10/21 22:56:24 thorpej Exp $      */
 
 /*
@@ -312,6 +312,7 @@ void *aux;
                switch (PCI_PRODUCT(pa->pa_id)) {
                case PCI_PRODUCT_ADP2_AIC7890:
                case PCI_PRODUCT_ADP2_2940U2:
+               case PCI_PRODUCT_ADP2_2930U2:
                        ahc_c |= AHC_AIC7890;
                        ahc_f = AHC_AIC7890_FE;
                        ahc_flags |= AHC_NEWEEPROM_FMT;
index 56b034d..75fa8ae 100644 (file)
@@ -1,4 +1,4 @@
-       $OpenBSD: pcidevs,v 1.244 2000/04/13 00:07:06 deraadt Exp $
+       $OpenBSD: pcidevs,v 1.245 2000/04/13 04:25:08 smurph Exp $
 
 /*     $NetBSD: pcidevs,v 1.30 1997/06/24 06:20:24 thorpej Exp $       */
 
@@ -653,6 +653,7 @@ product ADP AIC6915         0x6915  AIC-6915
 product ADP 7895               0x7895  AIC-7895
 
 product ADP2 2940U2            0x0010  AHA-2940U2 Ultra2
+product ADP2 2930U2            0x0011  AHA-2930U2 Ultra2
 product ADP2 AIC7890           0x001f  AIC-7890/1 Ultra2
 product ADP2 AIC7892           0x008F  AIC-7892 Ultra160
 product ADP2 29160             0x0080  AHA-29160 Ultra160
index 7913d33..9977e5c 100644 (file)
@@ -2,7 +2,7 @@
  * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
  *
  * generated from:
- *             OpenBSD: pcidevs,v 1.244 2000/04/13 00:07:06 deraadt Exp 
+ *             OpenBSD: pcidevs,v 1.245 2000/04/13 04:25:08 smurph Exp 
  */
 
 /*     $NetBSD: pcidevs,v 1.30 1997/06/24 06:20:24 thorpej Exp $       */
 #define        PCI_PRODUCT_ADP_7895    0x7895          /* AIC-7895 */
 
 #define        PCI_PRODUCT_ADP2_2940U2 0x0010          /* AHA-2940U2 Ultra2 */
+#define        PCI_PRODUCT_ADP2_2930U2 0x0011          /* AHA-2930U2 Ultra2 */
 #define        PCI_PRODUCT_ADP2_AIC7890        0x001f          /* AIC-7890/1 Ultra2 */
 #define        PCI_PRODUCT_ADP2_AIC7892        0x008F          /* AIC-7892 Ultra160 */
 #define        PCI_PRODUCT_ADP2_29160  0x0080          /* AHA-29160 Ultra160 */
index f3a7008..9eb073b 100644 (file)
@@ -2,7 +2,7 @@
  * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
  *
  * generated from:
- *             OpenBSD: pcidevs,v 1.244 2000/04/13 00:07:06 deraadt Exp 
+ *             OpenBSD: pcidevs,v 1.245 2000/04/13 04:25:08 smurph Exp 
  */
 
 /*     $NetBSD: pcidevs,v 1.30 1997/06/24 06:20:24 thorpej Exp $       */
@@ -512,6 +512,12 @@ struct pci_knowndev pci_knowndevs[] = {
            "Adaptec(2)",
            "AHA-2940U2 Ultra2",
        },
+       {
+           PCI_VENDOR_ADP2, PCI_PRODUCT_ADP2_2930U2,
+           0,
+           "Adaptec(2)",
+           "AHA-2930U2 Ultra2",
+       },
        {
            PCI_VENDOR_ADP2, PCI_PRODUCT_ADP2_AIC7890,
            0,