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

Re: [PATCH] yaboot 1.3.10 G5 support



On Tue, 4 Nov 2003, Ethan Benson wrote:

> > +	    echo "${DEVICE_PATH##*device-tree}/k2-sata@$DEVICE_ID/disk@0:$PARTITION"
>
> this doesn't look quite right to me why do you have that disk@0 ?  I
> don't think this patch will work for anything but the first disk.

This has been discussed later in the thread, but I figured I'll answer
too:

Without a second SATA drive, I can't verify for sure. But the
"io-device-location" property in ../k2-sata@0/io-device-location is "A
(upper)", and for ../k2-sata@1/io-device-location it's "B (lower)".
There's only two drive locations on a G5, so that corresponds to the
physical locations of the two drives.

As previously mentioned, there's only one drive per bus on SATA, so it
makes sense logically as well (k2-sata@<busno>/disk@0).

If someone else has more hardware and can test; please do and let us know
if this is correct. Otherwise, It'll have to wait until I order another
drive (WD Raptor anyone? :).


-Olof