mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] firmware: ACPI iBFT firmware support on EFI machines
@ 2015-06-10  6:32 Hannes Reinecke
  2015-06-10 14:25 ` Josh Boyer
  0 siblings, 1 reply; 2+ messages in thread
From: Hannes Reinecke @ 2015-06-10  6:32 UTC (permalink / raw)
  To: Mike Christie
  Cc: linux-kernel, Konrad Rzeszutek Wilk, open-iscsi, Hannes Reinecke

The iBFT firmware tables can also be specified via ACPI tables
when using EFI firmware. The 'iscsi_ibft_find' module is only
for legacy X86 BIOS, so it needs to be skipped for all other
architectures.

Signed-off-by: Hannes Reinecke <hare@suse.de>
---
 drivers/firmware/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/firmware/Kconfig b/drivers/firmware/Kconfig
index 6517132..79204b2 100644
--- a/drivers/firmware/Kconfig
+++ b/drivers/firmware/Kconfig
@@ -124,7 +124,7 @@ config ISCSI_IBFT_FIND
 config ISCSI_IBFT
 	tristate "iSCSI Boot Firmware Table Attributes module"
 	select ISCSI_BOOT_SYSFS
-	depends on ISCSI_IBFT_FIND && SCSI && SCSI_LOWLEVEL
+	depends on (ISCSI_IBFT_FIND || ACPI) && SCSI && SCSI_LOWLEVEL
 	default	n
 	help
 	  This option enables support for detection and exposing of iSCSI
-- 
1.8.5.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] firmware: ACPI iBFT firmware support on EFI machines
  2015-06-10  6:32 [PATCH] firmware: ACPI iBFT firmware support on EFI machines Hannes Reinecke
@ 2015-06-10 14:25 ` Josh Boyer
  0 siblings, 0 replies; 2+ messages in thread
From: Josh Boyer @ 2015-06-10 14:25 UTC (permalink / raw)
  To: Hannes Reinecke
  Cc: Mike Christie, Linux-Kernel@Vger. Kernel. Org,
	Konrad Rzeszutek Wilk, open-iscsi

On Wed, Jun 10, 2015 at 2:32 AM, Hannes Reinecke <hare@suse.de> wrote:
> The iBFT firmware tables can also be specified via ACPI tables
> when using EFI firmware. The 'iscsi_ibft_find' module is only
> for legacy X86 BIOS, so it needs to be skipped for all other
> architectures.

If this is only valid for X86,  you probably want to add a dependency
on X86.  There are other architectures that use ACPI, notable ia64 and
arm64 in the not distant future.

josh

> Signed-off-by: Hannes Reinecke <hare@suse.de>
> ---
>  drivers/firmware/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/firmware/Kconfig b/drivers/firmware/Kconfig
> index 6517132..79204b2 100644
> --- a/drivers/firmware/Kconfig
> +++ b/drivers/firmware/Kconfig
> @@ -124,7 +124,7 @@ config ISCSI_IBFT_FIND
>  config ISCSI_IBFT
>         tristate "iSCSI Boot Firmware Table Attributes module"
>         select ISCSI_BOOT_SYSFS
> -       depends on ISCSI_IBFT_FIND && SCSI && SCSI_LOWLEVEL
> +       depends on (ISCSI_IBFT_FIND || ACPI) && SCSI && SCSI_LOWLEVEL
>         default n
>         help
>           This option enables support for detection and exposing of iSCSI
> --
> 1.8.5.2
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-10 14:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-10  6:32 [PATCH] firmware: ACPI iBFT firmware support on EFI machines Hannes Reinecke
2015-06-10 14:25 ` Josh Boyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome