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)
commit0491d1f3fd93f838d8bfb75b12acfba39d06a4da
tree2e53bd38d7fc41357a936d052ef018e287c3fdd6
parent2d8348b429b4ae5cc47449c787881221fe43af4b
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