none
Windows NT 4.0 to Windows 7 driver porting RRS feed

  • Question

  • Hi, we have a network card which needs driver to be developed for Windows (7 and 10), and we have a reference driver in Windows NT 4.0. How difficult is this porting? Do you recommend porting the driver? Is there any better way? Please guide.

    Thanks.

    GNK

    Thursday, May 10, 2018 4:13 AM

Answers

  • Do you recommend porting the driver?

    99% likely, yes. NT4 is very ancient.

    How difficult is this porting?

    Depends on the actual technology used. Is this something like ethernet? Proprietary wireless? Other unusual medium? Is the hardware standard-conforming (like, PCI) or something "broken"/quirky?

    -- pa



    • Edited by Pavel A Thursday, May 10, 2018 12:13 PM
    • Marked as answer by Keshava GN Thursday, May 10, 2018 1:06 PM
    Thursday, May 10, 2018 12:12 PM
  • The biggest challenge is that most NT4 NDIS drivers were single threaded, and assumed NDIS provided all the locking.   That has changed and you need to be fully multi-threaded.   There are a lot of other changes in NDIS, but if you have a good reference driver for Win7, then what you are really looking at is taking the hardware interactions from your NT4 driver, and adapting them to the needs of the Win7 driver.


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

    • Marked as answer by Keshava GN Thursday, May 10, 2018 1:06 PM
    Thursday, May 10, 2018 12:49 PM

All replies

  • Do you recommend porting the driver?

    99% likely, yes. NT4 is very ancient.

    How difficult is this porting?

    Depends on the actual technology used. Is this something like ethernet? Proprietary wireless? Other unusual medium? Is the hardware standard-conforming (like, PCI) or something "broken"/quirky?

    -- pa



    • Edited by Pavel A Thursday, May 10, 2018 12:13 PM
    • Marked as answer by Keshava GN Thursday, May 10, 2018 1:06 PM
    Thursday, May 10, 2018 12:12 PM
  • Thanks Pavel.

    Yes, this is Ethernet, and PCI based.

    The driver we have is for an older series of the chip. Not the same chip. But we will get another OS driver reference for low level.

    We would use these two drivers as reference for porting to Win7 and new chip.

    How is the NDIS-miniport level differences in these two (NT and Win7)? Is this manageable for porting? Or is there a huge difference that needs to be taken care?

    Thanks.

    Regards,

    GNK

    Thursday, May 10, 2018 12:28 PM
  • The biggest challenge is that most NT4 NDIS drivers were single threaded, and assumed NDIS provided all the locking.   That has changed and you need to be fully multi-threaded.   There are a lot of other changes in NDIS, but if you have a good reference driver for Win7, then what you are really looking at is taking the hardware interactions from your NT4 driver, and adapting them to the needs of the Win7 driver.


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

    • Marked as answer by Keshava GN Thursday, May 10, 2018 1:06 PM
    Thursday, May 10, 2018 12:49 PM
  • Understood. Thanks..
    Thursday, May 10, 2018 1:06 PM