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

Configure Feed

Select the types of activity you want to include in your feed.

mISDN: add HAS_IOPORT dependencies

In a future patch HAS_IOPORT=n will result in inb()/outb() and friends
not being declared. We thus need to add HAS_IOPORT as dependency for
those drivers using them. With that the !S390 dependency on ISDN can be
removed as all drivers without HAS_IOPORT requirement now build.

Co-developed-by: Arnd Bergmann <arnd@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@kernel.org>
Acked-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Link: https://lore.kernel.org/r/20230522105049.1467313-21-schnelle@linux.ibm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Niklas Schnelle and committed by
Greg Kroah-Hartman
14360031 e7f3dd80

+6 -7
-1
drivers/isdn/Kconfig
··· 6 6 menuconfig ISDN 7 7 bool "ISDN support" 8 8 depends on NET && NETDEVICES 9 - depends on !S390 && !UML 10 9 help 11 10 ISDN ("Integrated Services Digital Network", called RNIS in France) 12 11 is a fully digital telephone service that can be used for voice and
+6 -6
drivers/isdn/hardware/mISDN/Kconfig
··· 14 14 15 15 config MISDN_HFCMULTI 16 16 tristate "Support for HFC multiport cards (HFC-4S/8S/E1)" 17 - depends on PCI || CPM1 17 + depends on (PCI || CPM1) && HAS_IOPORT 18 18 depends on MISDN 19 19 help 20 20 Enable support for cards with Cologne Chip AG's HFC multiport ··· 43 43 config MISDN_AVMFRITZ 44 44 tristate "Support for AVM FRITZ!CARD PCI" 45 45 depends on MISDN 46 - depends on PCI 46 + depends on PCI && HAS_IOPORT 47 47 select MISDN_IPAC 48 48 help 49 49 Enable support for AVMs FRITZ!CARD PCI cards ··· 51 51 config MISDN_SPEEDFAX 52 52 tristate "Support for Sedlbauer Speedfax+" 53 53 depends on MISDN 54 - depends on PCI 54 + depends on PCI && HAS_IOPORT 55 55 select MISDN_IPAC 56 56 select MISDN_ISAR 57 57 help ··· 60 60 config MISDN_INFINEON 61 61 tristate "Support for cards with Infineon chipset" 62 62 depends on MISDN 63 - depends on PCI 63 + depends on PCI && HAS_IOPORT 64 64 select MISDN_IPAC 65 65 help 66 66 Enable support for cards with ISAC + HSCX, IPAC or IPAC-SX ··· 69 69 config MISDN_W6692 70 70 tristate "Support for cards with Winbond 6692" 71 71 depends on MISDN 72 - depends on PCI 72 + depends on PCI && HAS_IOPORT 73 73 help 74 74 Enable support for Winbond 6692 PCI chip based cards. 75 75 76 76 config MISDN_NETJET 77 77 tristate "Support for NETJet cards" 78 78 depends on MISDN 79 - depends on PCI 79 + depends on PCI && HAS_IOPORT 80 80 depends on TTY 81 81 select MISDN_IPAC 82 82 select MISDN_HDLC