Subject: Re: problems with 1.6ZE
From: David Laight <firstname.lastname@example.org>
Date: 11/02/2003 23:04:00
On Sun, Nov 02, 2003 at 11:21:48PM +0100, Manuel Bouyer wrote:
> On Sun, Nov 02, 2003 at 06:39:26PM +0000, David Laight wrote:
> > > > Could you try to force it to 1-sector PIO transfer ?
> > > > Just force wd->sc_multi to 1 in wd.c:wdattach() line 326
> > >
> > > This fixes the problem. So I guess the Samsung cards are lying when they
> > > claim to support 4-sector transfers? Or is there a bug in the NetBSD driver
> > > or something?
> > (not having looked at the code)
> > What does 'wd->sc_multi' control?
> use of WDCC_READ/WRITE or WDCC_READMULTI/WRITEMULTI
Mmmm... code in ata_wdc.c looks borked?
I can't see the path where WDCC_READ is given a sector count > 1.
That is a read of many sectors with a 512byte data burst for each sector.
(Oh and the only CF cards I've didn't support READMULTI - but would,
of course, support reads of more than one sector.)
David Laight: email@example.com