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

tty: move a number of tty drivers from drivers/char/ to drivers/tty/

As planned by Arnd Bergmann, this moves the following drivers from
drivers/char/ to drivers/tty/ as that's where they really belong:
amiserial
nozomi
synclink
rocket
cyclades
moxa
mxser
isicom
bfin_jtag_comm

Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

+184 -183
-172
drivers/char/Kconfig
··· 15 15 kind of kernel debugging operations. 16 16 When in doubt, say "N". 17 17 18 - config BFIN_JTAG_COMM 19 - tristate "Blackfin JTAG Communication" 20 - depends on BLACKFIN 21 - help 22 - Add support for emulating a TTY device over the Blackfin JTAG. 23 - 24 - To compile this driver as a module, choose M here: the 25 - module will be called bfin_jtag_comm. 26 - 27 - config BFIN_JTAG_COMM_CONSOLE 28 - bool "Console on Blackfin JTAG" 29 - depends on BFIN_JTAG_COMM=y 30 - 31 - config SERIAL_NONSTANDARD 32 - bool "Non-standard serial port support" 33 - depends on HAS_IOMEM 34 - ---help--- 35 - Say Y here if you have any non-standard serial boards -- boards 36 - which aren't supported using the standard "dumb" serial driver. 37 - This includes intelligent serial boards such as Cyclades, 38 - Digiboards, etc. These are usually used for systems that need many 39 - serial ports because they serve many terminals or dial-in 40 - connections. 41 - 42 - Note that the answer to this question won't directly affect the 43 - kernel: saying N will just cause the configurator to skip all 44 - the questions about non-standard serial boards. 45 - 46 - Most people can say N here. 47 - 48 18 config COMPUTONE 49 19 tristate "Computone IntelliPort Plus serial support" 50 20 depends on SERIAL_NONSTANDARD && (ISA || EISA || PCI) ··· 30 60 To compile this driver as module, choose M here: the 31 61 module will be called ip2. 32 62 33 - config ROCKETPORT 34 - tristate "Comtrol RocketPort support" 35 - depends on SERIAL_NONSTANDARD && (ISA || EISA || PCI) 36 - help 37 - This driver supports Comtrol RocketPort and RocketModem PCI boards. 38 - These boards provide 2, 4, 8, 16, or 32 high-speed serial ports or 39 - modems. For information about the RocketPort/RocketModem boards 40 - and this driver read <file:Documentation/serial/rocket.txt>. 41 - 42 - To compile this driver as a module, choose M here: the 43 - module will be called rocket. 44 - 45 - If you want to compile this driver into the kernel, say Y here. If 46 - you don't have a Comtrol RocketPort/RocketModem card installed, say N. 47 - 48 - config CYCLADES 49 - tristate "Cyclades async mux support" 50 - depends on SERIAL_NONSTANDARD && (PCI || ISA) 51 - select FW_LOADER 52 - ---help--- 53 - This driver supports Cyclades Z and Y multiserial boards. 54 - You would need something like this to connect more than two modems to 55 - your Linux box, for instance in order to become a dial-in server. 56 - 57 - For information about the Cyclades-Z card, read 58 - <file:Documentation/serial/README.cycladesZ>. 59 - 60 - To compile this driver as a module, choose M here: the 61 - module will be called cyclades. 62 - 63 - If you haven't heard about it, it's safe to say N. 64 - 65 - config CYZ_INTR 66 - bool "Cyclades-Z interrupt mode operation (EXPERIMENTAL)" 67 - depends on EXPERIMENTAL && CYCLADES 68 - help 69 - The Cyclades-Z family of multiport cards allows 2 (two) driver op 70 - modes: polling and interrupt. In polling mode, the driver will check 71 - the status of the Cyclades-Z ports every certain amount of time 72 - (which is called polling cycle and is configurable). In interrupt 73 - mode, it will use an interrupt line (IRQ) in order to check the 74 - status of the Cyclades-Z ports. The default op mode is polling. If 75 - unsure, say N. 76 - 77 63 config DIGIEPCA 78 64 tristate "Digiboard Intelligent Async Support" 79 65 depends on SERIAL_NONSTANDARD && (ISA || EISA || PCI) ··· 44 118 45 119 To compile this driver as a module, choose M here: the 46 120 module will be called epca. 47 - 48 - config MOXA_INTELLIO 49 - tristate "Moxa Intellio support" 50 - depends on SERIAL_NONSTANDARD && (ISA || EISA || PCI) 51 - select FW_LOADER 52 - help 53 - Say Y here if you have a Moxa Intellio multiport serial card. 54 - 55 - To compile this driver as a module, choose M here: the 56 - module will be called moxa. 57 - 58 - config MOXA_SMARTIO 59 - tristate "Moxa SmartIO support v. 2.0" 60 - depends on SERIAL_NONSTANDARD && (PCI || EISA || ISA) 61 - help 62 - Say Y here if you have a Moxa SmartIO multiport serial card and/or 63 - want to help develop a new version of this driver. 64 - 65 - This is upgraded (1.9.1) driver from original Moxa drivers with 66 - changes finally resulting in PCI probing. 67 - 68 - This driver can also be built as a module. The module will be called 69 - mxser. If you want to do that, say M here. 70 - 71 - config ISI 72 - tristate "Multi-Tech multiport card support (EXPERIMENTAL)" 73 - depends on SERIAL_NONSTANDARD && PCI 74 - select FW_LOADER 75 - help 76 - This is a driver for the Multi-Tech cards which provide several 77 - serial ports. The driver is experimental and can currently only be 78 - built as a module. The module will be called isicom. 79 - If you want to do that, choose M here. 80 - 81 - config SYNCLINK 82 - tristate "Microgate SyncLink card support" 83 - depends on SERIAL_NONSTANDARD && PCI && ISA_DMA_API 84 - help 85 - Provides support for the SyncLink ISA and PCI multiprotocol serial 86 - adapters. These adapters support asynchronous and HDLC bit 87 - synchronous communication up to 10Mbps (PCI adapter). 88 - 89 - This driver can only be built as a module ( = code which can be 90 - inserted in and removed from the running kernel whenever you want). 91 - The module will be called synclink. If you want to do that, say M 92 - here. 93 - 94 - config SYNCLINKMP 95 - tristate "SyncLink Multiport support" 96 - depends on SERIAL_NONSTANDARD && PCI 97 - help 98 - Enable support for the SyncLink Multiport (2 or 4 ports) 99 - serial adapter, running asynchronous and HDLC communications up 100 - to 2.048Mbps. Each ports is independently selectable for 101 - RS-232, V.35, RS-449, RS-530, and X.21 102 - 103 - This driver may be built as a module ( = code which can be 104 - inserted in and removed from the running kernel whenever you want). 105 - The module will be called synclinkmp. If you want to do that, say M 106 - here. 107 - 108 - config SYNCLINK_GT 109 - tristate "SyncLink GT/AC support" 110 - depends on SERIAL_NONSTANDARD && PCI 111 - help 112 - Support for SyncLink GT and SyncLink AC families of 113 - synchronous and asynchronous serial adapters 114 - manufactured by Microgate Systems, Ltd. (www.microgate.com) 115 - 116 - config N_HDLC 117 - tristate "HDLC line discipline support" 118 - depends on SERIAL_NONSTANDARD 119 - help 120 - Allows synchronous HDLC communications with tty device drivers that 121 - support synchronous HDLC such as the Microgate SyncLink adapter. 122 - 123 - This driver can be built as a module ( = code which can be 124 - inserted in and removed from the running kernel whenever you want). 125 - The module will be called n_hdlc. If you want to do that, say M 126 - here. 127 - 128 - config N_GSM 129 - tristate "GSM MUX line discipline support (EXPERIMENTAL)" 130 - depends on EXPERIMENTAL 131 - depends on NET 132 - help 133 - This line discipline provides support for the GSM MUX protocol and 134 - presents the mux as a set of 61 individual tty devices. 135 121 136 122 config RISCOM8 137 123 tristate "SDL RISCom/8 card support" ··· 133 295 134 296 To compile this driver as a module, choose M here: the 135 297 module will be called istallion. 136 - 137 - config NOZOMI 138 - tristate "HSDPA Broadband Wireless Data Card - Globe Trotter" 139 - depends on PCI && EXPERIMENTAL 140 - help 141 - If you have a HSDPA driver Broadband Wireless Data Card - 142 - Globe Trotter PCMCIA card, say Y here. 143 - 144 - To compile this driver as a module, choose M here, the module 145 - will be called nozomi. 146 298 147 299 config A2232 148 300 tristate "Commodore A2232 serial support (EXPERIMENTAL)"
-11
drivers/char/Makefile
··· 5 5 obj-y += mem.o random.o 6 6 obj-$(CONFIG_TTY_PRINTK) += ttyprintk.o 7 7 obj-y += misc.o 8 - obj-$(CONFIG_BFIN_JTAG_COMM) += bfin_jtag_comm.o 9 8 obj-$(CONFIG_MVME147_SCC) += generic_serial.o vme_scc.o 10 9 obj-$(CONFIG_MVME162_SCC) += generic_serial.o vme_scc.o 11 10 obj-$(CONFIG_BVME6000_SCC) += generic_serial.o vme_scc.o 12 - obj-$(CONFIG_ROCKETPORT) += rocket.o 13 11 obj-$(CONFIG_SERIAL167) += serial167.o 14 - obj-$(CONFIG_CYCLADES) += cyclades.o 15 12 obj-$(CONFIG_STALLION) += stallion.o 16 13 obj-$(CONFIG_ISTALLION) += istallion.o 17 - obj-$(CONFIG_NOZOMI) += nozomi.o 18 14 obj-$(CONFIG_DIGIEPCA) += epca.o 19 15 obj-$(CONFIG_SPECIALIX) += specialix.o 20 - obj-$(CONFIG_MOXA_INTELLIO) += moxa.o 21 16 obj-$(CONFIG_A2232) += ser_a2232.o generic_serial.o 22 17 obj-$(CONFIG_ATARI_DSP56K) += dsp56k.o 23 - obj-$(CONFIG_MOXA_SMARTIO) += mxser.o 24 18 obj-$(CONFIG_COMPUTONE) += ip2/ 25 19 obj-$(CONFIG_RISCOM8) += riscom8.o 26 - obj-$(CONFIG_ISI) += isicom.o 27 - obj-$(CONFIG_SYNCLINK) += synclink.o 28 - obj-$(CONFIG_SYNCLINKMP) += synclinkmp.o 29 - obj-$(CONFIG_SYNCLINK_GT) += synclink_gt.o 30 - obj-$(CONFIG_AMIGA_BUILTIN_SERIAL) += amiserial.o 31 20 obj-$(CONFIG_SX) += sx.o generic_serial.o 32 21 obj-$(CONFIG_RIO) += rio/ generic_serial.o 33 22 obj-$(CONFIG_RAW_DRIVER) += raw.o
drivers/char/amiserial.c drivers/tty/amiserial.c
drivers/char/bfin_jtag_comm.c drivers/tty/bfin_jtag_comm.c
drivers/char/cyclades.c drivers/tty/cyclades.c
drivers/char/isicom.c drivers/tty/isicom.c
drivers/char/moxa.c drivers/tty/moxa.c
drivers/char/moxa.h drivers/tty/moxa.h
drivers/char/mxser.c drivers/tty/mxser.c
drivers/char/mxser.h drivers/tty/mxser.h
drivers/char/nozomi.c drivers/tty/nozomi.c
drivers/char/rocket.c drivers/tty/rocket.c
drivers/char/rocket.h drivers/tty/rocket.h
drivers/char/rocket_int.h drivers/tty/rocket_int.h
drivers/char/synclink.c drivers/tty/synclink.c
drivers/char/synclinkmp.c drivers/tty/synclinkmp.c
+171
drivers/tty/Kconfig
··· 147 147 When not in use, each legacy PTY occupies 12 bytes on 32-bit 148 148 architectures and 24 bytes on 64-bit architectures. 149 149 150 + config BFIN_JTAG_COMM 151 + tristate "Blackfin JTAG Communication" 152 + depends on BLACKFIN 153 + help 154 + Add support for emulating a TTY device over the Blackfin JTAG. 155 + 156 + To compile this driver as a module, choose M here: the 157 + module will be called bfin_jtag_comm. 158 + 159 + config BFIN_JTAG_COMM_CONSOLE 160 + bool "Console on Blackfin JTAG" 161 + depends on BFIN_JTAG_COMM=y 162 + 163 + config SERIAL_NONSTANDARD 164 + bool "Non-standard serial port support" 165 + depends on HAS_IOMEM 166 + ---help--- 167 + Say Y here if you have any non-standard serial boards -- boards 168 + which aren't supported using the standard "dumb" serial driver. 169 + This includes intelligent serial boards such as Cyclades, 170 + Digiboards, etc. These are usually used for systems that need many 171 + serial ports because they serve many terminals or dial-in 172 + connections. 173 + 174 + Note that the answer to this question won't directly affect the 175 + kernel: saying N will just cause the configurator to skip all 176 + the questions about non-standard serial boards. 177 + 178 + Most people can say N here. 179 + 180 + config ROCKETPORT 181 + tristate "Comtrol RocketPort support" 182 + depends on SERIAL_NONSTANDARD && (ISA || EISA || PCI) 183 + help 184 + This driver supports Comtrol RocketPort and RocketModem PCI boards. 185 + These boards provide 2, 4, 8, 16, or 32 high-speed serial ports or 186 + modems. For information about the RocketPort/RocketModem boards 187 + and this driver read <file:Documentation/serial/rocket.txt>. 188 + 189 + To compile this driver as a module, choose M here: the 190 + module will be called rocket. 191 + 192 + If you want to compile this driver into the kernel, say Y here. If 193 + you don't have a Comtrol RocketPort/RocketModem card installed, say N. 194 + 195 + config CYCLADES 196 + tristate "Cyclades async mux support" 197 + depends on SERIAL_NONSTANDARD && (PCI || ISA) 198 + select FW_LOADER 199 + ---help--- 200 + This driver supports Cyclades Z and Y multiserial boards. 201 + You would need something like this to connect more than two modems to 202 + your Linux box, for instance in order to become a dial-in server. 203 + 204 + For information about the Cyclades-Z card, read 205 + <file:Documentation/serial/README.cycladesZ>. 206 + 207 + To compile this driver as a module, choose M here: the 208 + module will be called cyclades. 209 + 210 + If you haven't heard about it, it's safe to say N. 211 + 212 + config CYZ_INTR 213 + bool "Cyclades-Z interrupt mode operation (EXPERIMENTAL)" 214 + depends on EXPERIMENTAL && CYCLADES 215 + help 216 + The Cyclades-Z family of multiport cards allows 2 (two) driver op 217 + modes: polling and interrupt. In polling mode, the driver will check 218 + the status of the Cyclades-Z ports every certain amount of time 219 + (which is called polling cycle and is configurable). In interrupt 220 + mode, it will use an interrupt line (IRQ) in order to check the 221 + status of the Cyclades-Z ports. The default op mode is polling. If 222 + unsure, say N. 223 + 224 + config MOXA_INTELLIO 225 + tristate "Moxa Intellio support" 226 + depends on SERIAL_NONSTANDARD && (ISA || EISA || PCI) 227 + select FW_LOADER 228 + help 229 + Say Y here if you have a Moxa Intellio multiport serial card. 230 + 231 + To compile this driver as a module, choose M here: the 232 + module will be called moxa. 233 + 234 + config MOXA_SMARTIO 235 + tristate "Moxa SmartIO support v. 2.0" 236 + depends on SERIAL_NONSTANDARD && (PCI || EISA || ISA) 237 + help 238 + Say Y here if you have a Moxa SmartIO multiport serial card and/or 239 + want to help develop a new version of this driver. 240 + 241 + This is upgraded (1.9.1) driver from original Moxa drivers with 242 + changes finally resulting in PCI probing. 243 + 244 + This driver can also be built as a module. The module will be called 245 + mxser. If you want to do that, say M here. 246 + 247 + config SYNCLINK 248 + tristate "Microgate SyncLink card support" 249 + depends on SERIAL_NONSTANDARD && PCI && ISA_DMA_API 250 + help 251 + Provides support for the SyncLink ISA and PCI multiprotocol serial 252 + adapters. These adapters support asynchronous and HDLC bit 253 + synchronous communication up to 10Mbps (PCI adapter). 254 + 255 + This driver can only be built as a module ( = code which can be 256 + inserted in and removed from the running kernel whenever you want). 257 + The module will be called synclink. If you want to do that, say M 258 + here. 259 + 260 + config SYNCLINKMP 261 + tristate "SyncLink Multiport support" 262 + depends on SERIAL_NONSTANDARD && PCI 263 + help 264 + Enable support for the SyncLink Multiport (2 or 4 ports) 265 + serial adapter, running asynchronous and HDLC communications up 266 + to 2.048Mbps. Each ports is independently selectable for 267 + RS-232, V.35, RS-449, RS-530, and X.21 268 + 269 + This driver may be built as a module ( = code which can be 270 + inserted in and removed from the running kernel whenever you want). 271 + The module will be called synclinkmp. If you want to do that, say M 272 + here. 273 + 274 + config SYNCLINK_GT 275 + tristate "SyncLink GT/AC support" 276 + depends on SERIAL_NONSTANDARD && PCI 277 + help 278 + Support for SyncLink GT and SyncLink AC families of 279 + synchronous and asynchronous serial adapters 280 + manufactured by Microgate Systems, Ltd. (www.microgate.com) 281 + 282 + config NOZOMI 283 + tristate "HSDPA Broadband Wireless Data Card - Globe Trotter" 284 + depends on PCI && EXPERIMENTAL 285 + help 286 + If you have a HSDPA driver Broadband Wireless Data Card - 287 + Globe Trotter PCMCIA card, say Y here. 288 + 289 + To compile this driver as a module, choose M here, the module 290 + will be called nozomi. 291 + 292 + config ISI 293 + tristate "Multi-Tech multiport card support (EXPERIMENTAL)" 294 + depends on SERIAL_NONSTANDARD && PCI 295 + select FW_LOADER 296 + help 297 + This is a driver for the Multi-Tech cards which provide several 298 + serial ports. The driver is experimental and can currently only be 299 + built as a module. The module will be called isicom. 300 + If you want to do that, choose M here. 301 + 302 + config N_HDLC 303 + tristate "HDLC line discipline support" 304 + depends on SERIAL_NONSTANDARD 305 + help 306 + Allows synchronous HDLC communications with tty device drivers that 307 + support synchronous HDLC such as the Microgate SyncLink adapter. 308 + 309 + This driver can be built as a module ( = code which can be 310 + inserted in and removed from the running kernel whenever you want). 311 + The module will be called n_hdlc. If you want to do that, say M 312 + here. 313 + 314 + config N_GSM 315 + tristate "GSM MUX line discipline support (EXPERIMENTAL)" 316 + depends on EXPERIMENTAL 317 + depends on NET 318 + help 319 + This line discipline provides support for the GSM MUX protocol and 320 + presents the mux as a set of 61 individual tty devices. 150 321
+13
drivers/tty/Makefile
··· 11 11 obj-y += vt/ 12 12 obj-$(CONFIG_HVC_DRIVER) += hvc/ 13 13 obj-y += serial/ 14 + 15 + # tty drivers 16 + obj-$(CONFIG_AMIGA_BUILTIN_SERIAL) += amiserial.o 17 + obj-$(CONFIG_BFIN_JTAG_COMM) += bfin_jtag_comm.o 18 + obj-$(CONFIG_CYCLADES) += cyclades.o 19 + obj-$(CONFIG_ISI) += isicom.o 20 + obj-$(CONFIG_MOXA_INTELLIO) += moxa.o 21 + obj-$(CONFIG_MOXA_SMARTIO) += mxser.o 22 + obj-$(CONFIG_NOZOMI) += nozomi.o 23 + obj-$(CONFIG_ROCKETPORT) += rocket.o 24 + obj-$(CONFIG_SYNCLINK_GT) += synclink_gt.o 25 + obj-$(CONFIG_SYNCLINKMP) += synclinkmp.o 26 + obj-$(CONFIG_SYNCLINK) += synclink.o