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

Marius Strobl marius at FreeBSD.org
Sat Mar 12 09:06:03 PST 2005


marius      2005-03-12 17:06:03 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/uart         uart_cpu_sparc64.c 
  Log:
  In uart_cpu_getdev_console() when determinig whether we should use
  a serial console anyway because input-device is set to keyboard and
  output-device is set to screen but no keyboard is plugged in don't
  assume that a device node for the input-device alias exists. While
  this is true for RS232 keyboards (the node of the SCC and UART
  respectively which controls the keyboard doesn't disappear when no
  keyboard is plugged in) this assumption breaks for USB keyboards.
  It's most likely also not true for PS/2 keyboards but OFW doesn't
  reliably switch to a serial console when the potential keyboard is
  a PS/2 one which isn't plugged in so this couldn't be verified
  properly.
  
  Reported by:    Will Andrews <will at csociety.org>, obrien
  MFC after:      1 week
  
  Revision  Changes    Path
  1.18      +6 -4      src/sys/dev/uart/uart_cpu_sparc64.c


More information about the cvs-src mailing list