[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ppc patch] support SCSI disks
From: |
Marco Gerards |
Subject: |
Re: [ppc patch] support SCSI disks |
Date: |
Sun, 03 Oct 2004 09:21:51 +0000 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
Hollis Blanchard <address@hidden> writes:
> This patch allows grub2 to find SCSI disks. Please apply.
>
> 2004-10-01 Hollis Blanchard <address@hidden>
>
> * disk/powerpc/ieee1275/ofdisk.c (grub_ofdisk_iterate):
> call grub_children_iterate for device nodes of type `scsi'.
> (grub_ofdisk_open): remove manual device alias resolution.
> Fix memory leak when device cannot be opened.
> Fix error checking after grub_ieee1275_get_property.
> * include/grub/powerpc/ieee1275/ieee1275.h
> (grub_children_iterate): new prototype.
> * kern/powerpc/ieee1275/openfw.c (grub_children_iterate):
> new function.
Isn't it possible to make this a bit more generic? So not iterating
over only scsi but also over `ide' when it is available, for example?
That way it is more likely the code will work on other machines as
well.
Or is this idea just silly?
Thanks,
Marco