]> git.baikalelectronics.ru Git - kernel.git/commit
IOC3: Program UART predividers.
authorRalf Baechle <ralf@linux-mips.org>
Sun, 26 Aug 2007 17:51:22 +0000 (18:51 +0100)
committerJeff Garzik <jeff@garzik.org>
Fri, 31 Aug 2007 10:52:57 +0000 (06:52 -0400)
commita15cd44cef54a2158c03d07c91e30456a4b6643f
tree2e53bd38d7fc41357a936d052ef018e287c3fdd6
parentd55fe372b59730d49e723e8b374332fc16ed83f6
IOC3: Program UART predividers.

The IOC3 driver's UART detection bits used to rely on the the firmware
setting the UART pre-divider in a way that's apropriate for the 8250
driver which doesn't currently program this register.  This happens
to work for the console but not rarely for additional ports.

While at it, also program the UART to RS-232 PIO mode; it the UART might
have been in mac-serial and/or DMA mode though that hasn't actually been
observed in practice.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/ioc3-eth.c