summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2006-01-24 12:25:52 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2006-01-24 12:25:52 +0000
commit80a96d2bfad3229f14453e0ca71ffa4828ce04e4 (patch)
tree1b6f725cf9fda8190dea1513764d139f7e05a7d3
parent41cb8c2a31da1cd69a7235521db6c719a9c0ba98 (diff)
Match a few more NVIDIA product ids found in Linux drivers.
-rw-r--r--sys/dev/pci/pciide.c25
1 files changed, 24 insertions, 1 deletions
diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c
index 6cb3970d012..bbab98a1edf 100644
--- a/sys/dev/pci/pciide.c
+++ b/sys/dev/pci/pciide.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciide.c,v 1.220 2006/01/22 17:31:27 kettenis Exp $ */
+/* $OpenBSD: pciide.c,v 1.221 2006/01/24 12:25:51 jsg Exp $ */
/* $NetBSD: pciide.c,v 1.127 2001/08/03 01:31:08 tsutsui Exp $ */
/*
@@ -755,6 +755,18 @@ const struct pciide_product_desc pciide_nvidia_products[] = {
0,
nforce_chip_map
},
+ { PCI_PRODUCT_NVIDIA_MCP04_IDE,
+ 0,
+ nforce_chip_map
+ },
+ { PCI_PRODUCT_NVIDIA_MCP51_IDE,
+ 0,
+ nforce_chip_map
+ },
+ { PCI_PRODUCT_NVIDIA_MCP55_IDE,
+ 0,
+ nforce_chip_map
+ },
{ PCI_PRODUCT_NVIDIA_NFORCE2_400_SATA,
0,
sata_chip_map
@@ -790,6 +802,14 @@ const struct pciide_product_desc pciide_nvidia_products[] = {
{ PCI_PRODUCT_NVIDIA_MCP51_SATA2,
0,
sata_chip_map
+ },
+ { PCI_PRODUCT_NVIDIA_MCP55_SATA,
+ 0,
+ sata_chip_map
+ },
+ { PCI_PRODUCT_NVIDIA_MCP55_SATA2,
+ 0,
+ sata_chip_map
}
};
@@ -7360,6 +7380,9 @@ nforce_chip_map(struct pciide_softc *sc, struct pci_attach_args *pa)
case PCI_PRODUCT_NVIDIA_NFORCE3_IDE:
case PCI_PRODUCT_NVIDIA_NFORCE3_250_IDE:
case PCI_PRODUCT_NVIDIA_NFORCE4_ATA133:
+ case PCI_PRODUCT_NVIDIA_MCP04_IDE:
+ case PCI_PRODUCT_NVIDIA_MCP51_IDE:
+ case PCI_PRODUCT_NVIDIA_MCP55_IDE:
sc->sc_wdcdev.UDMA_cap = 6;
break;
default: