summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/8250/8250.h
diff options
context:
space:
mode:
authorPeter Hurley2015-02-24 20:25:13 +0100
committerGreg Kroah-Hartman2015-03-26 18:18:20 +0100
commit3b81c26c92414024a8046eb216782f3d599a5d77 (patch)
tree637c59f576604aea344a76a98a09741e82d40b73 /drivers/tty/serial/8250/8250.h
parentserial: 8250: Get RSA resource iff CONFIG_SERIAL_8250_RSA (diff)
downloadkernel-qcow2-linux-3b81c26c92414024a8046eb216782f3d599a5d77.tar.gz
kernel-qcow2-linux-3b81c26c92414024a8046eb216782f3d599a5d77.tar.xz
kernel-qcow2-linux-3b81c26c92414024a8046eb216782f3d599a5d77.zip
serial: 8250: Only get RSA resource when required
The probe for Remote Supervisor Adapter is limited to port i/o addresses which match one of the probe_rsa[] module parameter addresses. Limit RSA resource acquire to matching i/o ports. The result is a saner probe policy: only perform optional probes when specified rather than by default. NB: It is possible for userspace to set the port type == PORT_RSA with ioctl(TIOCSSERIAL) and then autoconfig with ioctl(TIOCSERCONFIG), which if it fails, may leave the port type set to PORT_RSA. Since this may have previously resulted in a working RSA port, this behavior is preserved. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/8250/8250.h')
0 files changed, 0 insertions, 0 deletions