From: Pete P. <pp...@us...> - 2001-10-29 19:23:56
|
Update of /cvsroot/linux-mips/linux/arch/mips/au1000/common In directory usw-pr-cvs1:/tmp/cvs-serv5310/arch/mips/au1000/common Modified Files: serial.c Log Message: Applied Sato-san's patch to fix the 9600 baud problem. Index: serial.c =================================================================== RCS file: /cvsroot/linux-mips/linux/arch/mips/au1000/common/serial.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- serial.c 2001/08/28 07:23:54 1.2 +++ serial.c 2001/10/29 19:23:51 1.3 @@ -244,12 +244,12 @@ static _INLINE_ unsigned int serial_in(struct async_struct *info, int offset) { - return (inl(info->port+offset) & 0xff); + return (inl(info->port+offset) & 0xffff); } static _INLINE_ void serial_out(struct async_struct *info, int offset, int value) { - outl(value & 0xff, info->port+offset); + outl(value & 0xffff, info->port+offset); } |