]> git.hungrycats.org Git - linux/commit
[SERIAL] Fix /proc serial info for MMIO ports
authorBjorn Helgaas <bjorn.helgaas@com.rmk.(none)>
Sat, 21 Feb 2004 22:44:43 +0000 (22:44 +0000)
committerRussell King <rmk@flint.arm.linux.org.uk>
Sat, 21 Feb 2004 22:44:43 +0000 (22:44 +0000)
commit427502ff88af14292c136be1c3639c9b9e2969ad
tree3a3b803dd0ae33cf8c4d288809af2a0fe9166f31
parent28a1fbf7d427b0a3bc4de1c3bcf6fb1ada4fb1db
[SERIAL] Fix /proc serial info for MMIO ports

Patch from: Bjorn Helgaas

This patch against 2.6.2 fixes a minor issue with /proc/tty/drivers/*,
which currently doesn't show MMIO address information.  Current
sample output:

        # cat /proc/tty/driver/serial
        serinfo:1.0 driver revision:
        0: uart:16450 port:00000000 irq:65 tx:72 rx:0 RTS|DTR
        1: uart:16550A port:00000000 irq:65 tx:2950 rx:0 RTS|DTR
        ...

Output with the attached patch:

        # cat /proc/tty/driver/serial
        serinfo:1.0 driver revision:
        0: uart:16450 mmio:0xF8031000 irq:65 tx:72 rx:0 RTS|DTR
        1: uart:16550A mmio:0xFF5E0000 irq:65 tx:2403 rx:74 RTS|DTR
        ...
drivers/serial/serial_core.c