From: "David H. Lynch Jr." <dhlii@dlasys.net>
To: monstr@seznam.cz
Cc: Grant Likely <grant.likely@secretlab.ca>,
John Williams <john.williams@petalogix.com>,
Josh Boyer <jwboyer@linux.vnet.ibm.com>,
linux-serial@vger.kernel.org, jacmet@sunsite.dk,
Stephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Subject: Re: Uartlite driver & CONFIG_CONSOLE_POLL
Date: Thu, 15 May 2008 10:45:36 -0400 [thread overview]
Message-ID: <482C4C90.8060606@dlasys.net> (raw)
In-Reply-To: <4827E073.9020301@seznam.cz>
One of the key differences between my uartlite driver and Peter's
is that like many other serial drivers I have a timer to support irqless
use. Just like Peter has UartLite Like devices with 16bit datapaths,
I have UartLites with no interrupts.
I have tried (unsuccessfully) several times to migrate my timer
code into Peter's driver. This is probably the most fundimental
remaining reason I can not use Peter's driver.
More recently I noticed a CONFIG_CONSOLE_POLL option show
up. There are remarks that this is similar to NETPOLL - though
it seems to be implimented using a getc and putc rather than a
poll entry.
Is this a general serial facility, rather than just for consoles ?
If I create the polled getc/putc routines can I expect a serial driver
to be functional without having to implement my own timer based
polling ?
Is this the proper way to do this ?
--
Dave Lynch DLA Systems
Software Development: Embedded Linux
717.627.3770 dhlii@dlasys.net http://www.dlasys.net
fax: 1.253.369.9244 Cell: 1.717.587.7774
Over 25 years' experience in platforms, languages, and technologies too numerous to list.
"Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction."
Albert Einstein
next prev parent reply other threads:[~2008-05-15 14:52 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-11 14:01 Uartlite driver Michal Simek
2008-05-11 22:39 ` John Williams
2008-05-12 4:31 ` Grant Likely
2008-05-12 6:15 ` Michal Simek
2008-05-15 14:31 ` David H. Lynch Jr.
2008-05-15 16:39 ` Stephen Neuendorffer
2008-05-16 7:41 ` Peter Korsgaard
2008-05-15 14:45 ` David H. Lynch Jr. [this message]
2008-05-16 7:47 ` Uartlite driver & CONFIG_CONSOLE_POLL Peter Korsgaard
[not found] ` <482E5BD0.1080306@dlasys.net>
2008-05-18 19:04 ` Peter Korsgaard
2008-05-12 7:43 ` Uartlite driver Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=482C4C90.8060606@dlasys.net \
--to=dhlii@dlasys.net \
--cc=grant.likely@secretlab.ca \
--cc=jacmet@sunsite.dk \
--cc=john.williams@petalogix.com \
--cc=jwboyer@linux.vnet.ibm.com \
--cc=linux-serial@vger.kernel.org \
--cc=monstr@seznam.cz \
--cc=stephen.neuendorffer@xilinx.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.