Introduce CONFIG_CHECK_SIGNATURE
Introduce CONFIG_CHECK_SIGNATURE to control inclusion of check_signature() and avoid problems on platforms that don't have readb(). Let the few legacy (ISA || PCI || X86) drivers that need check_signature() select CONFIG_CHECK_SIGNATURE. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Jeff Dike <jdike@addtoit.com> Cc: Heiko Carstens <heiko.carstens@de.ibm.com> Cc: Roman Zippel <zippel@linux-m68k.org> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Cc: Martin Schwidefsky <schwidefsky@de.ibm.com> Cc: Russell King <rmk@arm.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
2301060e2b
commit
928923c76b
|
@ -68,6 +68,7 @@ config AMIGA_Z2RAM
|
||||||
config BLK_DEV_XD
|
config BLK_DEV_XD
|
||||||
tristate "XT hard disk support"
|
tristate "XT hard disk support"
|
||||||
depends on ISA && ISA_DMA_API
|
depends on ISA && ISA_DMA_API
|
||||||
|
select CHECK_SIGNATURE
|
||||||
help
|
help
|
||||||
Very old 8 bit hard disk controllers used in the IBM XT computer
|
Very old 8 bit hard disk controllers used in the IBM XT computer
|
||||||
will be supported if you say Y here.
|
will be supported if you say Y here.
|
||||||
|
|
|
@ -68,6 +68,7 @@ config INPUT_WISTRON_BTNS
|
||||||
select INPUT_POLLDEV
|
select INPUT_POLLDEV
|
||||||
select NEW_LEDS
|
select NEW_LEDS
|
||||||
select LEDS_CLASS
|
select LEDS_CLASS
|
||||||
|
select CHECK_SIGNATURE
|
||||||
help
|
help
|
||||||
Say Y here for support of Winstron laptop button interface, used on
|
Say Y here for support of Winstron laptop button interface, used on
|
||||||
laptops of various brands, including Acer and Fujitsu-Siemens. If
|
laptops of various brands, including Acer and Fujitsu-Siemens. If
|
||||||
|
|
|
@ -367,6 +367,7 @@ config SCSI_3W_9XXX
|
||||||
config SCSI_7000FASST
|
config SCSI_7000FASST
|
||||||
tristate "7000FASST SCSI support"
|
tristate "7000FASST SCSI support"
|
||||||
depends on ISA && SCSI && ISA_DMA_API
|
depends on ISA && SCSI && ISA_DMA_API
|
||||||
|
select CHECK_SIGNATURE
|
||||||
help
|
help
|
||||||
This driver supports the Western Digital 7000 SCSI host adapter
|
This driver supports the Western Digital 7000 SCSI host adapter
|
||||||
family. Some information is in the source:
|
family. Some information is in the source:
|
||||||
|
@ -388,6 +389,7 @@ config SCSI_AHA152X
|
||||||
tristate "Adaptec AHA152X/2825 support"
|
tristate "Adaptec AHA152X/2825 support"
|
||||||
depends on ISA && SCSI && !64BIT
|
depends on ISA && SCSI && !64BIT
|
||||||
select SCSI_SPI_ATTRS
|
select SCSI_SPI_ATTRS
|
||||||
|
select CHECK_SIGNATURE
|
||||||
---help---
|
---help---
|
||||||
This is a driver for the AHA-1510, AHA-1520, AHA-1522, and AHA-2825
|
This is a driver for the AHA-1510, AHA-1520, AHA-1522, and AHA-2825
|
||||||
SCSI host adapters. It also works for the AVA-1505, but the IRQ etc.
|
SCSI host adapters. It also works for the AVA-1505, but the IRQ etc.
|
||||||
|
@ -583,6 +585,7 @@ config SCSI_DTC3280
|
||||||
tristate "DTC3180/3280 SCSI support"
|
tristate "DTC3180/3280 SCSI support"
|
||||||
depends on ISA && SCSI
|
depends on ISA && SCSI
|
||||||
select SCSI_SPI_ATTRS
|
select SCSI_SPI_ATTRS
|
||||||
|
select CHECK_SIGNATURE
|
||||||
help
|
help
|
||||||
This is support for DTC 3180/3280 SCSI Host Adapters. Please read
|
This is support for DTC 3180/3280 SCSI Host Adapters. Please read
|
||||||
the SCSI-HOWTO, available from
|
the SCSI-HOWTO, available from
|
||||||
|
@ -657,6 +660,7 @@ config SCSI_EATA_PIO
|
||||||
config SCSI_FUTURE_DOMAIN
|
config SCSI_FUTURE_DOMAIN
|
||||||
tristate "Future Domain 16xx SCSI/AHA-2920A support"
|
tristate "Future Domain 16xx SCSI/AHA-2920A support"
|
||||||
depends on (ISA || PCI) && SCSI
|
depends on (ISA || PCI) && SCSI
|
||||||
|
select CHECK_SIGNATURE
|
||||||
---help---
|
---help---
|
||||||
This is support for Future Domain's 16-bit SCSI host adapters
|
This is support for Future Domain's 16-bit SCSI host adapters
|
||||||
(TMC-1660/1680, TMC-1650/1670, TMC-3260, TMC-1610M/MER/MEX) and
|
(TMC-1660/1680, TMC-1650/1670, TMC-3260, TMC-1610M/MER/MEX) and
|
||||||
|
@ -1324,6 +1328,7 @@ config SCSI_LPFC
|
||||||
config SCSI_SEAGATE
|
config SCSI_SEAGATE
|
||||||
tristate "Seagate ST-02 and Future Domain TMC-8xx SCSI support"
|
tristate "Seagate ST-02 and Future Domain TMC-8xx SCSI support"
|
||||||
depends on X86 && ISA && SCSI
|
depends on X86 && ISA && SCSI
|
||||||
|
select CHECK_SIGNATURE
|
||||||
---help---
|
---help---
|
||||||
These are 8-bit SCSI controllers; the ST-01 is also supported by
|
These are 8-bit SCSI controllers; the ST-01 is also supported by
|
||||||
this driver. It is explained in section 3.9 of the SCSI-HOWTO,
|
this driver. It is explained in section 3.9 of the SCSI-HOWTO,
|
||||||
|
@ -1397,6 +1402,7 @@ config SCSI_T128
|
||||||
tristate "Trantor T128/T128F/T228 SCSI support"
|
tristate "Trantor T128/T128F/T228 SCSI support"
|
||||||
depends on ISA && SCSI
|
depends on ISA && SCSI
|
||||||
select SCSI_SPI_ATTRS
|
select SCSI_SPI_ATTRS
|
||||||
|
select CHECK_SIGNATURE
|
||||||
---help---
|
---help---
|
||||||
This is support for a SCSI host adapter. It is explained in section
|
This is support for a SCSI host adapter. It is explained in section
|
||||||
3.11 of the SCSI-HOWTO, available from
|
3.11 of the SCSI-HOWTO, available from
|
||||||
|
|
|
@ -138,4 +138,7 @@ config HAS_DMA
|
||||||
depends on !NO_DMA
|
depends on !NO_DMA
|
||||||
default y
|
default y
|
||||||
|
|
||||||
|
config CHECK_SIGNATURE
|
||||||
|
bool
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
|
@ -21,7 +21,8 @@ CFLAGS_kobject_uevent.o += -DDEBUG
|
||||||
endif
|
endif
|
||||||
|
|
||||||
obj-$(CONFIG_GENERIC_IOMAP) += iomap.o
|
obj-$(CONFIG_GENERIC_IOMAP) += iomap.o
|
||||||
obj-$(CONFIG_HAS_IOMEM) += iomap_copy.o devres.o check_signature.o
|
obj-$(CONFIG_HAS_IOMEM) += iomap_copy.o devres.o
|
||||||
|
obj-$(CONFIG_CHECK_SIGNATURE) += check_signature.o
|
||||||
obj-$(CONFIG_DEBUG_LOCKING_API_SELFTESTS) += locking-selftest.o
|
obj-$(CONFIG_DEBUG_LOCKING_API_SELFTESTS) += locking-selftest.o
|
||||||
obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock_debug.o
|
obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock_debug.o
|
||||||
lib-$(CONFIG_RWSEM_GENERIC_SPINLOCK) += rwsem-spinlock.o
|
lib-$(CONFIG_RWSEM_GENERIC_SPINLOCK) += rwsem-spinlock.o
|
||||||
|
|
Loading…
Reference in New Issue