Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 38521
b: refs/heads/master
c: 136ce40
h: refs/heads/master
i:
  38519: 03c2f5f
v: v3
  • Loading branch information
Matthew Wilcox authored and Matthew Wilcox committed Oct 4, 2006
1 parent 5c705cf commit dd49642
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 17 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 75a4958154f5d0028d5464f2479b4297d55cf4a3
refs/heads/master: 136ce40e9f1f24ca1dbf7714c669a7bca56440ea
4 changes: 2 additions & 2 deletions trunk/drivers/serial/8250_gsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include <asm/hardware.h>
#include <asm/parisc-device.h>
#include <asm/io.h>
#include <asm/serial.h> /* for LASI_BASE_BAUD */

#include "8250.h"

Expand Down Expand Up @@ -54,7 +53,8 @@ serial_init_chip(struct parisc_device *dev)

memset(&port, 0, sizeof(port));
port.iotype = UPIO_MEM;
port.uartclk = LASI_BASE_BAUD * 16;
/* 7.272727MHz on Lasi. Assumed the same for Dino, Wax and Timi. */
port.uartclk = 7272727;
port.mapbase = address;
port.membase = ioremap_nocache(address, 16);
port.irq = dev->irq;
Expand Down
16 changes: 2 additions & 14 deletions trunk/include/asm-parisc/serial.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit dd49642

Please sign in to comment.