Subject: Re: atabus query
To: Manuel Bouyer <email@example.com>
From: Patrick Welche <firstname.lastname@example.org>
Date: 10/28/2003 12:05:27
On Mon, Oct 27, 2003 at 10:43:08PM +0100, Manuel Bouyer wrote:
> On Mon, Oct 27, 2003 at 05:21:32PM +0000, Patrick Welche wrote:
> > Is an old pciide channel a new atabus? i.e.,
> > wd1 at pciide? channel 0 drive 1 flags 0x0000 # 233Gb raid set
> > wd2 at pciide? channel 1 drive 0 flags 0x0000 # 233Gb raid set
> > is now
> > wd1 at atabus 0 drive 1 flags 0x0000
> > wd2 at atabus 1 drive 0 flags 0x0000
> You need
> atabus0 at pciide? channel 0
> atabus1 at pciide? channel 1
> wd1 at atabus0 drive 1 flags 0x0000
> wd2 at atabus1 drive 0 flags 0x0000
> > (and maybe ata(4) needs updating..)
> What do you think is missing ?
Apparently nothing! I would never have guessed your solution from
what I saw in GENERIC though:
#pciide* at pnpbios? index ?
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver
atabus* at ata?
wd* at atabus? drive ? flags 0x0000
... and "atabus* at ata?" doesn't match the ata(4) man page:
atabus* at wdc? channel ?
atabus* at pciide? channel ?
which does however match your solution..