aboutsummaryrefslogtreecommitdiff
path: root/handbook/cyclades.sgml
blob: 632d8102b8e70ce6ad30baf341fc8109c40f58ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!-- $Id: cyclades.sgml,v 1.1 1996-06-07 15:56:35 alex Exp $ -->
<!-- The FreeBSD Documentation Project -->

<!--
<!DOCTYPE linuxdoc PUBLIC "-//FreeBSD//DTD linuxdoc//EN" [

<!ENTITY % authors SYSTEM "authors.sgml">
%authors;

]>
-->
<sect2><heading>Configuring the <tt>cy</tt> driver<label id="cy"></heading>

	  <p><em>Contributed by &a.alex;.<newline>6 June 1996.</em>

	    The Cyclades multiport cards are based on the <tt>cy</tt>
	    driver instead of the usual <tt>sio</tt> driver used by
	    other multiport cards.  Configuration is a simple matter
	    of:

	    <enum>
	      <item>Add the <tt>cy</tt> device to your 
		<ref id="kernelconfig:config" name="kernel configuration">
		(note that your irq and iomem settings may differ).

<tscreen><verb>
device cy0 at isa? tty irq 10 iomem 0xd4000 iosiz 0x2000 vector cyintr
</verb></tscreen>

	      <item><ref id="kernelconfig:building" name="Rebuild and install"> 
		the new kernel.

	      <item>Make the <ref id="kernelconfig:nodes" name="device nodes">
		by typing (the following example assumes an 8-port board):

<tscreen><verb>
# cd /dev
# for i in 0 1 2 3 4 5 6 7;do ./MAKEDEV cuac$i ttyc$i;done
</verb></tscreen>

	      <item>If appropriate, add <ref id="dialup" name="dialup">
		entries to <ref id="dialup:ttys" name="/etc/ttys"> by 
		duplicating serial device (<tt>ttyd</tt>) entries and 
		using <tt>ttyc</tt> in place of <tt>ttyd</tt>.  For
		example:

<tscreen><verb>
ttyc0	"/usr/libexec/getty std.38400"	unknown	on insecure
ttyc1	"/usr/libexec/getty std.38400"	unknown	on insecure
ttyc2	"/usr/libexec/getty std.38400"	unknown	on insecure
[...]
ttyc7	"/usr/libexec/getty std.38400"	unknown	on insecure
</verb></tscreen>

	      <item>Reboot with the new kernel.

	    </enum>