diff options
author | Alexander Yurchenko <grange@cvs.openbsd.org> | 2004-03-12 19:10:08 +0000 |
---|---|---|
committer | Alexander Yurchenko <grange@cvs.openbsd.org> | 2004-03-12 19:10:08 +0000 |
commit | da6c536f3e994104b19aa8377758446d0fa53b77 (patch) | |
tree | 5a405ad86aa3a29aba922e7c9f85944054001d81 /sys/dev/pci/pciide.c | |
parent | d8cac78d3ded828ac290d48b4bceae795b625c1b (diff) |
Enable ata133 on amd8111; from netbsd
tested by beck@
Diffstat (limited to 'sys/dev/pci/pciide.c')
-rw-r--r-- | sys/dev/pci/pciide.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c index 6aef5da366f..1e1e9ae5a82 100644 --- a/sys/dev/pci/pciide.c +++ b/sys/dev/pci/pciide.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pciide.c,v 1.162 2004/02/18 09:49:04 grange Exp $ */ +/* $OpenBSD: pciide.c,v 1.163 2004/03/12 19:10:07 grange Exp $ */ /* $NetBSD: pciide.c,v 1.127 2001/08/03 01:31:08 tsutsui Exp $ */ /* @@ -2282,9 +2282,11 @@ amd756_chip_map(sc, pa) sc->sc_wdcdev.PIO_cap = 4; sc->sc_wdcdev.DMA_cap = 2; switch (sc->sc_pp->ide_product) { + case PCI_PRODUCT_AMD_8111_IDE: + sc->sc_wdcdev.UDMA_cap = 6; + break; case PCI_PRODUCT_AMD_766_IDE: case PCI_PRODUCT_AMD_PBC768_IDE: - case PCI_PRODUCT_AMD_8111_IDE: sc->sc_wdcdev.UDMA_cap = 5; break; default: |