From owner-freebsd-stable@FreeBSD.ORG Mon Jun 29 17:02:33 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A26951065672 for ; Mon, 29 Jun 2009 17:02:33 +0000 (UTC) (envelope-from oberman@es.net) Received: from mailgw.es.net (mail2.es.net [IPv6:2001:400:107:1::2]) by mx1.freebsd.org (Postfix) with ESMTP id 8B7918FC15 for ; Mon, 29 Jun 2009 17:02:33 +0000 (UTC) (envelope-from oberman@es.net) Received: from ptavv.es.net (ptavv.es.net [IPv6:2001:400:910::29]) by mailgw.es.net (8.14.3/8.14.3) with ESMTP id n5TH2UM7002210 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 29 Jun 2009 10:02:31 -0700 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id DA7241CC2E; Mon, 29 Jun 2009 10:02:30 -0700 (PDT) To: Lars Eighner In-reply-to: Your message of "Mon, 29 Jun 2009 06:12:43 CDT." <20090629061143.R2586@qroenaqrq.6qbyyneqvnyhc.pbz> Date: Mon, 29 Jun 2009 10:02:30 -0700 From: "Kevin Oberman" Message-Id: <20090629170230.DA7241CC2E@ptavv.es.net> X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5, 1.2.40, 4.0.166 definitions=2009-06-29_06:2009-06-25, 2009-06-29, 2009-06-29 signatures=0 Cc: freebsd-stable@freebsd.org Subject: Re: Why is sio.c still broken? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2009 17:02:33 -0000 > Date: Mon, 29 Jun 2009 06:12:43 -0500 (CDT) > From: Lars Eighner > Sender: owner-freebsd-stable@freebsd.org > > I was about to trash a modem because the HDLC and buffer overflows were > grinding it to halt --- or just about. I switch slots, changed the modem > out with and old 28.8, and so forth. > > > Eventually I discovered some really old stuff about sio.c which > suggested this: > > cp4ticks = speed / 10 / hz * 4; > > be changed to this. > > cp4ticks = speed / 10 / hz * 40; > > and everything worked like a charm > > So I am wondering why this hasn't been changed since it seems to be > necessary for proper operation of just about the only non-winmodem > available. Probably because sio is about to be dropped and no one has given it much attention of late. It's probably best to convert to use of uart which is the new serial port driver and will be the only one in V8 which is in code freeze and should be out in two or three months. Let the "I coulda had a V8" puns and bad jokes begin! -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751