]> git.karo-electronics.de Git - linux-beck.git/commit
8250: FIX Fourth port offset of Pericom PI7C9X7954 boards
authorAngelo Butti <buttiangelo@gmail.com>
Mon, 7 Nov 2016 15:39:03 +0000 (16:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Nov 2016 13:41:25 +0000 (14:41 +0100)
commit5c31ef91c06db7800ad573174bd92be4df34ecb2
tree172ff2d843b9ee78ad9c4a3e7980fca4010b5477
parent6fc5a520429e29ae84cb9ce8e8c584166a54a1ee
8250: FIX Fourth port offset of Pericom PI7C9X7954 boards

Hi,
below patch to fix Fourth port offset of Percom PI7C9X7954 boards.

I had a problem using Fourth port on a pci express serial board based on Pericom
PI7C9X7954. Reading datasheet I notice a "special" offset assign to this port
when used in I/O mode.

Offset 0x0 ->  UART 0
Offset 0x8 ->  UART 1
Offset 0x10 ->  UART 2
Offset 0x38 ->  UART 3  <<---- This don't follow a logical sequence

This patch add a different init to last port, to have right offset.

I check also Pericom 7952 and 7958 but that devices follow logical sequence,
so they are ok.

Regards,
Angelo

Signed-off-by: Angelo Butti <buttiangelo@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_pci.c