From owner-freebsd-hackers Mon Jul 3 23:10:03 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id XAA15675 for hackers-outgoing; Mon, 3 Jul 1995 23:10:03 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id XAA15661 for ; Mon, 3 Jul 1995 23:09:53 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id PAA11661; Tue, 4 Jul 1995 15:55:36 +1000 Date: Tue, 4 Jul 1995 15:55:36 +1000 From: Bruce Evans Message-Id: <199507040555.PAA11661@godzilla.zeta.org.au> To: babkin@hq.icb.chel.su, davidg@Root.COM Subject: Re: Minor for Digiboard driver Cc: hackers@freebsd.org Sender: hackers-owner@freebsd.org Precedence: bulk >>My developing of Digiboard driver came to the point where I need >>a major number. Give me one please. > Just pick the next available one. If we need to re-assign it before >committing the driver (very unlikely), then that's okay. We're close to needing a single major number for all ttys (like sd has a single major number for all scsi controllers). You need a new major now, however. Please be careful not to implement any ioctl or minor number magic that is inconsistent with the other drivers (sio, cy and rc; cx and ity are already inconsistent). Did you use any "intelligent" features of the Digiboard? Minor design flaws made most of the cd1400 (the serial chip on Cyclades boards) intelligence that was was using quite useless: I was using the cd1400's POSIX handling of parity and framing errors but found that this interferred with the reporting of overrun errors. I was using the cd1400's match-on-special-char feature to detect packet framing characters but found that the extra interrupts for the special characters caused overrun errors. I thought had the cd1400 working slightly more efficiently than a 16550, but that was only with an input fifo size that was too large to avoid overruns. To avoid overruns for just 2 active ports, the input fifo size has to be 6, while 14 works for 16550's and is considerably more efficient. Bruce