Add VIA VT8233A support (at Ultra/100 until someone can test 133 for me).

From Ryo HAYASAKA, PR kern/17206.
This commit is contained in:
bouyer 2002-07-22 20:51:02 +00:00
parent 4a33970e19
commit 5f47fb4861
1 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: pciide.c,v 1.158 2002/06/10 08:41:11 cjs Exp $ */
/* $NetBSD: pciide.c,v 1.159 2002/07/22 20:51:02 bouyer Exp $ */
/*
@ -76,7 +76,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: pciide.c,v 1.158 2002/06/10 08:41:11 cjs Exp $");
__KERNEL_RCSID(0, "$NetBSD: pciide.c,v 1.159 2002/07/22 20:51:02 bouyer Exp $");
#ifndef WDCDEBUG
#define WDCDEBUG
@ -2183,6 +2183,11 @@ apollo_chip_map(sc, pa)
printf("VT8233A ATA100 controller\n");
sc->sc_wdcdev.UDMA_cap = 5;
break;
case PCI_PRODUCT_VIATECH_VT8233A:
printf("VT8233A ATA133 controller\n");
/* XXX use ATA100 untill ATA133 is supported */
sc->sc_wdcdev.UDMA_cap = 5;
break;
default:
printf("unknown ATA controller\n");
sc->sc_wdcdev.UDMA_cap = 0;