Re: PCI Express and drivers

2010-07-05 Thread Christopher Bowman
If I could, let me ask another question. My device could potential have up to 6 BARs, that would be mapped into user space. Should I simply bundle them together in my driver into one contiguous space or should I make the user perform multiple mmap calls? If I go the multiple mmap route, how do I

Re: PCI Express and drivers

2010-07-05 Thread Daniel O'Connor
On 06/07/2010, at 5:32, Christopher Bowman wrote: > If I could, let me ask another question. My device could potential have up > to 6 BARs, that would be mapped into user space. Should I simply bundle them > together in my driver into one contiguous space or should I make the user > perform m

Re: PCI Express and drivers

2010-06-26 Thread Daniel O'Connor
On 26/06/2010, at 14:50, Christopher Bowman wrote: >> PS what board are you using? :) >> > Cool, that looks like what I am looking for. I'll go and read up on it, > thanks very much. I am using the Xilinx SP605 > http://www.xilinx.com/products/devkits/EK-S6-SP605-G.htm > perfect for playi

Re: PCI Express and drivers

2010-06-26 Thread Christopher Bowman
On Fri, Jun 25, 2010 at 8:18 PM, Daniel O'Connor wrote: > > On 26/06/2010, at 3:01, Christopher Bowman wrote: > > I have a Xilinx PCI Express board that has an on board PCIe interface > > macro. I intend to have an address space with memory and another with my > > devices control registers. I wi

Re: PCI Express and drivers

2010-06-25 Thread Daniel O'Connor
On 26/06/2010, at 3:01, Christopher Bowman wrote: > I have a Xilinx PCI Express board that has an on board PCIe interface > macro. I intend to have an address space with memory and another with my > devices control registers. I wish to program this board under FreeBSD. It > would seem to me tha

PCI Express and drivers

2010-06-25 Thread Christopher Bowman
I have a Xilinx PCI Express board that has an on board PCIe interface macro. I intend to have an address space with memory and another with my devices control registers. I wish to program this board under FreeBSD. It would seem to me that the way to do this would be to write a driver that would