summaryrefslogtreecommitdiff
path: root/drivers/tty/pty.c
diff options
context:
space:
mode:
authorMaciej S. Szmigiero <mail@maciej.szmigiero.name>2015-09-27 16:25:56 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-04 17:23:52 +0100
commite4fda3a0427526bcbca4e2b6528bc95a6fbc15ed (patch)
tree3cad09b06b571bc8039afe9f9c8596b39eef933f /drivers/tty/pty.c
parent658e2ebce5213897665f8488f951364a5eb5d96b (diff)
serial: don't register CIR serial ports
CIR type serial ports aren't real serial ports. This is just a way to prevent legacy 8250 serial driver from probing and eventually binding some resources. Since in current state such ports aren't providing any real functionality and it is not possible to change their type via setserial/ioctl(TIOCSSERIAL) (due to UPF_FIXED_PORT flag set on them) it is simpler and cleaner to not register them at all with serial core. Print a short message in this case so it is known to user what has happened. This way checks for PORT_8250_CIR in serial port callbacks can be removed too, since they won't ever be called. Signed-off-by: Maciej Szmigiero <mail@maciej.szmigiero.name> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/pty.c')
0 files changed, 0 insertions, 0 deletions