Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/dev/pci Pullup rev. 1.87 (approved by jhawk):



details:   https://anonhg.NetBSD.org/src/rev/0c0ad0cb57ab
branches:  netbsd-1-5
changeset: 489164:0c0ad0cb57ab
user:      enami <enami%NetBSD.org@localhost>
date:      Tue Aug 22 02:19:32 2000 +0000

description:
Pullup rev. 1.87 (approved by jhawk):
Recognize Promise ATA-100 controller as PDC-20262 instead of 20246.

diffstat:

 sys/dev/pci/pciide.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r f834701a5174 -r 0c0ad0cb57ab sys/dev/pci/pciide.c
--- a/sys/dev/pci/pciide.c      Tue Aug 22 02:16:44 2000 +0000
+++ b/sys/dev/pci/pciide.c      Tue Aug 22 02:19:32 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pciide.c,v 1.68.2.12 2000/08/22 02:16:44 enami Exp $   */
+/*     $NetBSD: pciide.c,v 1.68.2.13 2000/08/22 02:19:32 enami Exp $   */
 
 
 /*
@@ -3047,7 +3047,10 @@
 
 
 /* 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_ULTRA100X)
 
 void
 pdc202xx_chip_map(sc, pa)



Home | Main Index | Thread Index | Old Index