I wrongly committed an older version.

Update references etc.
This commit is contained in:
simokawa 2003-10-28 01:31:50 +00:00
parent 6af25febc6
commit 0327df13d0
2 changed files with 16 additions and 28 deletions

View File

@ -46,17 +46,13 @@ an allocated buffer for input and output respectivly.
It is no use by itself and it is supposed that the buffer is accessed
via a bus like
.Xr FireWire 4
or
.Xr kvm 3
for interaction.
.Pp
The buffer consists of 4 channels.
There are 2 ports, one for console tty and other is GDB ports then each port
has a input channel and a output channel.
The physical address of the buffer is sometimes neccesary to acess the buffer.
You can get the address by
.Xr sysctl 8
or
.Xr dmesg 8
.
.Sh EXAMPLE
If you want to run
.Xr getty 8
@ -71,38 +67,26 @@ using
dcons "/usr/libexec/getty std.9600" vt100 on secure
.Ed
.Pp
You can use either of the following commands to obtain physical
address of the buffer.
.Bd -literal -offset indent
% sysctl kern.dcons.paddr
kern.dcons.paddr: 4732704
% dmesg | grep dcons: | tail -1
dcons: virtual 0xc0483720 physical 0x483720 quad 0x120dc8
.Ed
.Pp
In this example, the buffer is located at 4732704 in decimal
and 0x483720 in hex.
.Pp
Once
.Xr fwochi 4
device is initialized to allow physical access,
the buffer can be accessed from another host via FireWire bus using
.Xr fwchat 8
.Xr dconschat 8
application. See
.Xr fwchat 8
.Xr dconschat 8
for more details.
.Pp
.Sh FILES
.Bl -tag -width indent -compact
.It Pa /dev/dcons
.It Pa /dev/dconsctl
.It Pa /etc/ttys
.El
.Sh SEE ALSO
.Xr dcons_crom 4 ,
.Xr ddb 4 ,
.Xr firewire 4 ,
.Xr fwohci 4 ,
.Xr fwchat 8 ,
.Xr dconschat 8 ,
.Xr fwcontrol 8 ,
.Xr ttys 5
.Sh AUTHORS

View File

@ -42,18 +42,22 @@ The
.Nm
exposes buffer address of
.Xr dcons 4
via Configuration ROM which is accessed by
.Xr FireWire 4
.
through Configuration ROM of
.Xr FireWire 4 .
This address is supposed to be used by
.Xr dconschat 8 .
.El
.Sh SEE ALSO
.Xr dcons 4 ,
.Xr firewire 4 ,
.Xr fwohci 4 ,
.Xr fwchat 8 ,
.Xr fwcontrol 8 ,
.Xr dconschat 8 ,
.Xr fwcontrol 8 .
.Sh AUTHORS
.An Hidetoshi Shimokawa Aq simokawa@FreeBSD.org
.Sh BUGS
This driver is still under development.
If you load dcons_crom.ko manually after booted, you may have to initiate
a bus reset by
.Dq Nm fwcontrol -r
to update Configuration ROM.
.Pp