• Russell King's avatar
    [SERIAL] Prevent PNPBIOS re-registering already detected ports · 1d680b7a
    Russell King authored
    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.)
    1d680b7a
core.c 59.4 KB