From owner-freebsd-bugs Thu Apr 9 10:30:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA12401 for freebsd-bugs-outgoing; Thu, 9 Apr 1998 10:30:02 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: (from gnats@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA12385; Thu, 9 Apr 1998 10:30:01 -0700 (PDT) (envelope-from gnats) Date: Thu, 9 Apr 1998 10:30:01 -0700 (PDT) Message-Id: <199804091730.KAA12385@hub.freebsd.org> To: freebsd-bugs Cc: From: Nick Sayer Subject: Re: docs/6036: New handbook section 10.4.3.4 - si driver config Reply-To: Nick Sayer Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR docs/6036; it has been noted by GNATS. From: Nick Sayer To: freebsd-gnats-submit@freebsd.org Cc: Subject: Re: docs/6036: New handbook section 10.4.3.4 - si driver config Date: Thu, 9 Apr 1998 10:20:00 -0700 (PDT) I believe this should work: Index: Makefile =================================================================== RCS file: /usr/home/nick/cvs/doc/handbook/Makefile,v retrieving revision 1.17.2.6 diff -u -r1.17.2.6 Makefile --- Makefile 1997/05/19 12:54:06 1.17.2.6 +++ Makefile 1998/03/26 23:03:41 @@ -11,7 +11,7 @@ SRCS+= lists.sgml mail.sgml memoryuse.sgml SRCS+= mirrors.sgml nfs.sgml nutshell.sgml pgpkeys.sgml policies.sgml SRCS+= porting.sgml ports.sgml ppp.sgml printing.sgml -SRCS+= quotas.sgml relnotes.sgml routing.sgml russian.sgml +SRCS+= quotas.sgml relnotes.sgml routing.sgml russian.sgml specialix.sgml SRCS+= serial.sgml scsi.sgml sections.sgml sio.sgml skey.sgml slipc.sgml SRCS+= slips.sgml stable.sgml submitters.sgml sup.sgml synching.sgml SRCS+= term.sgml userppp.sgml uart.sgml linuxemu.sgml Index: authors.sgml =================================================================== RCS file: /usr/home/nick/cvs/doc/handbook/authors.sgml,v retrieving revision 1.37.2.5 diff -u -r1.37.2.5 authors.sgml --- authors.sgml 1997/05/19 12:54:06 1.37.2.5 +++ authors.sgml 1998/03/26 23:06:20 @@ -483,3 +483,7 @@ "> + +"> Index: hw.sgml =================================================================== RCS file: /usr/home/nick/cvs/doc/handbook/hw.sgml,v retrieving revision 1.47.2.6 diff -u -r1.47.2.6 hw.sgml --- hw.sgml 1997/05/19 12:54:11 1.47.2.6 +++ hw.sgml 1998/03/26 23:17:30 @@ -395,6 +395,7 @@ &uart; &sio; &cy; + &si; * Parallel ports * Modems Index: sections.sgml =================================================================== RCS file: /usr/home/nick/cvs/doc/handbook/sections.sgml,v retrieving revision 1.17.2.5 diff -u -r1.17.2.5 sections.sgml --- sections.sgml 1997/05/19 12:54:15 1.17.2.5 +++ sections.sgml 1998/03/26 23:02:54 @@ -52,6 +52,7 @@ + next, add this as specialix.sgml: ----- cut here ----- Configuring the si driver

Contributed by &a.nsayer;.25 March 1998. The Specialix SI/XIO and SX multiport cards use the si driver. A single machine can have up to 4 host cards. The following host cards are supported: ISA SI/XIO host card (2 versions) EISA SI/XIO host card PCI SI/XIO host card ISA SX host card PCI SX host card

Although the SX and SI/XIO host cards look markedly different, their functionality are basically the same. The host cards do not use I/O locations, but instead require a 32K chunk of memory. The factory configuration for ISA cards places this at 0xd0000-0xd7fff. They also require an IRQ. PCI cards will, of course, autoconfigure themselves.

You can attach up to 4 external modules to each host card. The external modules contain either 4 or 8 serial ports. They come in the following varieties: SI 4 or 8 port modules. Up to 57600 bps on each port supported. XIO 8 port modules. Up to 115200 bps on each port supported. One type of XIO module has 7 serial and 1 parallel port. SXDC 8 port modules. Up to 921600 bps on each port supported. Like XIO, a module is available with one parallel port as well.

To configure an ISA host card, add the following line to your , changing the numbers as appropriate: device si0 at isa? tty iomem 0xd0000 irq 11 Valid IRQ numbers are 9, 10, 11, 12 and 15 for SX ISA host cards and 11, 12 and 15 for SI/XIO ISA host cards.

To configure an EISA or PCI host card, use this line: device si0 After adding the configuration entry, your new kernel.

After rebooting with the new kernel, you need to make the in /dev. The MAKEDEV script will take care of this for you. Count how many total ports you have and type: # cd /dev # ./MAKEDEV ttyAnn cuaAnn (where nn is the number of ports)

If you want login prompts to appear on these ports, you will need to add lines like this to : ttyA01 "/usr/libexec/getty std.9600" vt100 on insecure Change the terminal type as approprate. For modems, dialup or unknown is fine.

Note that by default DCD must be asserted for the login prompt to appear. There are a few ways to tackle this: PR # 5959 adds a flag nc to the gettytab which will make the gettys not wait for carrier before starting. If you apply the patch in that PR, then you can add :nc: to your entries. You can modify /etc/rc.serial to do a stty clocal on /dev/ttyiAnn and /dev/ttylAnn. This locks clocal on the tty devices, which is basically the same sort of thing as the first option. You can wire DTR from your terminals to DCD of the ports. This has the added benefit of automatically logging people out when they turn off the terminals.

----- ereh tuc ----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message