freebsd-nq/sys/dev
Marcel Moolenaar 27d5dc189c The uart(4) driver is an universal driver for various UART hardware.
It improves on sio(4) in the following areas:
o  Fully newbusified to allow for memory mapped I/O. This is a must
   for ia64 and sparc64,
o  Machine dependent code to take full advantage of machine and firm-
   ware specific ways to define serial consoles and/or debug ports.
o  Hardware abstraction layer to allow the driver to be used with
   various UARTs, such as the well-known ns8250 family of UARTs, the
   Siemens sab82532 or the Zilog Z8530. This is especially important
   for pc98 and sparc64 where it's common to have different UARTs,
o  The notion of system devices to unkludge low-level consoles and
   remote gdb ports and provides the mechanics necessary to support
   the keyboard on sparc64 (which is UART based).
o  The notion of a kernel interface so that a UART can be tied to
   something other than the well-known TTY interface. This is needed
   on sparc64 to present the user with a device and ioctl handling
   suitable for a keyboard, but also allows us to cleanly hide an
   UART when used as a debug port.

Following is a list of features and bugs/flaws specific to the ns8250
family of UARTs as compared to their support in sio(4):
o  The uart(4) driver determines the FIFO size and automaticly takes
   advantages of larger FIFOs and/or additional features. Note that
   since I don't have sufficient access to 16[679]5x UARTs, hardware
   flow control has not been enabled. This is almost trivial to do,
   provided one can test. The downside of this is that broken UARTs
   are more likely to not work correctly with uart(4). The need for
   tunables or knobs may be large enough to warrant their creation.
o  The uart(4) driver does not share the same bumpy history as sio(4)
   and will therefore not provide the necessary hooks, tweaks, quirks
   or work-arounds to deal with once common hardware. To that extend,
   uart(4) supports a subset of the UARTs that sio(4) supports. The
   question before us is whether the subset is sufficient for current
   hardware.
o  There is no support for multiport UARTs in uart(4). The decision
   behind this is that uart(4) deals with one EIA RS232-C interface.
   Packaging of multiple interfaces in a single chip or on a single
   expansion board is beyond the scope of uart(4) and is now mostly
   left for puc(4) to deal with. Lack of hardware made it impossible
   to actually implement such a dependency other than is present for
   the dual channel SAB82532 and Z8350 SCCs.

The current list of missing features is:
o  No configuration capabilities. A set of tunables and sysctls is
   being worked out. There are likely not going to be any or much
   compile-time knobs. Such configuration does not fit well with
   current hardware.
o  No support for the PPS API. This is partly dependent on the
   ability to configure uart(4) and partly dependent on having
   sufficient information to implement it properly.

As usual, the manpage is present but lacks the attention the
software has gotten.
2003-09-06 23:13:47 +00:00
..
aac Commands submitted through the management interface won't have scatter/ 2003-09-01 20:44:18 +00:00
acpica Don't free the buffer if it wasn't actually allocated. 2003-09-04 15:55:41 +00:00
adlink Be less confusing in a comment. 2003-09-05 11:05:41 +00:00
advansys Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
agp PCI header files live in dev/pci. 2003-08-23 19:32:18 +00:00
aha Use __FBSDID(). 2003-08-24 17:55:58 +00:00
ahb Make this at least compile on 64 bit platforms. Its been breaking 2003-07-30 20:09:22 +00:00
aic Use __FBSDID(). 2003-08-24 17:55:58 +00:00
aic7xxx Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
amd Prefer new location of pci include files (which have only been in the 2003-08-22 05:54:52 +00:00
amr Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
an Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
ar Use __FBSDID(). 2003-08-24 17:55:58 +00:00
asr Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
ata Forgotten in previous commit to atapi-cd.c: Add #ifndef BURN_BRIDGES 2003-09-05 11:08:55 +00:00
ath Add support for the experimental radiotap capture format. With this 2003-09-05 22:22:49 +00:00
atkbdc Use __FBSDID(). 2003-08-24 17:55:58 +00:00
awi Fix off-by-one error in array bounds check. 2003-09-05 11:09:26 +00:00
bge Use __FBSDID(). 2003-08-24 17:55:58 +00:00
bktr Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
buslogic Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
cardbus Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
ciss Prefer new location of pci include files (which have only been in the 2003-08-22 05:54:52 +00:00
cm Use __FBSDID(). 2003-08-24 17:55:58 +00:00
cnw Use __FBSDID(). 2003-08-24 17:55:58 +00:00
cs Use __FBSDID(). 2003-08-24 17:55:58 +00:00
ct Use __FBSDID(). 2003-08-24 17:55:58 +00:00
cy Use __FBSDID(). 2003-06-11 06:34:30 +00:00
dc Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
de Prefer new location of pci include files (which have only been in the 2003-08-22 07:20:27 +00:00
dec Use __FBSDID(). 2003-08-24 17:55:58 +00:00
dgb Remove a few ushorts I missed in my earlier pass. 2003-08-15 14:55:50 +00:00
digi Use __FBSDID(). 2003-08-24 17:55:58 +00:00
dpt Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
drm Comment out a couple of __inline__s until we can get inlines to be actually 2003-08-24 22:04:12 +00:00
ed Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
eisa Use __FBSDID(). 2003-08-24 17:55:58 +00:00
em Add support for new devices. 2003-08-27 21:52:37 +00:00
en Use __FBSDID(). 2003-08-24 17:55:58 +00:00
ep Style fixes of the whitespace variety. Fix long lines and tabs. 2003-08-30 08:10:58 +00:00
ex Use __FBSDID(). 2003-08-24 17:55:58 +00:00
exca When we went to the set_flags interface for the memory resource, we 2003-08-29 05:27:36 +00:00
fatm Remove duplicate SCM ID. 2003-08-24 20:18:11 +00:00
fb Use __FBSDID(). 2003-08-24 17:55:58 +00:00
fdc Put the device cloning functions for disk-drivers under #ifndef BURN_BRIDGES. 2003-09-05 10:40:16 +00:00
fe Use __FBSDID(). 2003-08-24 17:55:58 +00:00
firewire Fix byte order of multi-byte scsi_status information. 2003-08-29 13:36:17 +00:00
fxp change timeout to be MPSAFE 2003-09-05 22:37:31 +00:00
gem Preparatory commit to allow prototypes in ofw_machdep.h to contain 2003-09-02 20:24:42 +00:00
gfb Use __FBSDID(). 2003-08-24 17:55:58 +00:00
gx Use __FBSDID(). 2003-08-24 17:55:58 +00:00
harp Use __FBSDID(). 2003-08-24 17:55:58 +00:00
hatm Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
hea Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
hfa Use __FBSDID(). 2003-08-24 17:55:58 +00:00
hifn Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
hme Preparatory commit to allow prototypes in ofw_machdep.h to contain 2003-09-02 20:24:42 +00:00
ic The uart(4) driver is an universal driver for various UART hardware. 2003-09-06 23:13:47 +00:00
ichsmb Update the comment to indicate ICH5 support 2003-08-31 19:23:00 +00:00
ida Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
idt Use __FBSDID(). 2003-08-24 17:55:58 +00:00
ie Use __FBSDID(). 2003-08-24 17:55:58 +00:00
iicbus Use __FBSDID(). 2003-08-24 17:55:58 +00:00
iir Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
ips Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
isp Move the inclusion of <machine/ofw_machdep.h> after the inclusion of 2003-09-02 19:52:31 +00:00
ispfw Use __FBSDID(). 2003-08-24 17:55:58 +00:00
joy Use __FBSDID(). 2003-08-24 17:55:58 +00:00
kbd Use __FBSDID(). 2003-08-24 17:55:58 +00:00
lge Use __FBSDID(). 2003-08-24 17:55:58 +00:00
lmc Use __FBSDID(). 2003-08-24 17:55:58 +00:00
lnc Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
matcd Use __FBSDID(). 2003-08-24 17:55:58 +00:00
mc146818
mca Use __FBSDID(). 2003-08-24 17:55:58 +00:00
mcd Use __FBSDID(). 2003-08-24 17:55:58 +00:00
md Consistently use the BSD u_int and u_short instead of the SYSV uint and 2003-08-07 15:04:27 +00:00
mii Use __FBSDID(). 2003-08-24 17:55:58 +00:00
mk48txx Use __FBSDID(). 2003-08-24 17:55:58 +00:00
mlx Prepare for locking mlx(4) by cleaning up the use of busdma. No real 2003-09-02 08:30:31 +00:00
mly Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
mpt Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
mse Use __FBSDID(). 2003-06-02 16:32:55 +00:00
musycc Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
my Use __FBSDID(). 2003-08-24 17:55:58 +00:00
ncv Use __FBSDID(). 2003-08-24 17:55:58 +00:00
nge Use __FBSDID(). 2003-08-24 17:55:58 +00:00
nmdm Use __FBSDID(). 2003-08-24 17:55:58 +00:00
nsp Use __FBSDID(). 2003-08-24 17:55:58 +00:00
null Use __FBSDID(). 2003-08-24 17:55:58 +00:00
ofw Use __FBSDID(). 2003-08-24 17:55:58 +00:00
owi Check in the known good version of the wi driver, with prism/symbol 2003-08-24 05:42:49 +00:00
patm Use __FBSDID(). 2003-08-24 17:55:58 +00:00
pccard Whacked out CIS configurations can cause us to not have any child. When 2003-09-05 03:08:08 +00:00
pccbb Add newly discovered ENE Technologies CardBus bridges to the list: 2003-08-22 08:49:56 +00:00
pcf fix another LP64 problem. READ_IVAR takes a pointer to an uintptr_t, not 2003-06-20 07:22:54 +00:00
pci Bring back PCIR_HEADERTYPE as an alias for PCIR_HDRTYPE under BURN_BRIDGES 2003-09-03 17:48:22 +00:00
pcic Use __FBSDID(). 2003-08-24 17:55:58 +00:00
pdq Use __FBSDID(). 2003-08-24 17:55:58 +00:00
ppbus Use __FBSDID(). 2003-08-24 17:55:58 +00:00
ppc Forgot an added file in the last commit. 2003-08-01 05:02:55 +00:00
pst Use __FBSDID(). 2003-08-24 17:55:58 +00:00
puc Enhance puc(4) to support uart(4). This includes: 2003-09-06 21:48:50 +00:00
raidframe Use __FBSDID(). 2003-08-24 17:55:58 +00:00
random Use __FBSDID(). 2003-08-24 17:55:58 +00:00
ray Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rc Consistently use the BSD u_int and u_short instead of the SYSV uint and 2003-08-07 15:04:27 +00:00
rndtest Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rp Use __FBSDID(). 2003-08-24 17:55:58 +00:00
sab Use __FBSDID(). 2003-08-24 18:03:45 +00:00
safe Prefer new location of pci include files (which have only been in the 2003-08-22 07:08:17 +00:00
sbni Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
sbsh Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
scd Use __FBSDID(). 2003-08-24 18:03:45 +00:00
sf Prefer new location of pci include files (which have only been in the 2003-08-22 07:20:27 +00:00
si Use __FBSDID(). 2003-08-24 18:03:45 +00:00
sio Remove a duplicate comment. 2003-08-28 03:54:49 +00:00
sk Prefer new location of pci include files (which have only been in the 2003-08-22 07:20:27 +00:00
smbus No need for a separate nfpm driver now - amdpm handles both. 2003-09-06 13:58:06 +00:00
sn Use __FBSDID(). 2003-08-24 18:03:45 +00:00
snc Use __FBSDID(). 2003-08-24 18:03:45 +00:00
snp Use __FBSDID(). 2003-08-24 18:03:45 +00:00
sound Recognize the sound chip on the Opteron-based nForce3 motherboards 2003-09-03 07:38:21 +00:00
speaker Use __FBSDID(). 2003-06-02 16:32:55 +00:00
sr Use __FBSDID(). 2003-08-24 18:17:24 +00:00
stg Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
streams Use __FBSDID(). 2003-08-24 18:17:24 +00:00
sym Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
syscons Fix the alpha kernel build. 2003-08-25 21:32:00 +00:00
tdfx Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
tga Use __FBSDID(). 2003-08-24 17:55:58 +00:00
ti Prefer new location of pci include files (which have only been in the 2003-08-22 07:20:27 +00:00
trm Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
twe Prefer new location of pci include files (which have only been in the 2003-08-22 07:08:17 +00:00
tx Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
txp Use __FBSDID(). 2003-08-24 17:55:58 +00:00
uart The uart(4) driver is an universal driver for various UART hardware. 2003-09-06 23:13:47 +00:00
ubsec Use __FBSDID(). 2003-08-24 17:55:58 +00:00
usb Recognize the OHCI USB device on Opteron-based nForce3 motherboards 2003-09-03 07:40:17 +00:00
utopia Generate events when the carrier goes up or down. 2003-07-30 08:35:58 +00:00
vinum Use __FBSDID(). 2003-08-24 17:55:58 +00:00
vr Prefer new location of pci include files (which have only been in the 2003-08-22 07:20:27 +00:00
vx Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
wds Use __FBSDID(). 2003-08-24 17:55:58 +00:00
wi o add experimental radiotap capture format 2003-09-05 22:29:30 +00:00
wl Use __FBSDID(). 2003-08-24 17:55:58 +00:00
xe Use __FBSDID(). 2003-08-24 17:55:58 +00:00
zs Use __FBSDID(). 2003-08-24 17:55:58 +00:00