Subject: Re: kern/35314 VIA VT8237A ATA controller not detected properly
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Michael van Elst <mlelstv@serpens.de>
List: netbsd-bugs
Date: 12/30/2006 12:05:03
The following reply was made to PR kern/35314; it has been noted by GNATS.

From: Michael van Elst <mlelstv@serpens.de>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/35314 VIA VT8237A ATA controller not detected properly
Date: Sat, 30 Dec 2006 13:02:31 +0100

 This should help:
 
 Index: pcidevs
 ===================================================================
 RCS file: /cvsroot/src/sys/dev/pci/pcidevs,v
 retrieving revision 1.857
 diff -u -r1.857 pcidevs
 --- pcidevs	10 Dec 2006 23:43:13 -0000	1.857
 +++ pcidevs	30 Dec 2006 12:00:26 -0000
 @@ -3527,6 +3527,7 @@
  product VIATECH VT8378		0x3205	VT8378 Apollo KM400 CPU to PCI Bridge
  product VIATECH VT8237		0x3227	VT8237 (Apollo KT600) PCI-ISA Bridge
  product	VIATECH	VT8237A_HDA	0x3288	VT8237A/VT8251 High Definition Audio Controller
 +product	VIATECH	VT8237A_ISA	0x3337	VT8237A/VT82C586A PCI-ISA Bridge
  product VIATECH KT880_4		0x4269	KT880 CPU to PCI Bridge
  product VIATECH VT86C100A	0x6100	VT86C100A (Rhine-II) 10/100 Ethernet
  product VIATECH VT8378_IG	0x7205	VT8378 KM400 UniChrome Integrated Graphics
 Index: viaide.c
 ===================================================================
 RCS file: /cvsroot/src/sys/dev/pci/viaide.c,v
 retrieving revision 1.37
 diff -u -r1.37 viaide.c
 --- viaide.c	16 Nov 2006 01:33:10 -0000	1.37
 +++ viaide.c	30 Dec 2006 12:00:26 -0000
 @@ -413,6 +413,10 @@
  			aprint_normal("VT8237 ATA133 controller\n");
  			sc->sc_wdcdev.sc_atac.atac_udma_cap = 6;
  			break;
 +		case PCI_PRODUCT_VIATECH_VT8237A_ISA:
 +			aprint_normal("VT8237A ATA133 controller\n");
 +			sc->sc_wdcdev.sc_atac.atac_udma_cap = 6;
 +			break;
  		default:
  unknown:
  			aprint_normal("unknown VIA ATA controller\n");
 
 Please don't forget to regenerate the pcidevs-Headers.
 
 
 -- 
                                 Michael van Elst
 Internet: mlelstv@serpens.de
                                 "A potential Snark may lurk in every tree."