lkml.org 
[lkml]   [2002]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: user-space <-> kernel-space
Date
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>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:24    [W:3.522 / U:0.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site