diff options
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/cyclades.c | 4 | ||||
-rw-r--r-- | drivers/tty/moxa.c | 2 | ||||
-rw-r--r-- | drivers/tty/mxser.c | 2 | ||||
-rw-r--r-- | drivers/tty/rocket.c | 10 | ||||
-rw-r--r-- | drivers/tty/serial/8250/8250_core.c | 4 | ||||
-rw-r--r-- | drivers/tty/synclink.c | 6 |
6 files changed, 14 insertions, 14 deletions
diff --git a/drivers/tty/cyclades.c b/drivers/tty/cyclades.c index 5e4fa9206861..104f09c58163 100644 --- a/drivers/tty/cyclades.c +++ b/drivers/tty/cyclades.c | |||
@@ -156,8 +156,8 @@ static unsigned int cy_isa_addresses[] = { | |||
156 | static long maddr[NR_CARDS]; | 156 | static long maddr[NR_CARDS]; |
157 | static int irq[NR_CARDS]; | 157 | static int irq[NR_CARDS]; |
158 | 158 | ||
159 | module_param_array(maddr, long, NULL, 0); | 159 | module_param_hw_array(maddr, long, iomem, NULL, 0); |
160 | module_param_array(irq, int, NULL, 0); | 160 | module_param_hw_array(irq, int, irq, NULL, 0); |
161 | 161 | ||
162 | #endif /* CONFIG_ISA */ | 162 | #endif /* CONFIG_ISA */ |
163 | 163 | ||
diff --git a/drivers/tty/moxa.c b/drivers/tty/moxa.c index 4caf0c3b1f99..3b251f4e5df0 100644 --- a/drivers/tty/moxa.c +++ b/drivers/tty/moxa.c | |||
@@ -179,7 +179,7 @@ MODULE_FIRMWARE("c320tunx.cod"); | |||
179 | 179 | ||
180 | module_param_array(type, uint, NULL, 0); | 180 | module_param_array(type, uint, NULL, 0); |
181 | MODULE_PARM_DESC(type, "card type: C218=2, C320=4"); | 181 | MODULE_PARM_DESC(type, "card type: C218=2, C320=4"); |
182 | module_param_array(baseaddr, ulong, NULL, 0); | 182 | module_param_hw_array(baseaddr, ulong, ioport, NULL, 0); |
183 | MODULE_PARM_DESC(baseaddr, "base address"); | 183 | MODULE_PARM_DESC(baseaddr, "base address"); |
184 | module_param_array(numports, uint, NULL, 0); | 184 | module_param_array(numports, uint, NULL, 0); |
185 | MODULE_PARM_DESC(numports, "numports (ignored for C218)"); | 185 | MODULE_PARM_DESC(numports, "numports (ignored for C218)"); |
diff --git a/drivers/tty/mxser.c b/drivers/tty/mxser.c index 7b8f383fb090..8bd6fb6d9391 100644 --- a/drivers/tty/mxser.c +++ b/drivers/tty/mxser.c | |||
@@ -183,7 +183,7 @@ static int ttymajor = MXSERMAJOR; | |||
183 | 183 | ||
184 | MODULE_AUTHOR("Casper Yang"); | 184 | MODULE_AUTHOR("Casper Yang"); |
185 | MODULE_DESCRIPTION("MOXA Smartio/Industio Family Multiport Board Device Driver"); | 185 | MODULE_DESCRIPTION("MOXA Smartio/Industio Family Multiport Board Device Driver"); |
186 | module_param_array(ioaddr, ulong, NULL, 0); | 186 | module_param_hw_array(ioaddr, ulong, ioport, NULL, 0); |
187 | MODULE_PARM_DESC(ioaddr, "ISA io addresses to look for a moxa board"); | 187 | MODULE_PARM_DESC(ioaddr, "ISA io addresses to look for a moxa board"); |
188 | module_param(ttymajor, int, 0); | 188 | module_param(ttymajor, int, 0); |
189 | MODULE_LICENSE("GPL"); | 189 | MODULE_LICENSE("GPL"); |
diff --git a/drivers/tty/rocket.c b/drivers/tty/rocket.c index d66c1edd9892..b51a877da986 100644 --- a/drivers/tty/rocket.c +++ b/drivers/tty/rocket.c | |||
@@ -250,15 +250,15 @@ static int sReadAiopNumChan(WordIO_t io); | |||
250 | 250 | ||
251 | MODULE_AUTHOR("Theodore Ts'o"); | 251 | MODULE_AUTHOR("Theodore Ts'o"); |
252 | MODULE_DESCRIPTION("Comtrol RocketPort driver"); | 252 | MODULE_DESCRIPTION("Comtrol RocketPort driver"); |
253 | module_param(board1, ulong, 0); | 253 | module_param_hw(board1, ulong, ioport, 0); |
254 | MODULE_PARM_DESC(board1, "I/O port for (ISA) board #1"); | 254 | MODULE_PARM_DESC(board1, "I/O port for (ISA) board #1"); |
255 | module_param(board2, ulong, 0); | 255 | module_param_hw(board2, ulong, ioport, 0); |
256 | MODULE_PARM_DESC(board2, "I/O port for (ISA) board #2"); | 256 | MODULE_PARM_DESC(board2, "I/O port for (ISA) board #2"); |
257 | module_param(board3, ulong, 0); | 257 | module_param_hw(board3, ulong, ioport, 0); |
258 | MODULE_PARM_DESC(board3, "I/O port for (ISA) board #3"); | 258 | MODULE_PARM_DESC(board3, "I/O port for (ISA) board #3"); |
259 | module_param(board4, ulong, 0); | 259 | module_param_hw(board4, ulong, ioport, 0); |
260 | MODULE_PARM_DESC(board4, "I/O port for (ISA) board #4"); | 260 | MODULE_PARM_DESC(board4, "I/O port for (ISA) board #4"); |
261 | module_param(controller, ulong, 0); | 261 | module_param_hw(controller, ulong, ioport, 0); |
262 | MODULE_PARM_DESC(controller, "I/O port for (ISA) rocketport controller"); | 262 | MODULE_PARM_DESC(controller, "I/O port for (ISA) rocketport controller"); |
263 | module_param(support_low_speed, bool, 0); | 263 | module_param(support_low_speed, bool, 0); |
264 | MODULE_PARM_DESC(support_low_speed, "1 means support 50 baud, 0 means support 460400 baud"); | 264 | MODULE_PARM_DESC(support_low_speed, "1 means support 50 baud, 0 means support 460400 baud"); |
diff --git a/drivers/tty/serial/8250/8250_core.c b/drivers/tty/serial/8250/8250_core.c index 76e03a7de9cc..89fde17d9617 100644 --- a/drivers/tty/serial/8250/8250_core.c +++ b/drivers/tty/serial/8250/8250_core.c | |||
@@ -1191,7 +1191,7 @@ module_exit(serial8250_exit); | |||
1191 | MODULE_LICENSE("GPL"); | 1191 | MODULE_LICENSE("GPL"); |
1192 | MODULE_DESCRIPTION("Generic 8250/16x50 serial driver"); | 1192 | MODULE_DESCRIPTION("Generic 8250/16x50 serial driver"); |
1193 | 1193 | ||
1194 | module_param(share_irqs, uint, 0644); | 1194 | module_param_hw(share_irqs, uint, other, 0644); |
1195 | MODULE_PARM_DESC(share_irqs, "Share IRQs with other non-8250/16x50 devices (unsafe)"); | 1195 | MODULE_PARM_DESC(share_irqs, "Share IRQs with other non-8250/16x50 devices (unsafe)"); |
1196 | 1196 | ||
1197 | module_param(nr_uarts, uint, 0644); | 1197 | module_param(nr_uarts, uint, 0644); |
@@ -1201,7 +1201,7 @@ module_param(skip_txen_test, uint, 0644); | |||
1201 | MODULE_PARM_DESC(skip_txen_test, "Skip checking for the TXEN bug at init time"); | 1201 | MODULE_PARM_DESC(skip_txen_test, "Skip checking for the TXEN bug at init time"); |
1202 | 1202 | ||
1203 | #ifdef CONFIG_SERIAL_8250_RSA | 1203 | #ifdef CONFIG_SERIAL_8250_RSA |
1204 | module_param_array(probe_rsa, ulong, &probe_rsa_count, 0444); | 1204 | module_param_hw_array(probe_rsa, ulong, ioport, &probe_rsa_count, 0444); |
1205 | MODULE_PARM_DESC(probe_rsa, "Probe I/O ports for RSA"); | 1205 | MODULE_PARM_DESC(probe_rsa, "Probe I/O ports for RSA"); |
1206 | #endif | 1206 | #endif |
1207 | MODULE_ALIAS_CHARDEV_MAJOR(TTY_MAJOR); | 1207 | MODULE_ALIAS_CHARDEV_MAJOR(TTY_MAJOR); |
diff --git a/drivers/tty/synclink.c b/drivers/tty/synclink.c index 657eed82eeb3..a2c308f7d637 100644 --- a/drivers/tty/synclink.c +++ b/drivers/tty/synclink.c | |||
@@ -869,9 +869,9 @@ static int txholdbufs[MAX_TOTAL_DEVICES]; | |||
869 | 869 | ||
870 | module_param(break_on_load, bool, 0); | 870 | module_param(break_on_load, bool, 0); |
871 | module_param(ttymajor, int, 0); | 871 | module_param(ttymajor, int, 0); |
872 | module_param_array(io, int, NULL, 0); | 872 | module_param_hw_array(io, int, ioport, NULL, 0); |
873 | module_param_array(irq, int, NULL, 0); | 873 | module_param_hw_array(irq, int, irq, NULL, 0); |
874 | module_param_array(dma, int, NULL, 0); | 874 | module_param_hw_array(dma, int, dma, NULL, 0); |
875 | module_param(debug_level, int, 0); | 875 | module_param(debug_level, int, 0); |
876 | module_param_array(maxframe, int, NULL, 0); | 876 | module_param_array(maxframe, int, NULL, 0); |
877 | module_param_array(txdmabufs, int, NULL, 0); | 877 | module_param_array(txdmabufs, int, NULL, 0); |