jimodeluren
驱动牛犊
驱动牛犊
  • 注册日期2010-06-13
  • 最后登录2011-05-06
  • 粉丝0
  • 关注0
  • 积分4分
  • 威望31点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1889回复:0

请教:DirectMaster 方式里面的MailBOX要怎么设置?

楼主#
更多 发布于:2010-06-30 14:54
各位高手,在PCI9054的API函数里,用DirectMaster方式传输。需要用一下API函数
 
    // Get the PLX driver reserved buffer PCI address, stored in Mailbox 3
    PciAddress =
        PlxRegisterMailboxRead(
            PrimaryPciBus,
            MailBox3
            &rc
            );
 
    // Read data from the PCI buffer
    rc =
        PlxBusPciRead(
            PrimaryPciBus,
            PciMemSpace,
            PciAddress,
            (VOID*)buffer,
            0x100,
            BitSize8
            );
 请教,那个MailBox3需要怎么设置?
游客

返回顶部