1 Dec 2002 10:59
[SERIAL] Prevent PNPBIOS re-registering already detected ports
Linux Kernel Mailing List <linux-kernel <at> vger.kernel.org>
2002-12-01 09:59:47 GMT
2002-12-01 09:59:47 GMT
ChangeSet 1.929, 2002/12/01 09:59:47+00:00, rmk <at> flint.arm.linux.org.uk [SERIAL] Prevent PNPBIOS re-registering already detected ports During initialisation of 8250 serial, we scan a list of ISA ports and register any ports. We then perform PNPBIOS scanning, which re-registers ttyS0. Unfortunately, if devfs is enabled, devfs reports an error because we try to create two tts/0 entries. Therefore, when adding a new port we check that it has not been detected before attempting to probe the port and register it with devfs (via the tty layer.) # This patch includes the following deltas: # ChangeSet 1.928 -> 1.929 # drivers/serial/core.c 1.17 -> 1.18 # core.c | 25 +++++++++++++++---------- 1 files changed, 15 insertions(+), 10 deletions(-) diff -Nru a/drivers/serial/core.c b/drivers/serial/core.c --- a/drivers/serial/core.c Sun Dec 1 14:04:18 2002 +++ b/drivers/serial/core.c Sun Dec 1 14:04:18 2002 <at> <at> -2405,17 +2405,22 <at> <at> goto out; } - state->port->iobase = port->iobase; - state->port->membase = port->membase;(Continue reading)
RSS Feed