AMD 8111 DMA support.

This commit is contained in:
fvdl 2002-06-04 08:58:20 +00:00
parent b76668d455
commit 96858fc8b7
1 changed files with 8 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: pciide.c,v 1.154 2002/06/01 18:07:42 bouyer Exp $ */ /* $NetBSD: pciide.c,v 1.155 2002/06/04 08:58:20 fvdl Exp $ */
/* /*
@ -76,7 +76,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: pciide.c,v 1.154 2002/06/01 18:07:42 bouyer Exp $"); __KERNEL_RCSID(0, "$NetBSD: pciide.c,v 1.155 2002/06/04 08:58:20 fvdl Exp $");
#ifndef WDCDEBUG #ifndef WDCDEBUG
#define WDCDEBUG #define WDCDEBUG
@ -320,6 +320,11 @@ const struct pciide_product_desc pciide_amd_products[] = {
"Advanced Micro Devices AMD768 IDE Controller", "Advanced Micro Devices AMD768 IDE Controller",
amd7x6_chip_map amd7x6_chip_map
}, },
{ PCI_PRODUCT_AMD_PBC8111_IDE,
0,
"Advanced Micro Devices AMD8111 IDE Controller",
amd7x6_chip_map
},
{ 0, { 0,
0, 0,
NULL, NULL,
@ -1974,6 +1979,7 @@ amd7x6_chip_map(sc, pa)
switch (sc->sc_pp->ide_product) { switch (sc->sc_pp->ide_product) {
case PCI_PRODUCT_AMD_PBC766_IDE: case PCI_PRODUCT_AMD_PBC766_IDE:
case PCI_PRODUCT_AMD_PBC768_IDE: case PCI_PRODUCT_AMD_PBC768_IDE:
case PCI_PRODUCT_AMD_PBC8111_IDE:
sc->sc_wdcdev.UDMA_cap = 5; sc->sc_wdcdev.UDMA_cap = 5;
break; break;
default: default: