0%

This document shows how to use an IO BAR in PCIe device. Currently there is few devices supported IO BAR, however, when we have a card which needs to use IO BAR, this document shares a basic logic about it

阅读全文 »

From mj.ucw.cz/sw/pciutils we can get the code of lspci/setpci, which are two useful tools to debug PCIe related problems. This doc just introduces these two tools and also the sysfs interfaces which can be used in PCIe problem debug.

阅读全文 »

这篇笔记记录驱动程序中mmap的写法,以及相关的调试过程。同样代码在: https://github.com/wangzhou/scull.git

阅读全文 »