Differences between iscsi and gscsi

Tony Breeds tony at bakeyournoodle.com
Tue Feb 9 15:58:04 EST 2010


> Previous patch has a typo. Use this new one.
> RR

> diff -up yaboot-1.3.14/second/prom.c.iscsi yaboot-1.3.14/second/prom.c
> --- yaboot-1.3.14/second/prom.c.iscsi	2010-02-05 13:12:56.000000000 +0100
> +++ yaboot-1.3.14/second/prom.c	2010-02-05 13:13:24.000000000 +0100
> @@ -196,7 +196,7 @@ prom_get_devtype (char *device)
>       char       tmp[64];
>  
>       if (strstr(device, TOK_ISCSI))
> -	  device = strcpy(tmp, "/vdevice/gscsi/disk");
> +	  return FILE_DEVICE_ISCSI;
>  
>       /* Find OF device phandle */
>       dev = prom_finddevice(device);

Seems good to me.

Yours Tony


More information about the Yaboot-devel mailing list