Hi I have a PCI based card which have few RAM on it.
I have to copy the text file to RAM and read it too.Actually i want my pci device to be exposed as block device and then mount file system on it.
On Tue, Jun 2, 2015 at 6:59 AM, Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
On Mon, Jun 01, 2015 at 10:55:44PM +0530, Robert Clove wrote:
> Hi,
>
> I have a pci card that has some amount of ram and flash memory on it.
What kind of card?
> I have found the bar address range for the memory.
> I want to transfer a file to that memory and read from that memory.
PCI card memory are not usually set up as a filesystem, how can you copy
a file to it?
> Any pointers(in terms of sample code) how can i do that?
Why do you want to do this? What exactly are you trying to solve here?
greg k-h
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies