Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361923
b: refs/heads/master
c: 9326b04
h: refs/heads/master
i:
  361921: cb1dea1
  361919: f62b9ec
v: v3
  • Loading branch information
Jiri Slaby authored and Greg Kroah-Hartman committed Mar 25, 2013
1 parent c0e1175 commit f1b6fcc
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9196d8acd7f91758872108958dfded7684628444
refs/heads/master: 9326b047e4fd4a8da72e59d913214a1803e9709c
2 changes: 2 additions & 0 deletions trunk/drivers/tty/serial/8250/8250_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -3418,6 +3418,7 @@ MODULE_PARM_DESC(probe_rsa, "Probe I/O ports for RSA");
#endif
MODULE_ALIAS_CHARDEV_MAJOR(TTY_MAJOR);

#ifdef CONFIG_SERIAL_8250_DEPRECATED_OPTIONS
#ifndef MODULE
/* This module was renamed to 8250_core in 3.7. Keep the old "8250" name
* working as well for the module options so we don't break people. We
Expand Down Expand Up @@ -3446,3 +3447,4 @@ static void __used s8250_options(void)
#else
MODULE_ALIAS("8250_core");
#endif
#endif
17 changes: 17 additions & 0 deletions trunk/drivers/tty/serial/8250/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,23 @@ config SERIAL_8250
Most people will say Y or M here, so that they can use serial mice,
modems and similar devices connecting to the standard serial ports.

config SERIAL_8250_DEPRECATED_OPTIONS
bool "Support 8250_core.* kernel options (DEPRECATED)"
depends on SERIAL_8250
default y
---help---
In 3.7 we renamed 8250 to 8250_core by mistake, so now we have to
accept kernel parameters in both forms like 8250_core.nr_uarts=4 and
8250.nr_uarts=4. We now renamed the module back to 8250, but if
anybody noticed in 3.7 and changed their userspace we still have to
keep the 8350_core.* options around until they revert the changes
they already did.

If 8250 is built as a module, this adds 8250_core alias instead.

If you did not notice yet and/or you have userspace from pre-3.7, it
is safe (and recommended) to say N here.

config SERIAL_8250_PNP
bool "8250/16550 PNP device support" if EXPERT
depends on SERIAL_8250 && PNP
Expand Down

0 comments on commit f1b6fcc

Please sign in to comment.