diff options
author | Chris Cappuccio <chris@cvs.openbsd.org> | 2000-08-25 15:33:40 +0000 |
---|---|---|
committer | Chris Cappuccio <chris@cvs.openbsd.org> | 2000-08-25 15:33:40 +0000 |
commit | cb4d594c36cd6f187f1f8e30ac907dc03ef626ea (patch) | |
tree | 8e92d874bb052f160a1aae6908f2644dd63ca79c /sys/dev/pci | |
parent | 83d204d45d3d79937f546363bf6cfb56847ba8d4 (diff) |
Match Promise Ultra/100 as PDC20262 instead of PDC20246
(netbsd)
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/pciide.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c index d9b0ae4af5b..393525aa37b 100644 --- a/sys/dev/pci/pciide.c +++ b/sys/dev/pci/pciide.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pciide.c,v 1.30 2000/08/05 00:53:01 chris Exp $ */ +/* $OpenBSD: pciide.c,v 1.31 2000/08/25 15:33:39 chris Exp $ */ /* $NetBSD: pciide.c,v 1.48 1999/11/28 20:05:18 bouyer Exp $ */ /* @@ -3024,7 +3024,10 @@ opti_setup_channel(chp) } /* A macro to test product */ -#define PDC_IS_262(sc) (sc->sc_pp->ide_product == PCI_PRODUCT_PROMISE_ULTRA66) +#define PDC_IS_262(sc) \ + ((sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_ULTRA66 || \ + (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_ULTRA100 || \ + (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_ULTRA100_2) void pdc202xx_chip_map(sc, pa) |