Date: Mon, 23 Dec 2002 21:23:06 -0800 (PST) From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 22694 for review Message-ID: <200212240523.gBO5N6ot041658@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=22694 Change 22694 by marcel@marcel_nfs on 2002/12/23 21:22:14 Don't use cd.rclk because it can be 0 (meaning system default). We deal with this when we initialize sio_console.rclk. Use the latter to calculate the divisor. Affected files ... .. //depot/projects/ia64/sys/dev/sio/sio_cons.c#7 edit Differences ... ==== //depot/projects/ia64/sys/dev/sio/sio_cons.c#7 (text+ko) ==== @@ -139,7 +139,7 @@ sio_setreg(&sio_console, com_lcr, lcr | LCR_DLAB); /* XXX barrier */ if (cd.baud != 0) { - divisor = siodivisor(cd.rclk, cd.baud); + divisor = siodivisor(sio_console.rclk, cd.baud); sio_setdreg(&sio_console, com_dl, divisor); } else divisor = sio_getdreg(&sio_console, com_dl); 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?200212240523.gBO5N6ot041658>
