2010-11-04 Robert Millan <rmh@gnu.org>

* util/deviceiter.c (grub_util_iterate_devices): Increase SCSI
	limit to 48 (to cope with Sun Fire X4500), and IDE limit to 96
	(its SATA disks are detected as slaveless IDE master drives on
	kFreeBSD).
	Reported by Carsten Aulbert.
This commit is contained in:
Robert Millan 2010-11-04 13:58:29 +01:00
parent a75f4f62ae
commit 1a3aaff40f
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2010-11-04 Robert Millan <rmh@gnu.org>
* util/deviceiter.c (grub_util_iterate_devices): Increase SCSI
limit to 48 (to cope with Sun Fire X4500), and IDE limit to 96
(its SATA disks are detected as slaveless IDE master drives on
kFreeBSD).
Reported by Carsten Aulbert.
2010-11-02 Colin Watson <cjwatson@ubuntu.com>
* util/bin2h.c (main): Fix spelling error in generated output.

View File

@ -601,7 +601,7 @@ grub_util_iterate_devices (int NESTED_FUNC_ATTR (*hook) (const char *, int),
#endif /* __linux__ */
/* IDE disks. */
for (i = 0; i < 26; i++)
for (i = 0; i < 96; i++)
{
char name[16];
@ -655,7 +655,7 @@ grub_util_iterate_devices (int NESTED_FUNC_ATTR (*hook) (const char *, int),
#endif /* __linux__ */
/* The rest is SCSI disks. */
for (i = 0; i < 26; i++)
for (i = 0; i < 48; i++)
{
char name[16];