From owner-freebsd-hackers Thu Nov 13 13:48:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA24381 for hackers-outgoing; Thu, 13 Nov 1997 13:48:19 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from nomis.i-connect.net (nomis.i-Connect.Net [206.190.143.100] (may be forged)) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id NAA24365 for ; Thu, 13 Nov 1997 13:48:12 -0800 (PST) (envelope-from shimon@i-connect.net) Received: (qmail 1078 invoked by uid 1000); 13 Nov 1997 21:48:31 -0000 Message-ID: X-Mailer: XFMail 1.2-beta-111097 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <346d4ceb.8671504@smtp-gw01.ny.us.ibm.net> Date: Thu, 13 Nov 1997 13:48:31 -0800 (PST) Organization: Atlas Telecom From: Simon Shapiro To: (John Kelly) Subject: Re: Status of 650 UART support Cc: hackers@FreeBSD.ORG, Bruce Evans Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi John Kelly; On 13-Nov-97 you wrote: > On Thu, 13 Nov 1997 20:35:53 +1100, Bruce Evans > wrote: > > >>Why can't we handle large bursts of input? > > > >Buffer sizes are finite. > > Can't we use malloc to create elastic buffers on the fly? Is that a > no-no in the kernel? > > >Multiply some of these numbers by 4 for 64-bit fifos and you have > >seriously high (normal worst case) latencies. (My definition of > >``high'' > >is anything that would stop an 8250 from working at 115200 bps - 87 > >usec :-). I will reduce this when faster speeds become common.) > > Why not start from scratch and develop siov2.c which uses elastic > buffers, 650 polled vs. interrupt mode switching, yada, yada, yada. > Sio.c could still be the default while siov2.c could be selected on a > port by port basis with a kernel config flag. > > Now if someone foolhardy enough to undertake such a project would step > forward (don't look in my direction, I know better). ;-) a. Define ALL the entry points into the driver b. Gather the documentation for all UARTs you want to work b. Send to Simon If the answer to a. or b. is ``read the code'' then do not do c. :-) --- If Microsoft Built Cars: Every time they repainted the lines on the road, you'd have to buy a new car. Sincerely Yours, Simon Shapiro Atlas Telecom Senior Architect 14355 SW Allen Blvd., Suite 130 Beaverton OR 97005 Shimon@i-Connect.Net Voice: 503.799.2313