mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
[PARISC] Clean up asm-parisc/serial.h
Russell King pointed out that asm/serial.h is anachronistic and we were misusing BASE_BAUD. So fix BASE_BAUD for PCI 16550 UARTs, move LASI_BASE_BAUD into 8250_gsc, and fix the obsolete comment about reserving serial port slots. Signed-off-by: Matthew Wilcox <matthew@wil.cx> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
This commit is contained in:
parent
75a4958154
commit
136ce40e9f
2 changed files with 4 additions and 16 deletions
|
|
@ -3,20 +3,8 @@
|
|||
*/
|
||||
|
||||
/*
|
||||
* This assumes you have a 7.272727 MHz clock for your UART.
|
||||
* The documentation implies a 40Mhz clock, and elsewhere a 7Mhz clock
|
||||
* Clarified: 7.2727MHz on LASI. Not yet clarified for DINO
|
||||
* This is used for 16550-compatible UARTs
|
||||
*/
|
||||
#define BASE_BAUD ( 1843200 / 16 )
|
||||
|
||||
#define LASI_BASE_BAUD ( 7272727 / 16 )
|
||||
#define BASE_BAUD LASI_BASE_BAUD
|
||||
|
||||
/*
|
||||
* We don't use the ISA probing code, so these entries are just to reserve
|
||||
* space. Some example (maximal) configurations:
|
||||
* - 712 w/ additional Lasi & RJ16 ports: 4
|
||||
* - J5k w/ PCI serial cards: 2 + 4 * card ~= 34
|
||||
* A500 w/ PCI serial cards: 5 + 4 * card ~= 17
|
||||
*/
|
||||
|
||||
#define SERIAL_PORT_DFNS
|
||||
|
|
|
|||
Loading…
Reference in a new issue