X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=second%2Fprom.c;h=8cb8a41951a8fc9460d3543a30a46f7acb757a57;hb=778a7e33cfa273b52c5b6256e61da1e00303d304;hp=5ec06b88e7e1426b33e5a04050e4e4c3c607cea3;hpb=6f00a510abbfaa45b580cf5f371f0168ba662d3d;p=yaboot.git diff --git a/second/prom.c b/second/prom.c index 5ec06b8..8cb8a41 100644 --- a/second/prom.c +++ b/second/prom.c @@ -174,6 +174,9 @@ prom_get_devtype (char *device) int result; char tmp[64]; + if (strstr(device, TOK_ISCSI)) + device = strcpy(tmp, "/vdevice/gscsi/disk"); + /* Find OF device phandle */ dev = prom_finddevice(device); if (dev == PROM_INVALID_HANDLE) {