新聞中心

        EEPW首頁 > 嵌入式系統 > 設計應用 > vxworks下PCI設備驅動開發的相關函數

        vxworks下PCI設備驅動開發的相關函數

        作者: 時間:2016-09-12 來源:網絡 收藏

        對于vxworks下PCI設備調試來說,pciConfigShow庫函數可以幫助顯示一些PCI設備的信息。

        本文引用地址:http://www.104case.com/article/201609/304998.htm

        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 ()



        關鍵詞:

        評論


        相關推薦

        技術專區

        關閉
        主站蜘蛛池模板: 安龙县| 那曲县| 观塘区| 南安市| 嘉禾县| 兴国县| 棋牌| 留坝县| 邓州市| 枝江市| 化德县| 习水县| 莲花县| 汶川县| 望奎县| 济宁市| 澎湖县| 牡丹江市| 东城区| 武陟县| 本溪| 沾益县| 勃利县| 定远县| 阿城市| 库车县| 光山县| 克东县| 马龙县| 甘南县| 华阴市| 建宁县| 陆川县| 陈巴尔虎旗| 拉萨市| 中宁县| 花莲县| 庆元县| 泸定县| 安多县| 土默特左旗|