On Tue, Nov 04, 2003 at 11:35:38PM -0600, Olof Johansson wrote:
>
> On Tue, 4 Nov 2003, Olof Johansson wrote:
>
> > Attached patch [...]
>
> DOH! Here's the actual attachment too.
>
> -Olof
> diff -rpu yaboot-1.3.10/ybin/ofpath yaboot-1.3.10.olof/ybin/ofpath
> --- yaboot-1.3.10/ybin/ofpath 2003-02-26 05:23:48.000000000 -0600
> +++ yaboot-1.3.10.olof/ybin/ofpath 2003-11-04 22:55:54.199599608 -0600
> @@ -286,6 +286,12 @@ scsi_ofpath()
> DEVICE_PATH="$(printhost $SCSI_HOSTNUMBER $HOST_LIST)"
> echo "${DEVICE_PATH##*device-tree}/@$DEVICE_ID:$PARTITION"
> ;;
> + ata_k2)
> + HOST_LIST="$(for i in `find /proc/device-tree -name compatible` ; do
> + lgrep "$i" "k2-s-ata" ; done)"
> + DEVICE_PATH="$(printhost $SCSI_HOSTNUMBER $HOST_LIST)"
> + 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.
please confirm this work in all configurations with all disks before i
will apply.
--
Ethan Benson
http://www.alaska.net/~erbenson/
Attachment:
pgp00002.pgp
Description: PGP signature