RE: Reading a file inside the device driver.

From: Raj, Ashok (ashok.raj@intel.com)
Date: Fri Jul 28 2000 - 14:48:11 EST


Look at the khttp code, there is quite some examples in them.

-----Original Message-----
From: Vinay Vernekar [mailto:vinay.vernekar@wipro.com]
Sent: Wednesday, July 26, 2000 3:16 AM
To: linux-kernel@vger.rutgers.edu
Subject: Reading a file inside the device driver.

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:28 EST