From: James S. <jsi...@us...> - 2001-09-13 17:29:39
|
Update of /cvsroot/linux-mips/linux/arch/mips/au1000/common In directory usw-pr-cvs1:/tmp/cvs-serv20109 Modified Files: dbg_io.c Log Message: Minor fixups. Hopefully it will work now. Index: dbg_io.c =================================================================== RCS file: /cvsroot/linux-mips/linux/arch/mips/au1000/common/dbg_io.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** dbg_io.c 2001/09/12 22:44:08 1.3 --- dbg_io.c 2001/09/13 17:29:36 1.4 *************** *** 57,60 **** --- 57,63 ---- #define UART16550_WRITE(y,z) (outl(z&0xff, DEBUG_BASE + y)) + extern unsigned long get_au1000_uart_baud_base(void); + extern unsigned long cal_r4koff(void); + void debugInit(uint32 baud, uint8 data, uint8 parity, uint8 stop) { *************** *** 78,82 **** /* set data format */ ! UART16550_WRITE(UART_LCR, data | parity | stop); } --- 81,85 ---- /* set data format */ ! UART16550_WRITE(UART_LCR, (data | parity | stop)); } *************** *** 100,104 **** int putDebugChar(uint8 byte) { ! int i; if (!remoteDebugInitialized) { remoteDebugInitialized = 1; --- 103,108 ---- int putDebugChar(uint8 byte) { ! // int i; ! if (!remoteDebugInitialized) { remoteDebugInitialized = 1; |