diff options
Diffstat (limited to 'drivers/tty/serial/8250')
| -rw-r--r-- | drivers/tty/serial/8250/8250_core.c | 2 | ||||
| -rw-r--r-- | drivers/tty/serial/8250/Kconfig | 17 |
2 files changed, 19 insertions, 0 deletions
diff --git a/drivers/tty/serial/8250/8250_core.c b/drivers/tty/serial/8250/8250_core.c index 2d563cb9057e..35f9c96aada9 100644 --- a/drivers/tty/serial/8250/8250_core.c +++ b/drivers/tty/serial/8250/8250_core.c | |||
| @@ -3418,6 +3418,7 @@ MODULE_PARM_DESC(probe_rsa, "Probe I/O ports for RSA"); | |||
| 3418 | #endif | 3418 | #endif |
| 3419 | MODULE_ALIAS_CHARDEV_MAJOR(TTY_MAJOR); | 3419 | MODULE_ALIAS_CHARDEV_MAJOR(TTY_MAJOR); |
| 3420 | 3420 | ||
| 3421 | #ifdef CONFIG_SERIAL_8250_DEPRECATED_OPTIONS | ||
| 3421 | #ifndef MODULE | 3422 | #ifndef MODULE |
| 3422 | /* This module was renamed to 8250_core in 3.7. Keep the old "8250" name | 3423 | /* This module was renamed to 8250_core in 3.7. Keep the old "8250" name |
| 3423 | * working as well for the module options so we don't break people. We | 3424 | * working as well for the module options so we don't break people. We |
| @@ -3446,3 +3447,4 @@ static void __used s8250_options(void) | |||
| 3446 | #else | 3447 | #else |
| 3447 | MODULE_ALIAS("8250_core"); | 3448 | MODULE_ALIAS("8250_core"); |
| 3448 | #endif | 3449 | #endif |
| 3450 | #endif | ||
diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig index 2ef9537bcb2c..80fe91e64a52 100644 --- a/drivers/tty/serial/8250/Kconfig +++ b/drivers/tty/serial/8250/Kconfig | |||
| @@ -33,6 +33,23 @@ config SERIAL_8250 | |||
| 33 | Most people will say Y or M here, so that they can use serial mice, | 33 | Most people will say Y or M here, so that they can use serial mice, |
| 34 | modems and similar devices connecting to the standard serial ports. | 34 | modems and similar devices connecting to the standard serial ports. |
| 35 | 35 | ||
| 36 | config SERIAL_8250_DEPRECATED_OPTIONS | ||
| 37 | bool "Support 8250_core.* kernel options (DEPRECATED)" | ||
| 38 | depends on SERIAL_8250 | ||
| 39 | default y | ||
| 40 | ---help--- | ||
| 41 | In 3.7 we renamed 8250 to 8250_core by mistake, so now we have to | ||
| 42 | accept kernel parameters in both forms like 8250_core.nr_uarts=4 and | ||
| 43 | 8250.nr_uarts=4. We now renamed the module back to 8250, but if | ||
| 44 | anybody noticed in 3.7 and changed their userspace we still have to | ||
| 45 | keep the 8350_core.* options around until they revert the changes | ||
| 46 | they already did. | ||
| 47 | |||
| 48 | If 8250 is built as a module, this adds 8250_core alias instead. | ||
| 49 | |||
| 50 | If you did not notice yet and/or you have userspace from pre-3.7, it | ||
| 51 | is safe (and recommended) to say N here. | ||
| 52 | |||
| 36 | config SERIAL_8250_PNP | 53 | config SERIAL_8250_PNP |
| 37 | bool "8250/16550 PNP device support" if EXPERT | 54 | bool "8250/16550 PNP device support" if EXPERT |
| 38 | depends on SERIAL_8250 && PNP | 55 | depends on SERIAL_8250 && PNP |
