Skip to contentSkip to conversation

firmware: ACPI iBFT firmware support on EFI machines

PATCH In review Hannes Reinecke 2 participants 2 messages Jun 10, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 firmware: ACPI iBFT firmware support on EFI machines

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.

---
 drivers/firmware/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/firmware/Kconfig +1 -1
index 6517132..79204b2 100644
@@ -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
Signature · 1 line
1.8.5.2
#1 lore raw
Quoted 4 lines · 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.

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

Quoted 26 lines
---
 drivers/firmware/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/firmware/Kconfig +1 -2
index 6517132..79204b2 100644
@@ -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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/