Date: Mon, 9 Jul 2001 17:29:18 +1000 (EST) From: Gregory Bond <gnb@itga.com.au> To: FreeBSD-gnats-submit@freebsd.org Subject: i386/28831: [patch] Stallion driver jumbo patch Message-ID: <200107090729.f697TIO53566@hellcat.itga.com.au>
next in thread | raw e-mail | index | archive | help
>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
<gerg@stallion.com>). It is based on work done by Jan L. Peterson
<jlp@flipdog.com> 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 < <this file>"
----------
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107090729.f697TIO53566>
