none
PCIe driver development RRS feed

  • Question

  • Hi,

    I've got the particular link for PCI bus driver http://msdn.microsoft.com/en-us/library/windows/hardware/ff537451(v=vs.85).aspx Can somebody please provide me any link which will have any sample and description about PCIe driver as well.

    ~alp

    Monday, December 17, 2012 1:49 PM

Answers

  • PCI and PCIe act essentially the same.  The only significant programming difference is the possible presence of MSI interrupts, and the interfaces that handle those need to work for both legacy and MSI so there is no change if things are written correctly.

    Develop your driver with KMDF and you should be fine, if you hit something particular come back to this forum with the specific problem.


    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr

    • Marked as answer by markRoddyModerator Monday, December 17, 2012 2:59 PM
    • Unmarked as answer by alpana-ss Tuesday, December 18, 2012 12:01 PM
    • Marked as answer by alpana-ss Tuesday, December 18, 2012 12:03 PM
    Monday, December 17, 2012 2:05 PM

All replies

  • PCI and PCIe act essentially the same.  The only significant programming difference is the possible presence of MSI interrupts, and the interfaces that handle those need to work for both legacy and MSI so there is no change if things are written correctly.

    Develop your driver with KMDF and you should be fine, if you hit something particular come back to this forum with the specific problem.


    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr

    • Marked as answer by markRoddyModerator Monday, December 17, 2012 2:59 PM
    • Unmarked as answer by alpana-ss Tuesday, December 18, 2012 12:01 PM
    • Marked as answer by alpana-ss Tuesday, December 18, 2012 12:03 PM
    Monday, December 17, 2012 2:05 PM
  • Thanks for your quick reply Donald !!

    ~alp

    Tuesday, December 18, 2012 6:01 AM
  • Hi Donald,

    Continuing to the first query i again came across with a confusion that as PCIe is more like a network and uses layering concept;While developing PCIe bus driver,do we need to write any code for all those layers(Transaction,Physical, Data link) or it will taken care by default ?

    Apart from this query,if i want to start  developing using KMDF  whether the toaster sample (http://code.msdn.microsoft.com/windowshardware/Toaster-7d256224)in the KMDF would be a good start?

    Please suggest!!

    ~alp


    • Edited by alpana-ss Tuesday, December 18, 2012 12:09 PM
    Tuesday, December 18, 2012 7:27 AM
  • No the bus is presented to you as something you can access exactly like a PCI bus.


    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr

    Tuesday, December 18, 2012 12:27 PM