KMDF and legacy devices

Hi all,
I have to port a Linux device driver for a PC104 board to XP.
I
would like to use KMDF 1.1 as I found it very very usefull when writing
USB device driver but I am a little confused about the general
architecture for a legacy board.
Should I write it as a root-enumerated
PNP device driver OR do I have to use “Control Device Objects” only ?

Best regards,
PaoloC

If by ‘legacy board’ you mean that it looks like an ISA device then you
should write a PnP ISA device driver for it using WDF. You will have to
write an inf file describing its resource requirements.

=====================
Mark Roddy DDK MVP
Windows 2003/XP/2000 Consulting
Hollis Technology Solutions 603-321-1032
www.hollistech.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@tin.it
Sent: Thursday, May 18, 2006 5:13 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] KMDF and legacy devices

Hi all,
I have to port a Linux device driver for a PC104 board to XP.
I
would like to use KMDF 1.1 as I found it very very usefull
when writing USB device driver but I am a little confused
about the general architecture for a legacy board.
Should I write it as a root-enumerated
PNP device driver OR do I have to use “Control Device Objects” only ?

Best regards,
PaoloC


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online
at http://www.osronline.com/page.cfm?name=ListServer

Thanx a lot Mark for your support,
I will follow your suggestion.

Can
you please explain what kind of devices are “legacy hardware device”
mentioned in “Using Control Device Objects” of KMDF documentation:

“Drivers can use control device objects to represent software-only
virtual devices or legacy hardware devices (that is, devices that do
not provide PnP or power management capabilities).”

Best regards,
PaoloC

----Messaggio originale----
Da: xxxxx@hollistech.com
Data: 18-
mag-2006 12.49 PM
A: “Windows System Software Devs Interest List”

Ogg: RE: [ntdev] KMDF and legacy devices

If by
‘legacy board’ you mean that it looks like an ISA device then you
should write a PnP ISA device driver for it using WDF. You will have to
write an inf file describing its resource requirements.

=====================
Mark Roddy DDK MVP
Windows 2003/XP/2000
Consulting
Hollis Technology Solutions 603-321-1032
www.hollistech.
com

> -----Original Message-----
> From: xxxxx@lists.osr.
com
> [mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@tin.it
> Sent: Thursday, May 18, 2006 5:13 AM
> To: Windows
System Software Devs Interest List
> Subject: [ntdev] KMDF and legacy
devices
>
> Hi all,
> I have to port a Linux device driver for a PC104
board to XP.
> I
> would like to use KMDF 1.1 as I found it very very
usefull
> when writing USB device driver but I am a little confused
>
about the general architecture for a legacy board.
> Should I write it
as a root-enumerated
> PNP device driver OR do I have to use “Control
Device Objects” only ?
>
> Best regards,
> PaoloC
>
>
> —
>
Questions? First check the Kernel Driver FAQ at
> http://www.osronline.
com/article.cfm?id=256
>
> To unsubscribe, visit the List Server
section of OSR Online
> at http://www.osronline.com/page.cfm?
name=ListServer
>


Questions? First check the Kernel Driver FAQ
at http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit
the List Server section of OSR Online at http://www.osronline.com/page.
cfm?name=ListServer