AMD CS5536 Companion Device is able to work in Ultra DMA Mode 5,

patch from Andreas Wrede in PR kern/37059.
This commit is contained in:
xtraeme 2007-10-04 13:30:59 +00:00
parent 2222038772
commit 63467beed0

View File

@ -1,4 +1,4 @@
/* $NetBSD: viaide.c,v 1.44 2007/08/31 01:42:48 xtraeme Exp $ */
/* $NetBSD: viaide.c,v 1.45 2007/10/04 13:30:59 xtraeme Exp $ */
/*
* Copyright (c) 1999, 2000, 2001 Manuel Bouyer.
@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: viaide.c,v 1.44 2007/08/31 01:42:48 xtraeme Exp $");
__KERNEL_RCSID(0, "$NetBSD: viaide.c,v 1.45 2007/10/04 13:30:59 xtraeme Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -468,6 +468,7 @@ unknown:
case PCI_PRODUCT_AMD_PBC8111_IDE:
sc->sc_wdcdev.sc_atac.atac_udma_cap = 6;
break;
case PCI_PRODUCT_AMD_CS5536_IDE:
case PCI_PRODUCT_AMD_PBC766_IDE:
case PCI_PRODUCT_AMD_PBC768_IDE:
sc->sc_wdcdev.sc_atac.atac_udma_cap = 5;