Re: ugen claiming pcie device

2010-11-13 Thread Christopher Bowman
at 6:47 PM, Dan Nelson wrote: > In the last episode (Nov 13), Christopher Bowman said: > > I have a Xilinx PCIe card installed in my machine and it appears that > > ugen0 is claiming it. Why would a PCIe device even be offered to ugen? > > > > The message I get on boot

ugen claiming pcie device

2010-11-13 Thread Christopher Bowman
I have a Xilinx PCIe card installed in my machine and it appears that ugen0 is claiming it. Why would a PCIe device even be offered to ugen? The message I get on boot up is: ugen0 on uhub3 Any way I can prevent this so my on kld driver can attach? Regards Christopher ___

Re: Missing files device_if.h and bus_if.h

2010-07-17 Thread Christopher Bowman
Can a pci/pcie dirver be loaded and unloaded like a kld? On Mon, Jul 12, 2010 at 7:46 PM, M. Warner Losh wrote: > Not quite. Make creates them... > >Matthew Jacob writes: > : config(8) creates them I believe > : > : > line 523 of bus.h > : > > : > tries to include the following fil

Missing files device_if.h and bus_if.h

2010-07-10 Thread Christopher Bowman
line 523 of bus.h tries to include the following files: #include "device_if.h" #include "bus_if.h" however, I don't see them any where in my source tree. Are these missing or am I suppose to create them or are they built as part of the build process and if the latter then why didn't I get a cop

Re: PCI Express and drivers

2010-07-05 Thread Christopher Bowman
I match a mmap call to a particular BAR? Do I use the size of the allocation? Thanks Christopher On Sat, Jun 26, 2010 at 8:11 AM, Daniel O'Connor wrote: > > On 26/06/2010, at 14:50, Christopher Bowman wrote: > >> PS what board are you using? :) > >> > > Cool

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 > >

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