From: "H. Peter Anvin" <hpa@zytor.com>
To: linux-kernel@vger.kernel.org
Subject: Re: user-space <-> kernel-space
Date: 14 Feb 2002 18:14:38 -0800 [thread overview]
Message-ID: <a4hque$e0s$1@cesium.transmeta.com> (raw)
In-Reply-To: <02021411333501.00959@henrique.cyclades.com.br>
Followup to: <02021411333501.00959@henrique.cyclades.com.br>
By author: Henrique Gobbi <henrique@cyclades.com>
In newsgroup: linux.dev.kernel
>
> Hello !!!
>
> I am trying to develop a line analyzer to my multi-serial card but I am not
> seeing a good solution to send data from the driver to the application in the
> user-space.
>
> Inittialy, I thought in use a char device, but all my minors are beeing used
> and I don't wanna to use another major.
>
> I'd like to know two things:
> 1 - Is there any way to use more than 256 minors under a major
Not until we get a larger dev_t.
> 2 - Is there a simple way to send data from the kernel-space to the
> user-space?
A character device node.
Use a minor from the miscdevice series.
-hpa
--
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt <amsp@zytor.com>
next prev parent reply other threads:[~2002-02-15 2:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-14 13:33 user-space <-> kernel-space Henrique Gobbi
2002-02-15 2:14 ` H. Peter Anvin [this message]
2002-02-15 9:27 ` Joachim Franek
2002-02-15 19:32 ` Erik Mouw
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='a4hque$e0s$1@cesium.transmeta.com' \
--to=hpa@zytor.com \
--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 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.