* util/ieee1275/ofpath.c (of_path_of_ide): Fix address for secondary
channel.
This commit is contained in:
parent
ce4a999d4d
commit
165099ea42
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2011-12-24 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* util/ieee1275/ofpath.c (of_path_of_ide): Fix address for secondary
|
||||
channel.
|
||||
|
||||
2011-12-24 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/kern/ieee1275/openfw.c (grub_devalias_iterate): Fix
|
||||
|
|
|
@ -233,7 +233,7 @@ of_path_of_ide(char *of_path,
|
|||
p = get_basename (sysfs_path);
|
||||
sscanf(p, "%d.%d", &chan, &devno);
|
||||
|
||||
__of_path_common(of_path, sysfs_path, device, devno);
|
||||
__of_path_common(of_path, sysfs_path, device, 2 * chan + devno);
|
||||
|
||||
free (sysfs_path);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue