Re: working with the linux-next tree

2009-05-16 Thread SandeepKsinha
On Sat, May 16, 2009 at 10:11 PM, Robert P. J. Day wrote: > >  i just want to verify how to play with the linux-next tree. > following the instructions here: > > http://linux.f-seidel.de/linux-next/pmwiki/pmwiki.php?n=Linux-next.FAQ > > i took my clone of linus' tree and ran those instructions, at

working with the linux-next tree

2009-05-16 Thread Robert P. J. Day
i just want to verify how to play with the linux-next tree. following the instructions here: http://linux.f-seidel.de/linux-next/pmwiki/pmwiki.php?n=Linux-next.FAQ i took my clone of linus' tree and ran those instructions, at which point, i have: $ git branch -a * master linux-next/history

Re: Copying user space data to PCI memory

2009-05-16 Thread SandeepKsinha
On Sat, May 16, 2009 at 6:33 PM, SandeepKsinha wrote: > Hi Arun, > > On Sat, May 16, 2009 at 5:48 PM, arun c wrote: >> Hi all, >> >> I want to copy data from user space to PCI memory. >> >> I mapped the PCI memory of the card by, >> >> 1)pci_request_regions(pci_dev, DEVICE_NAME); >> 2)buffer_addr

Re: Copying user space data to PCI memory

2009-05-16 Thread SandeepKsinha
Hi Arun, On Sat, May 16, 2009 at 5:48 PM, arun c wrote: > Hi all, > > I want to copy data from user space to PCI memory. > > I mapped the PCI memory of the card by, > > 1)pci_request_regions(pci_dev, DEVICE_NAME); > 2)buffer_addr = pci_iomap(pci_dev, 1, 1024); > > Now I want to write data supplie

Copying user space data to PCI memory

2009-05-16 Thread arun c
Hi all, I want to copy data from user space to PCI memory. I mapped the PCI memory of the card by, 1)pci_request_regions(pci_dev, DEVICE_NAME); 2)buffer_addr = pci_iomap(pci_dev, 1, 1024); Now I want to write data supplied by the user to buffer_addr(BAR1 pre-fetch-able memory of the device) I