On Wed, Mar 30, 2016 at 10:47 AM, Luigi Rizzo <ri...@iet.unipi.it> wrote:

> Hi,
> I'd like to test the rate at which I can access device registers
> on a PCIe card, and was wondering whether I need to patch a device
> driver, or perhaps I can use /dev/kmem once I figure out where
> the registers are mapped ?
>

You do not need to patch a device driver.  Have you looked at
libpciaccess?  This should give you everything you need.


-Jim


> thanks
> luigi
>
> --
> -----------------------------------------+-------------------------------
>  Prof. Luigi RIZZO, ri...@iet.unipi.it  . Dip. di Ing. dell'Informazione
>  http://www.iet.unipi.it/~luigi/        . Universita` di Pisa
>  TEL      +39-050-2217533               . via Diotisalvi 2
>  Mobile   +39-338-6809875               . 56122 PISA (Italy)
> -----------------------------------------+-------------------------------
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
>
_______________________________________________
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to