Re: Regarding PCIe peek/poke in NetBSD

Greg Troxel <[email protected]> Mon, 20 Dec 2010 07:57:10 -0500
Newsgroups gmane.os.netbsd.devel.general
Message-ID <[email protected]>
  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.
signature.asc (application/pgp-signature, 194 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (NetBSD)

iEYEARECAAYFAk0PUqYACgkQ+vesoDJhHiWYEQCdE6XN+YyA5DBwCy8lGQ2lmJFU
dOsAnif1NRw7Yz8cbNW+UvGLZY6ZbtN6
=7/tx
-----END PGP SIGNATURE-----