Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Nov 2004 23:12:14 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/uart uart_bus.h uart_core.c
Message-ID:  <200411142312.iAENCEkT022216@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marcel      2004-11-14 23:12:14 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/uart         uart_bus.h uart_core.c 
  Log:
  Add UART_IOCTL_BAUD to allow us to query the hardware about the
  current baudrate setting. Use this ioctl() when we don't know the
  baudrate of the sysdev (as represented by a 0 value). When the
  ioctl() fails, e.g. when the backend hasn't implemented it or the
  hardware doesn't provide the means to determine its current baudrate
  setting, we invalidate the baudrate setting by setting it to -1.
  None of the backends currently implement the new ioctl().
  
  Revision  Changes    Path
  1.8       +1 -0      src/sys/dev/uart/uart_bus.h
  1.11      +5 -0      src/sys/dev/uart/uart_core.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411142312.iAENCEkT022216>