patch-2.4.22 linux-2.4.22/arch/mips/au1000/common/puts.c

Next file: linux-2.4.22/arch/mips/au1000/common/reset.c
Previous file: linux-2.4.22/arch/mips/au1000/common/prom.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/arch/mips/au1000/common/puts.c linux-2.4.22/arch/mips/au1000/common/puts.c
@@ -29,8 +29,9 @@
  */
 
 #include <linux/types.h>
+#include <asm/au1000.h>
 
-#define SERIAL_BASE   0xB1100000 /* au1000, uart 0 */
+#define SERIAL_BASE   UART_BASE
 #define SER_CMD       0x7
 #define SER_DATA      0x1
 #define TX_BUSY       0x20

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)