none
Type of driver framework for a PCI express card RRS feed

  • Question

  • Hi Folks,

    I am writing a driver for a PCI express card . Our development platform is Windows 10 with Visual Studio 2015 .

    Can you please suggest type of driver model to use for this purpose ?

    I am bit confused whether to go for a KMDF or WDM model ?

    Thanks

    Monday, March 13, 2017 4:43 AM

Answers

  • it depends on what type of card and it and what you will expose to the OS, the basic choices are (classs : model)

    1) network: NDIS

    2) storage: storport

    3) audio : KS (portcls or stream, I can never remember)

    4) graphics : dxgkrnl

    5) everything else : KMDF

    notice no WDM. there is no reason to use WDM anymore.


    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    • Marked as answer by steevan123 Monday, March 13, 2017 8:25 AM
    Monday, March 13, 2017 5:33 AM

All replies

  • it depends on what type of card and it and what you will expose to the OS, the basic choices are (classs : model)

    1) network: NDIS

    2) storage: storport

    3) audio : KS (portcls or stream, I can never remember)

    4) graphics : dxgkrnl

    5) everything else : KMDF

    notice no WDM. there is no reason to use WDM anymore.


    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    • Marked as answer by steevan123 Monday, March 13, 2017 8:25 AM
    Monday, March 13, 2017 5:33 AM
  • Thank you . 

    Our card processes data and does some operations on data . From your details it looks like I should choose  KMDF .

    Monday, March 13, 2017 6:05 AM
  • You definitely should use KMDF.   Take a look at the PCIDRV sample since hit has examples of most interactions with hardware.  You can probably remove most of the code for any given device.


    Don Burn Windows Driver Consulting Website: http://www.windrvr.com

    Monday, March 13, 2017 11:19 AM