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

can: {cc770,sja1000}_isa: allow building on x86_64

The ISA variable is only defined if X86_32 is also defined. However,
these drivers are still useful and in use on at least some modern 64-bit
x86 industrial systems as well. With the correct module parameters, they
work as long as IO port communication is possible, despite their name
having ISA in them.

Fixes: a29689e60ed3 ("net: handle HAS_IOPORT dependencies")
Signed-off-by: Thomas Mühlbacher <tmuehlbacher@posteo.net>
Link: https://patch.msgid.link/20240919174151.15473-2-tmuehlbacher@posteo.net
Cc: stable@vger.kernel.org
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>

authored by

Thomas Mühlbacher and committed by
Marc Kleine-Budde
7b22846f b6ec62e0

+2 -2
+1 -1
drivers/net/can/cc770/Kconfig
··· 7 7 8 8 config CAN_CC770_ISA 9 9 tristate "ISA Bus based legacy CC770 driver" 10 - depends on ISA 10 + depends on HAS_IOPORT 11 11 help 12 12 This driver adds legacy support for CC770 and AN82527 chips 13 13 connected to the ISA bus using I/O port, memory mapped or
+1 -1
drivers/net/can/sja1000/Kconfig
··· 87 87 88 88 config CAN_SJA1000_ISA 89 89 tristate "ISA Bus based legacy SJA1000 driver" 90 - depends on ISA 90 + depends on HAS_IOPORT 91 91 help 92 92 This driver adds legacy support for SJA1000 chips connected to 93 93 the ISA bus using I/O port, memory mapped or indirect access.