[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ultra ATA 133 with OpenBSD 3.1



On Fri, 02 Aug 2002 10:06:11 +0200, "Daniele Petiti"
<daniele.petiti@bsc.it> wrote:

 > On Thu, 1 Aug 2002 11:54:28 -0700 (PDT), tedu
 > <grendel@zeitbombe.org>
 > wrote:
 > 
 >  > On Thu, 1 Aug 2002, Daniele Petiti wrote:
 >  > 
 >  > > I've already tried with pciide settings and wd* too but nothing
 >  > > happens.
 >  > > I've tried even with "bogus" settings like pio mode 2 eccetera
 > but
 >  > > nothing change.
 >  > 
 >  > This is not the right thing to do, but you can bang up the source
 > to
 >  > do
 >  > what you want.  Open sys/dev/pci/pciide.c.  Around line 2165,
 > after
 >  > the
 >  > switch statement, add this line
 >  >  sc->sc_wdcdev.UDMA_cap = 5;
 >  > 
 >  > Then rebuild the kernel.
 >  > 
 >  > Of course, if you're not willing to try an unofficial NetBSD
 > patch,
 >  > you're
 >  > probably more reluctant to do this.  Where was the patch, BTW?
 >  > 
 >  > 
 >  > --
 >  > Mediocrity is a sin.
 >  > 
 > 
 > You are right, I'm already tailoring NetBSD patch to fit in OpenBSD
 > code, by the way, thanks for now, I'll let you know.
 > 
 > bye.
 > 

I've tailored a patch to use Ultra DMA feature.
Now I'm testing UDMA 6 (133MB/s) and since about 3 hours I'm not having
trouble.
I'll try to do a patch file so, if someone has the same problem
probably I'll can help him/her.

bye