<div dir="ltr">Actually it is a PCI based NIC card having a NIC port and some RAM on it.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 4, 2015 at 11:40 AM, Greg KH <span dir="ltr"><<a href="mailto:gregkh@linuxfoundation.org" target="_blank">gregkh@linuxfoundation.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, Jun 03, 2015 at 08:27:20PM +0530, Robert Clove wrote:<br>
> Hi I have a PCI based card which have few RAM on it.<br>
<br>
</span>You said that before :)<br>
<br>
You didn't answer the question of "what kind of PCI card is this?"<br>
<span class=""><br>
> I have to copy the text file to RAM and read it too.<br>
<br>
</span>Who is telling you you "have to"?<br>
<span class=""><br>
> Actually i want my pci device to be exposed as block device and then mount file<br>
> system on it.<br>
<br>
</span>Then use it as a block device. Note, you need a special type of PCI<br>
card to be able to do this, as well as a special kernel driver for that<br>
PCI card to make it work properly.<br>
<br>
But without any knowledge of what type of PCI card you have, it's a bit<br>
hard to give you anymore help, sorry.<br>
<br>
greg k-h<br>
</blockquote></div><br></div>