Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Add a couple more Promise ATA133 controllers.



details:   https://anonhg.NetBSD.org/src/rev/e94c0355cc9c
branches:  trunk
changeset: 542277:e94c0355cc9c
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sat Jan 25 04:45:24 2003 +0000

description:
Add a couple more Promise ATA133 controllers.

diffstat:

 sys/dev/pci/pciide.c |  30 ++++++++++++++++++++++++------
 1 files changed, 24 insertions(+), 6 deletions(-)

diffs (78 lines):

diff -r f266412c8343 -r e94c0355cc9c sys/dev/pci/pciide.c
--- a/sys/dev/pci/pciide.c      Sat Jan 25 04:21:01 2003 +0000
+++ b/sys/dev/pci/pciide.c      Sat Jan 25 04:45:24 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pciide.c,v 1.178 2003/01/24 05:51:04 thorpej Exp $     */
+/*     $NetBSD: pciide.c,v 1.179 2003/01/25 04:45:24 thorpej Exp $     */
 
 
 /*
@@ -76,7 +76,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pciide.c,v 1.178 2003/01/24 05:51:04 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pciide.c,v 1.179 2003/01/25 04:45:24 thorpej Exp $");
 
 #ifndef WDCDEBUG
 #define WDCDEBUG
@@ -495,11 +495,21 @@
          "Promise Ultra133TX2/ATA Bus Master IDE Accelerator",
          pdc202xx_chip_map,
        },
+       { PCI_PRODUCT_PROMISE_MBULTRA133,
+         IDE_PCI_CLASS_OVERRIDE,
+         "Promise Ultra133/ATA Bus Master IDE Accelerator (MB)",
+         pdc202xx_chip_map,
+       },
        { PCI_PRODUCT_PROMISE_ULTRA133TX2v2,
          IDE_PCI_CLASS_OVERRIDE,
          "Promise Ultra133TX2v2/ATA Bus Master IDE Accelerator",
          pdc202xx_chip_map,
        },
+       { PCI_PRODUCT_PROMISE_FASTTRAK133LITE,
+         IDE_PCI_CLASS_OVERRIDE,
+         "Promise Fasttrak133 Lite Bus Master IDE Accelerator",
+         pdc202xx_chip_map,
+       },
        { PCI_PRODUCT_PROMISE_SATA150TX2PLUS,
          IDE_PCI_CLASS_OVERRIDE,
          "Promise Serial ATA/150 TX2plus Bus Master IDE Accelerator",
@@ -3823,7 +3833,9 @@
        (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_ULTRA100TX2v2 || \
        (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_ULTRA133 ||     \
        (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_ULTRA133TX2 ||  \
-       (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_ULTRA133TX2v2)
+       (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_MBULTRA133 || \
+       (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_ULTRA133TX2v2 || \
+       (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_FASTTRAK133LITE)
 #define PDC_IS_265(sc)                                                 \
        ((sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_ULTRA100 ||    \
        (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_ULTRA100X ||    \
@@ -3831,17 +3843,23 @@
        (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_ULTRA100TX2v2 || \
        (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_ULTRA133 ||     \
        (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_ULTRA133TX2 ||  \
-       (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_ULTRA133TX2v2)
+       (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_MBULTRA133 || \
+       (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_ULTRA133TX2v2 || \
+       (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_FASTTRAK133LITE)
 #define PDC_IS_268(sc)                                                 \
        ((sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_ULTRA100TX2 || \
        (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_ULTRA100TX2v2 || \
        (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_ULTRA133 ||     \
        (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_ULTRA133TX2 ||  \
-       (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_ULTRA133TX2v2)
+       (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_MBULTRA133 || \
+       (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_ULTRA133TX2v2 || \
+       (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_FASTTRAK133LITE)
 #define PDC_IS_276(sc)                                                 \
        ((sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_ULTRA133 ||    \
        (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_ULTRA133TX2 ||  \
-       (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_ULTRA133TX2v2)
+       (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_MBULTRA133 || \
+       (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_ULTRA133TX2v2 || \
+       (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_FASTTRAK133LITE)
 
 void
 pdc202xx_chip_map(sc, pa)



Home | Main Index | Thread Index | Old Index