From: Matthieu CASTET <castet.matthieu@free.fr>
To: linux-kernel@vger.kernel.org
Subject: Re: [GIT PATCH] UIO patches for 2.6.21
Date: Sat, 28 Apr 2007 13:00:14 +0000 (UTC) [thread overview]
Message-ID: <pan.2007.04.28.13.00.14@free.fr> (raw)
In-Reply-To: 20070427224957.GA17967@kroah.com
Hi,
On Fri, 27 Apr 2007 15:49:57 -0700, Greg KH wrote:
> Here are the updated UIO (Userspace I/O driver framework) patches for
> 2.6.21.
>
>
> Documentation/DocBook/kernel-api.tmpl | 4 +
> Documentation/DocBook/uio-howto.tmpl | 498 +++++++++++++++++++++++
> drivers/Kconfig | 1 + drivers/Makefile
> | 1 + drivers/uio/Kconfig | 27 ++
> drivers/uio/Makefile | 2 + drivers/uio/uio.c
> | 702 +++++++++++++++++++++++++++++++++
> drivers/uio/uio_cif.c | 156 ++++++++
> include/linux/uio_driver.h | 91 +++++ 9 files changed,
> 1482 insertions(+), 0 deletions(-) create mode 100644
> Documentation/DocBook/uio-howto.tmpl create mode 100644
> drivers/uio/Kconfig create mode 100644 drivers/uio/Makefile create mode
> 100644 drivers/uio/uio.c
> create mode 100644 drivers/uio/uio_cif.c create mode 100644
> include/linux/uio_driver.h
>
uio_dummy.c (that should be present according documentation) seems
missing.
I find the doc not very clear for the devices where there is no
interrupt : they speak of some kernel timer, but a userspace timer could
be used (and even the userspace driver could be written without kernel
support at all).
At the end of the doc there is something about IRQ_HANDLED vs IRQ_NONE.
Last time I check kernel irq code, in both case next irq handler are
called. The only difference was that if all handler reply IRQ_NONE, the
kernel gave an error about an unexpected interrupt.
Also why sysfs is used for describing the mapping instead of something
like an ioctl ?
UIO could be useful in embedded system where sysfs is not always
desirable.
Matthieu
next prev parent reply other threads:[~2007-04-28 13:00 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-27 22:49 [GIT PATCH] UIO patches for 2.6.21 Greg KH
2007-04-27 22:50 ` [PATCH 1/3] UIO: Add the User IO core code Greg Kroah-Hartman
2007-04-27 22:50 ` [PATCH 2/3] UIO: Documentation Greg Kroah-Hartman
2007-04-27 22:50 ` [PATCH 3/3] UIO: Hilscher CIF card driver Greg Kroah-Hartman
2007-04-29 19:44 ` [PATCH 3/3] UIO: Hilscher CIF card driver (with patch) Hans-Jürgen Koch
2007-05-01 23:42 ` [PATCH 2/3] UIO: Documentation Randy Dunlap
2007-05-02 8:41 ` Hans-Jürgen Koch
2007-05-02 20:52 ` Randy Dunlap
2007-05-02 22:00 ` Hans-Jürgen Koch
2007-05-02 23:37 ` Randy Dunlap
2007-05-03 5:37 ` Greg KH
2007-05-03 6:39 ` Hans-Jürgen Koch
2007-05-04 9:37 ` Hans-Jürgen Koch
2007-05-07 17:46 ` Randy Dunlap
2007-05-07 20:01 ` Hans-Jürgen Koch
2007-04-27 23:19 ` Flaws with "UIO: Add the User IO core code" Alan Cox
2007-04-28 11:39 ` Thomas Gleixner
2007-04-28 18:52 ` Flaws with "UIO: Add the User IO core code" (with patch) Hans-Jürgen Koch
2007-04-28 20:24 ` Alan Cox
2007-04-28 20:38 ` Thomas Gleixner
2007-04-28 21:03 ` Hans-Jürgen Koch
2007-04-28 21:08 ` Thomas Gleixner
2007-04-28 21:14 ` Flaws with "UIO: Add the User IO core code" Hans-Jürgen Koch
2007-04-29 22:18 ` Flaws with "UIO: Add the User IO core code" (with patch) Hans-Jürgen Koch
2007-04-27 23:04 ` [GIT PATCH] UIO patches for 2.6.21 Andrew Morton
2007-04-27 23:11 ` Greg KH
2007-04-28 11:38 ` Thomas Gleixner
2007-04-27 23:26 ` Alan Cox
2007-04-28 0:28 ` Hans-Jürgen Koch
2007-04-28 13:00 ` Matthieu CASTET [this message]
2007-04-28 13:49 ` Hans-Jürgen Koch
2007-04-28 19:56 ` Bill Davidsen
2007-04-28 20:02 ` Thomas Gleixner
2007-04-28 20:03 ` Hans-Jürgen Koch
2007-04-28 20:15 ` Alan Cox
2007-04-28 20:31 ` Thomas Gleixner
2007-04-29 1:23 ` Greg KH
2007-04-29 8:30 ` Thomas Gleixner
2007-04-29 12:09 ` Jan Engelhardt
2007-04-29 16:27 ` Alan Cox
2007-05-07 20:02 ` Pavel Machek
-- strict thread matches above, loose matches on Subject: below --
2007-05-08 14:04 Greg KH
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=pan.2007.04.28.13.00.14@free.fr \
--to=castet.matthieu@free.fr \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox