When we detect that a 16550 was in fact part of a NatSemi SuperIO chip
authorDavid Woodhouse <dwmw2@org.rmk.(none)>
Sat, 21 May 2005 14:52:23 +0000 (15:52 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 21 May 2005 14:52:23 +0000 (15:52 +0100)
commit857dde2e79082d2954ede7f10783addaae956777
tree5a7ba015eb22985d69e03e315b249c4c89750ee2
parent9636273dae265b9354b861b373cd43cd76a6d0fe
When we detect that a 16550 was in fact part of a NatSemi SuperIO chip
with high-speed mode enabled, we switch it to high-speed mode so that
baud_base becomes 921600. However, we also need to multiply the baud
divisor by 8 at the same time, in case it's already in use as a console.

Signed-off-by: David Woodhouse
Acked-by: Tom Rini
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/serial/8250.c