From owner-freebsd-bugs Wed Jun 27 18:22:10 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from ns.itga.com.au (ns.itga.com.au [202.53.40.210]) by hub.freebsd.org (Postfix) with ESMTP id 6C4B437B401; Wed, 27 Jun 2001 18:22:01 -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 LAA12428; Thu, 28 Jun 2001 11:21:59 +1000 (EST) (envelope-from gnb@itga.com.au) Received: from itga.com.au (lightning.itga.com.au [192.168.71.20]) by lightning.itga.com.au (8.9.3/8.9.3) with ESMTP id LAA14713; Thu, 28 Jun 2001 11:20:44 +1000 (EST) Message-Id: <200106280120.LAA14713@lightning.itga.com.au> X-Mailer: exmh version 2.4 05/15/2001 with nmh-1.0.4 From: Gregory Bond To: stable@freebsd.org, bugs@freebsd.org, davidn@freebsd.org Subject: Whence Stallion support for -Stable? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 28 Jun 2001 11:20:44 +1000 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 [Cc'd to stable and bugs. Please reply to bugs only] The driver for Stallion multiport cards in 4-Stable is quite old. It doesn't support many of the newer cards, in particular the EasyIO-PCI card, nor any card manufactured since about 1998, which have a newer and unsupported UART chip. The driver in -Current is much the same with a few current-isms, afaict. There is a newer driver in the unsupported section of the stallion FTP site: ftp://ftp.stallion.com/drivers/unsupported/FreeBSD/stalbsd-2.0.0.tar.gz This supports all the new hardware but seems to be written for old (3.x-vintage) kernels, because it doesn't go anywhere near compiling under 4-Stable. There is a PR (http://www.FreeBSD.org/cgi/query-pr.cgi?pr=22967) submitted by Jan L. Peterson which gives a new version of the above driver that does compile with 4-Stable, and seems to operate as expected (tho I haven't explored all the corner cases with flow control, modem control etc). But this PR is less than ideal. It contains a link to the new driver (fortunately still valid!) rather than the data itself, it requires bits from the original Stallion tarball, and doesn't update MAKEDEV or man pages. And the driver was written for 4.1.1 and will need updating for a few things that have changed since then (kqueue). It also "is using old-style compatibility shims" (whatever that means). This PR has been untouched since it was submitted 12 months ago. A related PR from the same period (http://www.FreeBSD.org/cgi/query-pr.cgi?pr=19890) has been assigned to davidn but also remains otherwise untouched. I am willing (and I hope able!) to provide a jumbo patch to tie all these pieces together and update this driver in a manner that should be easy for a comitter to commit to -Stable. But I am running -Stable only, and have no experience in porting device drivers to -Current, and cannot test this driver in -Current. Is it worth me putting together such a comprehensive patch, or will the need to run it in -Current first mean my effort would be wasted? Any device writer / committer gurus care to offer some guidance? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message