Serial and UART Tutorial
Prev |  | Next

# 3 Configuring the `cy` driver

Contributed by Alex Nash. 6 June 1996.

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

1. Add the `cy` device to your kernel configuration (note that your irq and iomem settings may differ).

       device cy0 at isa? irq 10 iomem 0xd4000 iosiz 0x2000

2. Rebuild and install the new kernel.

3. Make the device nodes by typing (the following example assumes an 8-port board)[1]:

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

4. If appropriate, add dialup entries to `/etc/ttys` by duplicating serial device (`ttyd`) entries and using `ttyc` in place of `ttyd`. For example:

       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

5. Reboot with the new kernel.

### Notes

[1] | You can omit this part if you are running FreeBSD 5.X with devfs(5).

Prev | Home | Next
Configuring the `sio` driver |  | Configuring the `si` driver