summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchris <chris@openbsd.org>2000-07-07 19:07:21 +0000
committerchris <chris@openbsd.org>2000-07-07 19:07:21 +0000
commit835bfe01f06b876502dfb4a74ab25ed838c0ebb7 (patch)
treeba825932d5ee5c5a52b5f192280570fc890d6fe4
parentPick up change that went into NetBSD side- I pooched the timeout (diff)
downloadwireguard-openbsd-835bfe01f06b876502dfb4a74ab25ed838c0ebb7.tar.xz
wireguard-openbsd-835bfe01f06b876502dfb4a74ab25ed838c0ebb7.zip
Support Intel 440MX Ultra/33 controller found on various laptops
-rw-r--r--sys/dev/pci/pciide.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c
index ac12b46f54f..d8ba9d3ff53 100644
--- a/sys/dev/pci/pciide.c
+++ b/sys/dev/pci/pciide.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciide.c,v 1.27 2000/07/07 18:42:16 chris Exp $ */
+/* $OpenBSD: pciide.c,v 1.28 2000/07/07 19:07:21 chris Exp $ */
/* $NetBSD: pciide.c,v 1.48 1999/11/28 20:05:18 bouyer Exp $ */
/*
@@ -275,6 +275,10 @@ const struct pciide_product_desc pciide_intel_products[] = {
0,
piix_chip_map
},
+ { PCI_PRODUCT_INTEL_82440MX_IDE, /* Intel 82440MX IDE */
+ 0,
+ piix_chip_map
+ },
{ PCI_PRODUCT_INTEL_82801AA_IDE, /* Intel 82801AA IDE (ICH) */
0,
piix_chip_map
@@ -1346,6 +1350,7 @@ piix_chip_map(sc, pa)
sc->sc_wdcdev.cap |= WDC_CAPABILITY_DMA;
switch(sc->sc_pp->ide_product) {
case PCI_PRODUCT_INTEL_82371AB_IDE:
+ case PCI_PRODUCT_INTEL_82440MX_IDE:
case PCI_PRODUCT_INTEL_82801AA_IDE:
case PCI_PRODUCT_INTEL_82801AB_IDE:
sc->sc_wdcdev.cap |= WDC_CAPABILITY_UDMA;