Subject: Re: New model of controller ?
To: Eric Delcamp <e.delcamp_NOSPAM@wanadoo.fr>
From: Steve Woodford <scw@netbsd.org>
List: port-i386
Date: 04/12/2000 08:57:20
On Tue, 11 Apr 2000, Eric Delcamp wrote:

> The new motherboard is a Gigabyte GA-5AX (rev 5.x) associated with a AMD
> K6-2/500. In the documentation, they said that the controller understand the
> UDMA/66 mode.

The ALI PCIIDE driver seems to have problems with some UDMA/66 drives (I
have a similar setup which also has the problem you describe). The
`workaround' is to modify the `flags' value for the `wd* at pciide?'
attachment in your config file to force UDMA mode 1 (ie. avoid modes 2 and
3). Your transfer rates will be limited to 16MB/s but at least it'll all
work.

As far as I can tell, the linux driver for the M5229 controller frobs with
a bunch more registers compared with Manuel's PCIIDE code. However, in
typical linux style, most (if not all) of it uses `magic' numbers and
register offsets with little or no documentation. Perhaps someone with
more PCIIDE clue could incorporate the relevant bits of code...

Cheers, Steve