Subject: Re: VT6102 Problem
To: Steve Woodford <scw@netbsd.org>
From: Andrew Kilpatrick <andrew@andrewkilpatrick.org>
List: tech-net
Date: 01/16/2004 19:14:30
Hi Steve,

I tried the patch. It wouldn't compile because PCI_PRODUCT_VIATECH_VT6105
was not defined, but my chip is the 6102 so I compiled the following:

//      if (PCI_PRODUCT(pa->pa_id) != PCI_PRODUCT_VIATECH_VT6105 &&
//    PCI_PRODUCT(pa->pa_id) != PCI_PRODUCT_VIATECH_VT6102) {
        if (PCI_PRODUCT(pa->pa_id) != PCI_PRODUCT_VIATECH_VT6102) {
                VR_SETBIT(sc, VR_EECSR, VR_EECSR_LOAD);
                DELAY(200);
        }

I had a put a printf in to make sure that it didn't run.

But the same problems result. I get messages like this:

Jan 16 18:28:20 cubic /netbsd: vr0: transmit aborted
Jan 16 18:28:55 cubic last message repeated 11 times
Jan 16 18:29:21 cubic /netbsd: vr0: device timeout


Anything else I can try?


Cheers,

Andrew


On Fri, Jan 16, 2004 at 11:38:23PM +0000, Steve Woodford wrote:
> On Friday 16 January 2004 9:34 pm, Andrew Kilpatrick wrote:
> 
> > I saw some changes to the vr0 code so I moved from 1.6.1 to 1.6.2_RC3
> > but am still have troubles.
> 
> Can you apply the attached patch to sys/dev/pci/if_vr.c, and try again? 
> The patch is relative to -current, but will apply cleanly to 1.6.2_RC3.
> 
> Cheers, Steve