]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
can: {cc770,sja1000}_isa: allow building on x86_64
authorThomas Mühlbacher <tmuehlbacher@posteo.net>
Thu, 19 Sep 2024 17:35:22 +0000 (17:35 +0000)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 4 Nov 2024 16:46:06 +0000 (17:46 +0100)
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>
drivers/net/can/cc770/Kconfig
drivers/net/can/sja1000/Kconfig

index 467ef19de1c18302e30f4d8d71283ff5f6a68f44..aae25c2f849e45f12316213d96c28aa51cb83f70 100644 (file)
@@ -7,7 +7,7 @@ if CAN_CC770
 
 config CAN_CC770_ISA
        tristate "ISA Bus based legacy CC770 driver"
-       depends on ISA
+       depends on HAS_IOPORT
        help
          This driver adds legacy support for CC770 and AN82527 chips
          connected to the ISA bus using I/O port, memory mapped or
index 01168db4c10653048663fcd6d92b537ba09fdb4c..2f516cc6d22c4028b1de383baa6b3d3a7605b791 100644 (file)
@@ -87,7 +87,7 @@ config CAN_PLX_PCI
 
 config CAN_SJA1000_ISA
        tristate "ISA Bus based legacy SJA1000 driver"
-       depends on ISA
+       depends on HAS_IOPORT
        help
          This driver adds legacy support for SJA1000 chips connected to
          the ISA bus using I/O port, memory mapped or indirect access.