cvs commit: src/sys/dev/uart uart_cpu_sparc64.c

Marius Strobl marius at FreeBSD.org
Sat Feb 12 15:43:18 GMT 2005


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


More information about the cvs-src mailing list