Reading a file inside the device driver.

From: Vinay Vernekar (vinay.vernekar@wipro.com)
Date: Wed Jul 26 2000 - 05:16:21 EST


Hi,
I am developing a network driver which has to read a file 'firmware.bin' and dump it into the modem memory. I want to know how can the file be opened and read inside a driver. As far as I know the normal file operation functions used in User applications like - fopen, fread can't be used in the driver code.
Any suggestions on this is welcome.
Thanks in advance.

Regards
Vinay

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jul 31 2000 - 21:00:21 EST