Re: [PATCH] parisc: fix serial ports on C8000 workstation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9-Jun-13, at 5:49 PM, Rolf Eike Beer wrote:

	/* 7.272727MHz on Lasi.  Assumed the same for Dino, Wax and Timi. */
-	uart.port.uartclk	= 7272727;
+	uart.port.uartclk	= (dev->id.sversion != 0xad) ?
+					7272727 : 1843200;

If there is a nice comment explaining 72 another nice comment for the other
number should be added.

1.8432 MHz is a common oscillator frequency for UARTs.  See for example,
http://en.wikipedia.org/wiki/Crystal_oscillator_frequencies

Dave
--
John David Anglin	dave.anglin@xxxxxxxx



--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux