Subject: Re: ATA/ATAPI kernel redesign
To: Lloyd Parkes <lloyd@must-have-coffee.gen.nz>
From: David Brownlee <abs@netbsd.org>
List: tech-kern
Date: 02/17/2002 12:52:38
On Sun, 17 Feb 2002, Lloyd Parkes wrote:
> My proposal is as follows:
>
> 1) The files dev/ic/wdc* are copied into dev/ata/ and renamed to
> reflect a more ATA view of the world. Personally, I would do
> this by copying the CVS files because I like keeping a full
> history of changes.
> 2) The GENERIC config files are changed to comment out wdc on
> the ISA bus with appropriate comments explaining that this
> driver and the ata driver are mutually exclusive.
> 3) We clean up dev/ata/*, removing a lot of accumulated cruft.
> I expect that we would have enough support in dev/ata for
> early (dodgy) ATA devices that well behaved WDC style
> ST506/412 devices will in fact work with it.
If you do this then it would be better to include both in the
kernel config and probe/attach the new ata version on appropriate
machines, falling back to the wdc version on older machines.
--
David/absolute -- www.netbsd.org: No hype required --