diff options
author | grehan <grehan@FreeBSD.org> | 2012-05-03 03:11:27 +0000 |
---|---|---|
committer | grehan <grehan@FreeBSD.org> | 2012-05-03 03:11:27 +0000 |
commit | a913fe5916677166a9ec486f83637d7b78eb4ec6 (patch) | |
tree | b88b86c0a6c8a12d92ecaa43d3cff92296642c2a /etc/protocols | |
parent | 9f0c999f8126597eb572b80056df88335dbd0070 (diff) | |
download | FreeBSD-src-a913fe5916677166a9ec486f83637d7b78eb4ec6.zip FreeBSD-src-a913fe5916677166a9ec486f83637d7b78eb4ec6.tar.gz |
Add 16550 uart emulation as a PCI device. This allows it to
be activated as part of the slot config options.
The syntax is:
-s <slotnum>,uart[,stdio]
The stdio parameter instructs the code to perform i/o using
stdin/stdout. It can only be used for one instance.
To allow legacy i/o ports/irqs to be used, a new variant of
the slot command, -S, is introduced. When used to specify a
slot, the device will use legacy resources if it supports
them; otherwise it will be treated the same as the '-s' option.
Specifying the -S option with the uart will first use the 0x3f8/irq 4
config, and the second -S will use 0x2F8/irq 3.
Interrupt delivery is awaiting the arrival of the i/o apic code,
but this works fine in uart(4)'s polled mode.
This code was written by Cynthia Lu @ MIT while an intern at NetApp,
with further work from neel@ and grehan@.
Obtained from: NetApp
Diffstat (limited to 'etc/protocols')
0 files changed, 0 insertions, 0 deletions