I have an old WindowsNT ISA driver with two CAN devices, I have rewritten the
driver with pnp and power management etc.
I want to create a INF file for the driver with the two devices - they have
different IRQ and memory ranges.
Is it possible ? if it is - how do i write the INF file, Can i use LogConfig
to configure the hardware resources on both devices or do i have to use two
INF files.
I am only seems to receive the hardware resources for one device in
START_DEVICE
Thanks in advance!

Re: INF file for ISA driver with multiple devices by Don

Don
Thu Dec 09 07:13:09 CST 2004

You can do this with one INF. Your IRQConfig and MemConfig can specify
multiple sets of values. When you run "Add Device" it should ask you for
the resources from the list you gave in LogConfig. You can also change the
resources in the device manager.


--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply

"Anders" <Anders@discussions.microsoft.com> wrote in message
news:DA43B759-E948-4403-8CD4-177D5AAC43BB@microsoft.com...
> I have an old WindowsNT ISA driver with two CAN devices, I have rewritten
the
> driver with pnp and power management etc.
> I want to create a INF file for the driver with the two devices - they
have
> different IRQ and memory ranges.
> Is it possible ? if it is - how do i write the INF file, Can i use
LogConfig
> to configure the hardware resources on both devices or do i have to use
two
> INF files.
> I am only seems to receive the hardware resources for one device in
> START_DEVICE
> Thanks in advance!



Re: INF file for ISA driver with multiple devices by Anders

Anders
Thu Dec 09 09:17:05 CST 2004

In my Add Device function i start the two devices and i can "manualy" read
the resources , but when i read the resources in my START_DEVICE function i
get both of the resources on both devices - i only want one hareware resource
on every devices.

"Don Burn" wrote:

> You can do this with one INF. Your IRQConfig and MemConfig can specify
> multiple sets of values. When you run "Add Device" it should ask you for
> the resources from the list you gave in LogConfig. You can also change the
> resources in the device manager.
>
>
> --
> Don Burn (MVP, Windows DDK)
> Windows 2k/XP/2k3 Filesystem and Driver Consulting
> Remove StopSpam from the email to reply
>
> "Anders" <Anders@discussions.microsoft.com> wrote in message
> news:DA43B759-E948-4403-8CD4-177D5AAC43BB@microsoft.com...
> > I have an old WindowsNT ISA driver with two CAN devices, I have rewritten
> the
> > driver with pnp and power management etc.
> > I want to create a INF file for the driver with the two devices - they
> have
> > different IRQ and memory ranges.
> > Is it possible ? if it is - how do i write the INF file, Can i use
> LogConfig
> > to configure the hardware resources on both devices or do i have to use
> two
> > INF files.
> > I am only seems to receive the hardware resources for one device in
> > START_DEVICE
> > Thanks in advance!
>
>
>