Date: Mon, 23 Dec 2002 16:58:30 -0800 (PST) From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 22678 for review Message-ID: <200212240058.gBO0wUZ2045287@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=22678 Change 22678 by marcel@marcel_nfs on 2002/12/23 16:57:35 Don't enable the FIFOs for the console. Interrupts are disabled anyway, so there's really no advantage. Enabling them may cause problems. Affected files ... .. //depot/projects/ia64/sys/dev/sio/sio_cons.c#6 edit Differences ... ==== //depot/projects/ia64/sys/dev/sio/sio_cons.c#6 (text+ko) ==== @@ -155,19 +155,16 @@ static void siocninit(struct consdev *cp) { - u_char fcr, iir; + u_char iir; /* Disable all interrupt sources. */ sio_setreg(&sio_console, com_ier, 0); /* XXX barrier */ - /* Set FCR. */ - fcr = FCR_RX_MEDH | FCR_ENABLE; - sio_setreg(&sio_console, com_fcr, fcr); + /* Disable the FIFO (if present). */ + sio_setreg(&sio_console, com_fcr, 0); /* XXX barrier */ - sio_setreg(&sio_console, com_fcr, fcr | FCR_RCV_RST | FCR_XMT_RST); - /* XXX barrier */ - sio_console.reg_fcr = fcr; + sio_console.reg_fcr = 0; /* Set MCR. */ sio_setreg(&sio_console, com_mcr, MCR_IENABLE | MCR_RTS | MCR_DTR); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212240058.gBO0wUZ2045287>
