cvs commit: src/sys/conf files src/sys/dev/uart uart_cpu.h uart_cpu_alpha.c uart_cpu_amd64.c uart_cpu_i386.c uart_cpu_ia64.c uart_cpu_pc98.c uart_cpu_sparc64.c uart_subr.c

Marcel Moolenaar marcel at FreeBSD.org
Fri Mar 19 18:14:03 PST 2004


marcel      2004/03/19 18:14:03 PST

  FreeBSD src repository

  Modified files:
    sys/conf             files 
    sys/dev/uart         uart_cpu.h uart_cpu_alpha.c 
                         uart_cpu_amd64.c uart_cpu_i386.c 
                         uart_cpu_ia64.c uart_cpu_pc98.c 
                         uart_cpu_sparc64.c 
  Added files:
    sys/dev/uart         uart_subr.c 
  Log:
  Introduce the hw.uart.console and hw.uart.dbgport environment variables
  to select a serial console and debug port (resp). On ia64 these replace
  the use of hints completely and take precedence over hints on alpha,
  amd64 and i386. On sparc64 these variables are not yet recognised.
  
  The reasons for introducing these variables are:
  1.  Hints have side-effects. They reserve the unit number for use by
      isa or acpi devices and therefore cannot be used to select a pci
      device. Also, the use of a unit number to select a device prior
      to bus enumeration is nonsense. The new variables have no side-
      effects and are not based on unit numbers.
  2.  Hints don't have the expression power to allow the sysadmin to
      select UARTs that are not legacy PC devices and need the support
      of compile-time constants to give the sysadmin some level of
      flexibility.
  
  The hw.uart.console and hw.uart.dbgport variables specify a list of
  attributes. An attribute is a tag-value pair, seperated by a colon.
  Attributes are seperated by a comma. Where possible, tags are the
  same as those in /etc/remote (only br and pa in practice). Details
  can be found in the manpage (not part of this commit).
  
  Not tested on: amd64, pc98
  
  Revision  Changes    Path
  1.877     +1 -0      src/sys/conf/files
  1.5       +6 -2      src/sys/dev/uart/uart_cpu.h
  1.7       +13 -3     src/sys/dev/uart/uart_cpu_alpha.c
  1.7       +9 -2      src/sys/dev/uart/uart_cpu_amd64.c
  1.7       +9 -2      src/sys/dev/uart/uart_cpu_i386.c
  1.7       +8 -46     src/sys/dev/uart/uart_cpu_ia64.c
  1.10      +8 -1      src/sys/dev/uart/uart_cpu_pc98.c
  1.8       +4 -1      src/sys/dev/uart/uart_cpu_sparc64.c
  1.1       +247 -0    src/sys/dev/uart/uart_subr.c (new)


More information about the cvs-src mailing list