- Remove unneeded variable.
- Remove change for my local configuration that slipped in with the last commit; I am having problems booting when multiple SCSI disks are attached, so I will change this part as soon as I find a solution, anyway.
This commit is contained in:
parent
1e92845e1b
commit
2649cfd7fd
@ -75,7 +75,6 @@ ofwd_init(void)
|
|||||||
int ret;
|
int ret;
|
||||||
char devpath[255];
|
char devpath[255];
|
||||||
ihandle_t instance;
|
ihandle_t instance;
|
||||||
int i;
|
|
||||||
|
|
||||||
ofw_devsearch_init();
|
ofw_devsearch_init();
|
||||||
while ((ret = ofw_devsearch("block", devpath)) != 0) {
|
while ((ret = ofw_devsearch("block", devpath)) != 0) {
|
||||||
@ -96,7 +95,6 @@ ofwd_init(void)
|
|||||||
printf("disk%d is %s\n", nofwdinfo, ofwdinfo[nofwdinfo].ofwd_path);
|
printf("disk%d is %s\n", nofwdinfo, ofwdinfo[nofwdinfo].ofwd_path);
|
||||||
nofwdinfo++;
|
nofwdinfo++;
|
||||||
OF_close(instance);
|
OF_close(instance);
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (nofwdinfo > MAXDEV) {
|
if (nofwdinfo > MAXDEV) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user