Date: Sat, 12 Feb 2005 15:43:17 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/uart uart_cpu_sparc64.c Message-ID: <200502121543.j1CFhHJZ098833@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2005-02-12 15:43:17 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_5)
sys/dev/uart uart_cpu_sparc64.c
Log:
MFC: 1.15
- Don't blindly use the return value of uart_cpu_channel() to calculate
the address of a channel on a SCC, it returns 0 on failure.
- Hardcode channel 1 for the keyboard on Z8530, the information present
in the Open Firmware device tree doesn't allow to determine this via
uart_cpu_channel(). This makes the keyboard on Ultra 2 basically work.
- Add and improve comments about uart_cpu_channel() and uart_cpu_getdev_*().
Revision Changes Path
1.12.2.2 +33 -7 src/sys/dev/uart/uart_cpu_sparc64.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502121543.j1CFhHJZ098833>
