Hello

I have the source code to a driver that works fine on NT4 but we now
need to get it to work on XP. Our testing indicates that the driver
does not work on XP. It is possible that it is a configuration issue
however - as the driver gets some data from the registry - I am
checking if we have that correctly configured. But I am guessing that
is not the problem.

Should a driver written for NT4 work on XP without change? The driver
is for an RS422 multidrop card. Are there any areas of the driver
code which I should be watching out for? Is this a total re-write
situation or only minor changes?

Any comments would be much appreciated.

Angus

Re: Getting started modifying a NT serial card driver to run on XP by Doron

Doron
Thu Oct 11 09:13:55 PDT 2007

do you have any idea where it is failing? typically drivers which consume
hw resources should be converted from the NT4 style driver to support pnp
(so you have the resources assigned to your device instead of querying for
them) and power (so the device can work properly after standby). bolting on
pnp/power support is somewhat of a big deal, it is not trivial. if you go
down this road, i would suggest you look at KMDF to see if it will allow you
to add pnp / power support while maintaining most of your code base. there
is a KMDF version of serial.sys in the WDK that you can use as a reference.

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"Angus" <anguscomber@gmail.com> wrote in message
news:1192117280.140003.110440@o80g2000hse.googlegroups.com...
> Hello
>
> I have the source code to a driver that works fine on NT4 but we now
> need to get it to work on XP. Our testing indicates that the driver
> does not work on XP. It is possible that it is a configuration issue
> however - as the driver gets some data from the registry - I am
> checking if we have that correctly configured. But I am guessing that
> is not the problem.
>
> Should a driver written for NT4 work on XP without change? The driver
> is for an RS422 multidrop card. Are there any areas of the driver
> code which I should be watching out for? Is this a total re-write
> situation or only minor changes?
>
> Any comments would be much appreciated.
>
> Angus
>