diff options
author | Grigoriy Orlov <gluk@cvs.openbsd.org> | 2002-11-08 11:45:00 +0000 |
---|---|---|
committer | Grigoriy Orlov <gluk@cvs.openbsd.org> | 2002-11-08 11:45:00 +0000 |
commit | 0a8189ee1cbb9011fb158d7699785fe1d1b1cb21 (patch) | |
tree | 1d43000ea0a614f96d744dc46406eeae5a6724ff /sys/dev/pci | |
parent | 3708faccf4051c481ce5c957ee214d01e4a502c7 (diff) |
Support for Promise PDC20275 and PDC20277. Untested.
from grange@rt.mipt.ru
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/pciide.c | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c index c98b908028c..079eb2f3ee7 100644 --- a/sys/dev/pci/pciide.c +++ b/sys/dev/pci/pciide.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pciide.c,v 1.93 2002/11/08 11:07:28 gluk Exp $ */ +/* $OpenBSD: pciide.c,v 1.94 2002/11/08 11:44:59 gluk Exp $ */ /* $NetBSD: pciide.c,v 1.127 2001/08/03 01:31:08 tsutsui Exp $ */ /* @@ -479,9 +479,17 @@ const struct pciide_product_desc pciide_promise_products[] = { IDE_PCI_CLASS_OVERRIDE, pdc202xx_chip_map, }, + { PCI_PRODUCT_PROMISE_PDC20275, + IDE_PCI_CLASS_OVERRIDE, + pdc202xx_chip_map, + }, { PCI_PRODUCT_PROMISE_PDC20276, IDE_PCI_CLASS_OVERRIDE, pdc202xx_chip_map, + }, + { PCI_PRODUCT_PROMISE_PDC20277, + IDE_PCI_CLASS_OVERRIDE, + pdc202xx_chip_map, } }; @@ -3925,17 +3933,23 @@ hpt_pci_intr(arg) (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_PDC20268R || \ (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_PDC20269 || \ (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_PDC20271 || \ - (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_PDC20276) + (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_PDC20275 || \ + (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_PDC20276 || \ + (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_PDC20277) #define PDC_IS_268(sc) \ ((sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_PDC20268 || \ (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_PDC20268R || \ (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_PDC20269 || \ (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_PDC20271 || \ - (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_PDC20276) + (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_PDC20275 || \ + (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_PDC20276 || \ + (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_PDC20277) #define PDC_IS_269(sc) \ ((sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_PDC20269 || \ (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_PDC20271 || \ - (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_PDC20276) + (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_PDC20275 || \ + (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_PDC20276 || \ + (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_PDC20277) void pdc202xx_chip_map(sc, pa) |