Re: Device Driver Question.

From: Jonathan Corbet (corbet-lk@lwn.net)
Date: Tue Sep 12 2000 - 09:44:01 EST


> 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.

jon

Jonathan Corbet
Executive editor, LWN.net
corbet@lwn.net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Sep 15 2000 - 21:00:18 EST