summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/firmware/Kconfig5
-rw-r--r--drivers/firmware/iscsi_ibft.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/drivers/firmware/Kconfig b/drivers/firmware/Kconfig
index f754578414f0..f028218815c6 100644
--- a/drivers/firmware/Kconfig
+++ b/drivers/firmware/Kconfig
@@ -170,7 +170,7 @@ config DMI_SCAN_MACHINE_NON_EFI_FALLBACK
170 170
171config ISCSI_IBFT_FIND 171config ISCSI_IBFT_FIND
172 bool "iSCSI Boot Firmware Table Attributes" 172 bool "iSCSI Boot Firmware Table Attributes"
173 depends on X86 && ACPI 173 depends on X86 && ISCSI_IBFT
174 default n 174 default n
175 help 175 help
176 This option enables the kernel to find the region of memory 176 This option enables the kernel to find the region of memory
@@ -181,7 +181,8 @@ config ISCSI_IBFT_FIND
181config ISCSI_IBFT 181config ISCSI_IBFT
182 tristate "iSCSI Boot Firmware Table Attributes module" 182 tristate "iSCSI Boot Firmware Table Attributes module"
183 select ISCSI_BOOT_SYSFS 183 select ISCSI_BOOT_SYSFS
184 depends on ISCSI_IBFT_FIND && SCSI && SCSI_LOWLEVEL 184 select ISCSI_IBFT_FIND if X86
185 depends on ACPI && SCSI && SCSI_LOWLEVEL
185 default n 186 default n
186 help 187 help
187 This option enables support for detection and exposing of iSCSI 188 This option enables support for detection and exposing of iSCSI
diff --git a/drivers/firmware/iscsi_ibft.c b/drivers/firmware/iscsi_ibft.c
index c51462f5aa1e..966aef334c42 100644
--- a/drivers/firmware/iscsi_ibft.c
+++ b/drivers/firmware/iscsi_ibft.c
@@ -93,6 +93,10 @@ MODULE_DESCRIPTION("sysfs interface to BIOS iBFT information");
93MODULE_LICENSE("GPL"); 93MODULE_LICENSE("GPL");
94MODULE_VERSION(IBFT_ISCSI_VERSION); 94MODULE_VERSION(IBFT_ISCSI_VERSION);
95 95
96#ifndef CONFIG_ISCSI_IBFT_FIND
97struct acpi_table_ibft *ibft_addr;
98#endif
99
96struct ibft_hdr { 100struct ibft_hdr {
97 u8 id; 101 u8 id;
98 u8 version; 102 u8 version;