summaryrefslogtreecommitdiffstats
path: root/include/asm-mips
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1998-05-07 23:43:58 +0000
committerRalf Baechle <ralf@linux-mips.org>1998-05-07 23:43:58 +0000
commiteceef87159b136a4a21395112b888e232ea8df76 (patch)
tree1d244ceb9d714c6175ec765388759cbb6e9f4e4e /include/asm-mips
parentdca50cc150304946afb790f00ead222736146e3e (diff)
Make the default configurations (RM200C / Acer PICA) compile.
Diffstat (limited to 'include/asm-mips')
-rw-r--r--include/asm-mips/pci.h8
-rw-r--r--include/asm-mips/serial.h28
2 files changed, 18 insertions, 18 deletions
diff --git a/include/asm-mips/pci.h b/include/asm-mips/pci.h
index 3d48c2ca3..d2ff867f2 100644
--- a/include/asm-mips/pci.h
+++ b/include/asm-mips/pci.h
@@ -1,18 +1,18 @@
-/*
+/* $Id: pci.h,v 1.2 1997/12/01 18:00:40 ralf Exp $
+ *
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Declarations for the MIPS specific implementation of the PCI BIOS32 services.
*
- * $Id: pci.h,v 1.2 1997/09/20 21:16:37 ralf Exp $
+ * Copyright (C) 1997, 1998 Ralf Baechle
*/
#ifndef __ASM_MIPS_PCI_H
#define __ASM_MIPS_PCI_H
struct pci_ops {
- unsigned long (*pcibios_fixup) (unsigned long memory_start,
- unsigned long memory_end);
+ unsigned long (*pcibios_fixup) (void);
int (*pcibios_read_config_byte) (unsigned char bus,
unsigned char dev_fn,
unsigned char where,
diff --git a/include/asm-mips/serial.h b/include/asm-mips/serial.h
index 47c6ea0b7..7d4f6ecfe 100644
--- a/include/asm-mips/serial.h
+++ b/include/asm-mips/serial.h
@@ -1,9 +1,10 @@
-/*
- * include/asm-mips/serial.h
+/* $Id: serial.h,v 1.1 1998/05/04 12:43:16 ralf Exp $
*
- * $Id: serial.h,v 1.1 1998/05/04 12:43:16 ralf Exp $
+ * include/asm-mips/serial.h
*/
#include <linux/config.h>
+#include <asm/bootinfo.h>
+#include <asm/jazz.h>
/*
* This assumes you have a 1.8432 MHz clock for your UART.
@@ -12,12 +13,11 @@
* clock, since the 16550A is capable of handling a top speed of 1.5
* megabits/second; but this requires the faster clock.
*/
-#ifdef CONFIG_MIPS_JAZZ
-/* XXX This doesn't seem to be true for all Jazz machines. */
-#define JAZZ_BASE_BAUD ( 8000000 / 16 ) /* ( 3072000 / 16) */
-#else
#define BASE_BAUD ( 1843200 / 16 )
-#endif
+
+/* Some Jazz machines seem to have an 8MHz crystal clock but I don't know
+ exactly which ones ... XXX */
+#define JAZZ_BASE_BAUD ( 8000000 / 16 ) /* ( 3072000 / 16) */
/* Standard COM flags (except for COM4, because of the 8514 problem) */
#ifdef CONFIG_SERIAL_DETECT_IRQ
@@ -34,7 +34,7 @@
#define BOCA_FLAGS 0
#define HUB6_FLAGS 0
#endif
-
+
/*
* The following define the access methods for the HUB6 card. All
* access is through two ports for all 24 possible chips. The card is
@@ -54,9 +54,9 @@
#ifdef CONFIG_MIPS_JAZZ
#define JAZZ_SERIAL_PORT_DEFNS \
/* UART CLK PORT IRQ FLAGS */ \
- { 0, JAZZ_BASE_BAUD, JAZZ_SERIAL1_BASE, /* ttyS0 */
- JAZZ_SERIAL1_IRQ, STD_COM_FLAGS },
- { 0, JAZZ_BASE_BAUD, JAZZ_SERIAL2_BASE, /* ttyS1 */
+ { 0, JAZZ_BASE_BAUD, JAZZ_SERIAL1_BASE, /* ttyS0 */ \
+ JAZZ_SERIAL1_IRQ, STD_COM_FLAGS }, \
+ { 0, JAZZ_BASE_BAUD, JAZZ_SERIAL2_BASE, /* ttyS1 */ \
JAZZ_SERIAL2_IRQ, STD_COM_FLAGS },
#else
#define JAZZ_SERIAL_PORT_DEFNS
@@ -137,8 +137,8 @@
#define MCA_SERIAL_PORT_DFNS
#endif
-#define JAZZ_PORT_DFNS \
- SERIAL_PORT_DFNS \
+#define SERIAL_PORT_DFNS \
+ JAZZ_SERIAL_PORT_DEFNS \
STD_SERIAL_PORT_DEFNS \
EXTRA_SERIAL_PORT_DEFNS \
HUB6_SERIAL_PORT_DFNS