From owner-freebsd-questions@FreeBSD.ORG Thu May 15 18:32:48 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57A30106567A for ; Thu, 15 May 2008 18:32:48 +0000 (UTC) (envelope-from andy@trit.org) Received: from charade.trit.org (charade.trit.org [65.19.139.44]) by mx1.freebsd.org (Postfix) with ESMTP id 42ABD8FC1B for ; Thu, 15 May 2008 18:32:48 +0000 (UTC) (envelope-from andy@trit.org) Received: by charade.trit.org (Postfix, from userid 1004) id CAC401B011C; Thu, 15 May 2008 17:59:48 +0000 (UTC) Date: Thu, 15 May 2008 17:59:48 +0000 From: Andy Miller To: freebsd-questions@freebsd.org Message-ID: <20080515175948.GA98896@charade.trit.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mYCpIKhGyMATD0i+" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-OS: FreeBSD 5.4-STABLE X-Advocacy: Use FreeBSD. X-PGP-Key: 8982ACB9 X-PGP-Fingerprint: 70CC 757F 49BB 0ED4 925C 5BA3 EC6C BF9B 8982 ACB9 Subject: FreeBSD and multi-port serial cards X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2008 18:32:48 -0000 --mYCpIKhGyMATD0i+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I have a multi-port serial card that uses the puc driver. It doesn't work out of the box, but I found a patch on the hackers list that claims to fix the problem. My problem now is that it seems that the code for this driver has been completely redone in FreeBSD 7.0. Can someone help me translate the patch below to work on a 7.0 system? --- pucdata.c.org Sat Dec 16 00:31:37 2006 +++ pucdata.c Thu Mar 22 13:03:32 2007 @@ -865,6 +865,17 @@ }, }, =20 + { "Oxford Semiconductor Ltd OX16PCI954 Quad UART", + { 0x1415, 0x9501, 0x131f, 0x2050 }, + { 0xffff, 0xffff, 0xffff, 0xffff }, + { + { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ * 10 }, + { PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ * 10 }, + { PUC_PORT_TYPE_COM, 0x10, 0x10, COM_FREQ * 10 }, + { PUC_PORT_TYPE_COM, 0x10, 0x18, COM_FREQ * 10 }, + }, + }, + { "SIIG Cyber 4S PCI 16C650 (20x family)", { 0x1415, 0x9501, 0x131f, 0x2051 }, { 0xffff, 0xffff, 0xffff, 0xffff }, Thanks. -- Andy Miller --mYCpIKhGyMATD0i+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFILHoS7Gy/m4mCrLkRAhZGAJ0UyVirUpcBHupglqF7nGJRZhoQyACcDQpP 6ZTi9uvi/5nCEkGvrLQ0+Rs= =70oF -----END PGP SIGNATURE----- --mYCpIKhGyMATD0i+--