tech-misc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Regarding PCIe peek/poke in NetBSD



Hi Greg,

Thanks for the link, there i can found some useful information.

As we know that the 'pcictl' command will list all the pci devices
present in the system with corresponding device/vendor id.
The same way, is that possible to get/map the IO/Mem/prefetchable
region of any PCI device by using bus_space_map for Peek/Poke?

If so, please give guidance.

Thanks,
Gnana




On Mon, Dec 20, 2010 at 6:27 PM, Greg Troxel <gdt%ir.bbn.com@localhost> wrote:
>
> ÂI'm new to NetBSD kernel.
>
> ÂIn NetBSD how we can access the I/O region, Memory region and
> ÂPrefetchable region for any PCIe devices?
> ÂHow to map this region and do peek/poke on those addresses?
>
> Read the docs on www.netbsd.org, and skim the Guide. ÂThen read/skim the
> section 9 man pages, and look at example code in src/sys/dev.
>
>


Home | Main Index | Thread Index | Old Index