Re: user-space <-> kernel-space
H. Peter Anvin (hpa@zytor.com)
14 Feb 2002 18:14:38 -0800
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/