diff options
-rw-r--r-- | sys/dev/pci/pciide.c | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c index 7022668a862..5677f915121 100644 --- a/sys/dev/pci/pciide.c +++ b/sys/dev/pci/pciide.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pciide.c,v 1.119 2003/03/28 23:49:48 millert Exp $ */ +/* $OpenBSD: pciide.c,v 1.120 2003/03/29 11:02:09 grange Exp $ */ /* $NetBSD: pciide.c,v 1.127 2001/08/03 01:31:08 tsutsui Exp $ */ /* @@ -497,6 +497,10 @@ const struct pciide_product_desc pciide_promise_products[] = { { PCI_PRODUCT_PROMISE_PDC20277, IDE_PCI_CLASS_OVERRIDE, pdc202xx_chip_map, + }, + { PCI_PRODUCT_PROMISE_PDC20376, /* PDC20376 SATA */ + IDE_PCI_CLASS_OVERRIDE, /* XXX: subclass RAID */ + pdc202xx_chip_map, } }; @@ -4033,7 +4037,8 @@ hpt_pci_intr(arg) (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_PDC20271 || \ (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) + (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_PDC20277 || \ + (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_PDC20376) #define PDC_IS_268(sc) \ ((sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_PDC20268 || \ (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_PDC20268R || \ @@ -4041,13 +4046,15 @@ hpt_pci_intr(arg) (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_PDC20271 || \ (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) + (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_PDC20277 || \ + (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_PDC20376) #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_PDC20275 || \ (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_PDC20276 || \ - (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_PDC20277) + (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_PDC20277 || \ + (sc)->sc_pp->ide_product == PCI_PRODUCT_PROMISE_PDC20376) static __inline u_int8_t pdc268_config_read(struct channel_softc *chp, int index) |