From mboxrd@z Thu Jan 1 00:00:00 1970 From: gregkh@linuxfoundation.org (Greg KH) Date: Tue, 2 Jun 2015 10:29:20 +0900 Subject: Accessing Ram on PCI card In-Reply-To: References: Message-ID: <20150602012920.GA23940@kroah.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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