[lkml]   [2000]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Device Driver Question.
>   I have a trivial question, is it possible to Open a Device Driver (A)
> within and other Device Driver (B) and Handle the driver-A similar to how
> an application uses the Driver.

It is certainly possible to call the same operations, yes, if done with
proper care. One example you could look at would be the Raw I/O driver,
.../drivers/char/raw.c, though that requires an understanding of the kiovec
structure as well.


Jonathan Corbet
Executive editor,
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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