Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 May 1997 13:34:41 +0930 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        brett@lariat.org (Brett Glass)
Cc:        rberndt@nething.com, WELCHDW@wofford.edu, HARDWARE@FreeBSD.ORG
Subject:   Re: isa bus and boca multiport boards
Message-ID:  <199705210404.NAA08585@genesis.atrad.adelaide.edu.au>
In-Reply-To: <3.0.1.32.19970520125159.006dbe70@lariat.org> from Brett Glass at "May 20, 97 12:51:59 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Brett Glass stands accused of saying:
> At 04:14 PM 5/20/97 -0400, you wrote:
> 
> Maybe the sio driver should be recoded in optimized ASM. I can see some
> major C inefficiencies in it, including lots of repeated pointer
> dereferences and control structures that the compiler would probably
> optimize poorly. I've generated super-tight assembler for serial I/O.

(cocks an ear listening for the ICBM leaving bde's desk).

I don't think that would be a very popular idea; the sio driver should be
more, not less, machine independant.

> A stopgap might be be use a couple of IRQs for the different ports, if the
> board lets you do it. I put no more than 4 UARTs on an IRQ in my system
> because the driver loops over the UARTS at least twice per IRQ.

The boards in question don't.  FWIW, the ISP across the hall from my 
office has a 386dx40 with an 8-port PC-COM (AST-alike) card and four
single UARTs; it gets beaten to death and beyond using a mix of iijppp
and SLiRP and keeps up quite happily.  There's nothing basically wrong
with the sio driver in that regard.

> --Brett

-- 
]] Mike Smith, Software Engineer        msmith@gsoft.com.au             [[
]] Genesis Software                     genesis@gsoft.com.au            [[
]] High-speed data acquisition and      (GSM mobile)     0411-222-496   [[
]] realtime instrument control.         (ph)          +61-8-8267-3493   [[
]] Unix hardware collector.             "Where are your PEZ?" The Tick  [[



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705210404.NAA08585>