Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[SCSI] iscsi boot: mv iscsi_boot_sysfs to drivers/scsi

iscsi_boot_sysfs does not depend on firmware. Any iscsi driver
can use it. This patch moves iscsi_boot_sysfs to the scsi
dir, so that it can be used on any arch with any driver.

Signed-off-by: Mike Christie <mchristi@redhat.com>
Acked-by: Konrad Rzeszutek Wilk <konrad@kernel.org>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>

authored by

Mike Christie and committed by
James Bottomley
aab7a8fd 787f0bd3

+9 -9
-8
drivers/firmware/Kconfig
··· 122 122 is necessary for iSCSI Boot Firmware Table Attributes module to work 123 123 properly. 124 124 125 - config ISCSI_BOOT_SYSFS 126 - tristate "iSCSI Boot Sysfs Interface" 127 - default n 128 - help 129 - This option enables support for exposing iSCSI boot information 130 - via sysfs to userspace. If you wish to export this information, 131 - say Y. Otherwise, say N. 132 - 133 125 config ISCSI_IBFT 134 126 tristate "iSCSI Boot Firmware Table Attributes module" 135 127 select ISCSI_BOOT_SYSFS
-1
drivers/firmware/Makefile
··· 10 10 obj-$(CONFIG_DMIID) += dmi-id.o 11 11 obj-$(CONFIG_ISCSI_IBFT_FIND) += iscsi_ibft_find.o 12 12 obj-$(CONFIG_ISCSI_IBFT) += iscsi_ibft.o 13 - obj-$(CONFIG_ISCSI_BOOT_SYSFS) += iscsi_boot_sysfs.o 14 13 obj-$(CONFIG_FIRMWARE_MEMMAP) += memmap.o
drivers/firmware/iscsi_boot_sysfs.c drivers/scsi/iscsi_boot_sysfs.c
+8
drivers/scsi/Kconfig
··· 370 370 371 371 http://open-iscsi.org 372 372 373 + config ISCSI_BOOT_SYSFS 374 + tristate "iSCSI Boot Sysfs Interface" 375 + default n 376 + help 377 + This option enables support for exposing iSCSI boot information 378 + via sysfs to userspace. If you wish to export this information, 379 + say Y. Otherwise, say N. 380 + 373 381 source "drivers/scsi/cxgb3i/Kconfig" 374 382 source "drivers/scsi/bnx2i/Kconfig" 375 383 source "drivers/scsi/be2iscsi/Kconfig"
+1
drivers/scsi/Makefile
··· 42 42 obj-$(CONFIG_FCOE_FNIC) += fnic/ 43 43 obj-$(CONFIG_ISCSI_TCP) += libiscsi.o libiscsi_tcp.o iscsi_tcp.o 44 44 obj-$(CONFIG_INFINIBAND_ISER) += libiscsi.o 45 + obj-$(CONFIG_ISCSI_BOOT_SYSFS) += iscsi_boot_sysfs.o 45 46 obj-$(CONFIG_SCSI_A4000T) += 53c700.o a4000t.o 46 47 obj-$(CONFIG_SCSI_ZORRO7XX) += 53c700.o zorro7xx.o 47 48 obj-$(CONFIG_A3000_SCSI) += a3000.o wd33c93.o