您的位置 首页 元件

vxworks下PCI设备驱动开发的相关函数

对于vxworks下PCI设备调试来说,pciConfigShow库函数可以帮助显示一些PCI设备的信息。VxWorks API Reference : Driver LibrariespciConf

关于vxworks下PCI设备调试来说,pciConfigShow库函数能够协助显现一些PCI设备的信息。

VxWorks API Reference : Driver Libraries

pciConfigShow

NAME

pciConfigShow – Show routines of PCI bus(IO mapped) library

ROUTINES

pciDeviceShow( ) – print information about PCI devices

pciHeaderShow( ) – print a header of the specified PCI device

pciFindDeviceShow( ) – find a device by deviceId, then print an information.

pciFindClassShow( ) – find a device by 24-bit class code

pciConfigStatusWordShow( ) – show the decoded value of the status word

pciConfigCmdWordShow( ) – show the decoded value of the command word

pciConfigFuncShow( ) – show configuration details about a function

pciConfigTopoShow( ) – show PCI topology

STATUS pciDeviceShow

(

int busNo /* bus number */

)

STATUS pciHeaderShow

(

int busNo, /* bus number */

int deviceNo, /* device number */

int funcNo /* function number */

)

STATUS pciFindDeviceShow

(

int vendorId, /* vendor ID */

int deviceId, /* device ID */

int index /* desired instance of device */

)

STATUS pciFindClassShow

(

int classCode, /* 24-bit class code */

int index /* desired instance of device */

)

STATUS pciConfigStatusWordShow

(

int bus, /* bus */

int device, /* device */

int function, /* function */

void * pArg /* ignored */

)

STATUS pciConfigCmdWordShow

(

int bus, /* bus */

int device, /* device */

int function, /* function */

void * pArg /* ignored */

)

STATUS pciConfigFuncShow

(

int bus, /* bus */

int device, /* device */

int function, /* function */

void * pArg /* ignored */

)

void pciConfigTopoShow ()

声明:本文内容来自网络转载或用户投稿,文章版权归原作者和原出处所有。文中观点,不代表本站立场。若有侵权请联系本站删除(kf@86ic.com)https://www.86ic.net/xinpin/yuanjian/321329.html

为您推荐

联系我们

联系我们

在线咨询: QQ交谈

邮箱: kf@86ic.com

关注微信
微信扫一扫关注我们

微信扫一扫关注我们

返回顶部