Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Dec 2008 10:13:30 -0800
From:      Marcel Moolenaar <xcllnt@mac.com>
To:        Scott Long <scottl@samsco.org>
Cc:        freebsd-current@freebsd.org, Mike Tancsa <mike@sentex.net>
Subject:   Re: uart vs sio differences ?
Message-ID:  <0E8F5AD4-A139-413E-A760-A1BEDDF44BAA@mac.com>
In-Reply-To: <493EA759.4000504@samsco.org>
References:  <200812081621.mB8GLMxB041498@lava.sentex.ca> <ED8BC24F-EAC3-4266-AF54-4C6262DDC156@mac.com> <200812081906.mB8J6oha042222@lava.sentex.ca> <CF6E0ACA-CCFA-4A35-A88F-C95484309A78@mac.com> <200812082049.mB8KnHSN042710@lava.sentex.ca> <84A7F176-5A74-48AC-859A-C0D4C7CBCB48@mac.com> <7.1.0.9.0.20081208173515.13f62e88@sentex.net> <200812091457.mB9EvLSD047534@lava.sentex.ca> <493EA759.4000504@samsco.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Dec 9, 2008, at 9:14 AM, Scott Long wrote:

> That aside, I think what needs to happen is for the driver to use the
> interrupt handler to pull the bytes out of the hardware and into an
> internal lockless ring buffer, then schedule the swi to process the  
> ring
> buffer.

The uart(4) driver is exactly doing what you describe.

-- 
Marcel Moolenaar
xcllnt@mac.com






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0E8F5AD4-A139-413E-A760-A1BEDDF44BAA>