Skip to content

Commit 7b22846

Browse files
tmuehlbachermarckleinebudde
authored andcommitted
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: a29689e ("net: handle HAS_IOPORT dependencies") Signed-off-by: Thomas Mühlbacher <[email protected]> Link: https://patch.msgid.link/[email protected] Cc: [email protected] Signed-off-by: Marc Kleine-Budde <[email protected]>
1 parent b6ec62e commit 7b22846

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/net/can/cc770/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if CAN_CC770
77

88
config CAN_CC770_ISA
99
tristate "ISA Bus based legacy CC770 driver"
10-
depends on ISA
10+
depends on HAS_IOPORT
1111
help
1212
This driver adds legacy support for CC770 and AN82527 chips
1313
connected to the ISA bus using I/O port, memory mapped or

drivers/net/can/sja1000/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ config CAN_PLX_PCI
8787

8888
config CAN_SJA1000_ISA
8989
tristate "ISA Bus based legacy SJA1000 driver"
90-
depends on ISA
90+
depends on HAS_IOPORT
9191
help
9292
This driver adds legacy support for SJA1000 chips connected to
9393
the ISA bus using I/O port, memory mapped or indirect access.

0 commit comments

Comments
 (0)