From owner-freebsd-bugs Mon Jul 9 0:40: 9 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A674237B401 for ; Mon, 9 Jul 2001 00:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f697e1x92286; Mon, 9 Jul 2001 00:40:01 -0700 (PDT) (envelope-from gnats) Received: from ns.itga.com.au (ns.itga.com.au [202.53.40.210]) by hub.freebsd.org (Postfix) with ESMTP id A030B37B406 for ; Mon, 9 Jul 2001 00:30:36 -0700 (PDT) (envelope-from gnb@itga.com.au) Received: from lightning.itga.com.au (lightning.itga.com.au [192.168.71.20]) by ns.itga.com.au (8.9.3/8.9.3) with ESMTP id RAA83975 for ; Mon, 9 Jul 2001 17:30:34 +1000 (EST) (envelope-from gnb@itga.com.au) Received: from hellcat.itga.com.au (hellcat.itga.com.au [192.168.71.163]) by lightning.itga.com.au (8.9.3/8.9.3) with ESMTP id RAA23959; Mon, 9 Jul 2001 17:29:18 +1000 (EST) Received: (from gnb@localhost) by hellcat.itga.com.au (8.11.4/8.11.4) id f697TIO53566; Mon, 9 Jul 2001 17:29:18 +1000 (EST) (envelope-from gnb) Message-Id: <200107090729.f697TIO53566@hellcat.itga.com.au> Date: Mon, 9 Jul 2001 17:29:18 +1000 (EST) From: Gregory Bond To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: i386/28831: [patch] Stallion driver jumbo patch Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 28831 >Category: i386 >Synopsis: [patch] Stallion driver jumbo patch >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Jul 09 00:40:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Gregory Bond >Release: FreeBSD 4.3-STABLE i386 >Organization: ITG Australia Limited >Environment: System: FreeBSD hellcat.itga.com.au 4.3-STABLE FreeBSD 4.3-STABLE #21: Mon Jun 18 13:41:36 EST 2001 toor@hellcat.itga.com.au:/usr/obj/usr/src/sys/Hellcat i386 >Description: Update stl(4) and stli(4) drivers to latest 2.0.0 version from Stallion. As discussed last week on -stable and -bugs, I have built a patch file (against -Stable) to update the Stallion drivers to the latest version. This version supports the newer PCI cards as well as newer ISA cards with a different UART chip. It also adds MAKEDEV support. This patch has been tested with an EasyIO-PCI card (stl driver) and an Easyconnect8/64 card (stli driver) with no obvious problems, but not all corner cases of modem signals etc have been exercised. Note this is against -Stable and still uses the "old compatibility shims". Whatever that means! ---------- Packed: Wed Jul 4 11:40:34 EST 2001 Patched against: FreeBSD 4-Stable from approx 2001-07-02 07:00 UTC This patch imports the latest unsupported 2.0.0 version of the stallion driver from ftp.stallion.com (written by Greg Ungerer ). It is based on work done by Jan L. Peterson in PR kern/22967 to convert this driver to FreeBSD 4. The current version of the driver in the source tree is 1.0.0. I have also changed the default device names made by MAKEDEV to be more consistent with the rest of the system: - stl driver dialin devices are ttyE* as before - stli driver dialin devices no longer share the ttyE names, but now use ttyF* names. This allows stl and stli cards to coexist. - dialout devices are now called cuaE* and cuaF* (cf cue*) in line with the rest of the system - Only make device nodes for 8 ports/card by default; this keeps the size of /dev down. See the patched MAKEDEV for more details. A note of the above device changes should probably go into UPDATING when this is committed to the source tree. This patch will supercede/close the following PRs: i386/6368 i386/19890 kern/22967 The following files are basically unchanged between 1.0.0 and 2.0.0 except for whitespace in comments, so are not patched here: sys/i386/include/comstats.h sys/i386/isa/ic/scd1400.h Gregory Bond gnb@itga.com.au New files sys/i386/isa/ic/sc26198.h usr.sbin/stallion/stlstty/stlstty.c usr.sbin/stallion/stlstty/stlstty.8 usr.sbin/stallion/stlstty/Makefile Patched files etc/MAKEDEV sys/i386/conf/LINT sys/i386/include/cdk.h sys/i386/isa/README.stl sys/i386/isa/istallion.c sys/i386/isa/stallion.c usr.sbin/stallion/Makefile usr.sbin/stallion/bootcode/2681.sys.uu usr.sbin/stallion/bootcode/cdk.sys.uu usr.sbin/stallion/bootcode/stl.4 usr.sbin/stallion/stlload/stlload.c usr.sbin/stallion/stlload/stlload.8 usr.sbin/stallion/stlstats/stlstats.8 usr.sbin/stallion/stlstats/stlstats.c To apply, cd to /usr/src and run "patch -p0 < " ---------- >How-To-Repeat: Boot FreeBSD on a box with a newer Stallion card (e.g. EasyIO-PCI) and notice it is not recognised. >Fix: There is a 400k patch file available at http://www.itga.com.au/~gnb/console/stal-jumbo-patch or a 200k compressed version at http://www.itga.com.au/~gnb/console/stal-jumbo-patch.gz I have not attached the path file lest it cause GNATS to choke. I can append it in a followup if there is a need for the patch to be recorded in the audit trail. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message