Re: Accessing char device from inside the kernel

2008-06-19 Thread Ed Schouten
Hello Lukasz,

* Lukasz Jaroszewski <[EMAIL PROTECTED]> wrote:
> Hi, as described in topic. How one should access cdev for writing from
> kernel-level. What is the proper way to do that ?
> I will be thankful for any tips and few lines of example code would be
> just great.

I think the code in sys/kern/tty_cons.c should be a good example of
that. Search for '->d_write'.

Yours,
-- 
 Ed Schouten <[EMAIL PROTECTED]>
 WWW: http://80386.nl/


pgp21ljNHfzB1.pgp
Description: PGP signature


Accessing char device from inside the kernel

2008-06-19 Thread Lukasz Jaroszewski
Hi, as described in topic. How one should access cdev for writing from
kernel-level. What is the proper way to do that ?
I will be thankful for any tips and few lines of example code would be
just great.

Best regards
LVJ
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"