1 .\" Copyright (c) 2003 Hidetoshi Shimokawa
2 .\" All rights reserved.
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
13 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
14 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
15 .\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
16 .\" DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
17 .\" INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
18 .\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
19 .\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
21 .\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
22 .\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
23 .\" POSSIBILITY OF SUCH DAMAGE.
32 .Nd dumb console device driver
34 To compile this driver into the kernel,
35 place the following lines in your kernel configuration file:
36 .Bd -ragged -offset indent
42 Alternatively, to load the driver as a module at boot time,
43 place the following line in your kernel configuration file:
44 .Bd -ragged -offset indent
50 .Bd -ragged -offset indent
56 device is a simple console device which just reads from and writes to
57 an allocated buffer for input and output respectively.
58 It is of no use by itself and it is supposed that the buffer is accessed
65 The buffer consists of 4 channels.
66 There are 2 ports, one for the console TTY and another is GDB port,
67 then each port has an input channel and an output channel.
69 .Bl -tag -width indent -compact
78 insert the following line into
86 .Bd -literal -offset indent
87 dcons "/usr/libexec/getty std.9600" vt100 on secure
92 device is initialized to allow physical access,
93 the buffer can be accessed from another host via a
106 port, add the following line into
108 .Bd -literal -offset indent
122 .An Hidetoshi Shimokawa Aq simokawa@FreeBSD.org