Re: [PATCH v2] firmware: only allow EDD on x86/x86_64

From: Mike Frysinger
Date: Tue Oct 06 2009 - 03:22:56 EST


On Tue, Oct 6, 2009 at 03:07, Takashi Iwai wrote:
> At Tue, Â6 Oct 2009 01:57:07 -0400,
>> Rather than have the EDD depend on !ia64 (and assuming that only ia64,
>> x86, x86_64 will be including this Kconfig), have EDD depend on the only
>> arches which can support this code. ÂThis should allow all other arches
>> to cleanly include the firmware Kconfig.
>>
>> Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>
>> ---
>> v2
>> Â Â Â - send out the right file this time
>>
>> Âdrivers/firmware/Kconfig | Â Â2 +-
>> Â1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/drivers/firmware/Kconfig b/drivers/firmware/Kconfig
>> index ebb9e51..7fff33f 100644
>> --- a/drivers/firmware/Kconfig
>> +++ b/drivers/firmware/Kconfig
>> @@ -7,7 +7,7 @@ menu "Firmware Drivers"
>>
>> Âconfig EDD
>> Â Â Â tristate "BIOS Enhanced Disk Drive calls determine boot disk"
>> - Â Â depends on !IA64
>> + Â Â depends on (X86_64 || X86_32)
>
> How about "depends on X86" ?

i merely copied the string as seen in FIRMWARE_MEMMAP ... i assumed
that was the way to go. if simply using x86 works, then i can change
it to that.
-mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/