miniport and pci

Hi,

I am writing a miniport driver that talks to the pcie device.Currently I dont have the pcie hardware.But I would be coding for hardware integration.I am including the interrupts in the miniport driver.I would like to know if I need to include the code to communicate to the pci.sys.Do I need to use IoTarget for that?

Thanks,
Shweta

An Io target is not involved when controlling a PCI device

d

Bent from my phone


From: xxxxx@gmail.commailto:xxxxx
Sent: ?8/?25/?2014 3:42 AM
To: Windows System Software Devs Interest Listmailto:xxxxx
Subject: [ntdev] miniport and pci

Hi,

I am writing a miniport driver that talks to the pcie device.Currently I dont have the pcie hardware.But I would be coding for hardware integration.I am including the interrupts in the miniport driver.I would like to know if I need to include the code to communicate to the pci.sys.Do I need to use IoTarget for that?

Thanks,
Shweta


NTDEV is sponsored by OSR

Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev

OSR is HIRING!! See http://www.osr.com/careers

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

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

Hi,

>An Io target is not involved when controlling a PCI device

So i have to make changes only in inf file. Is that correct?
currently I have included PCI\VEN_XXXX&DEV_YYYY.

Any other change is required to connect to the bus driver?

Thanks,
Shweta

You should use the 4 part ID, not the 2 part, if available.

d

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Monday, August 25, 2014 11:11 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] miniport and pci

Hi,

>An Io target is not involved when controlling a PCI device

So i have to make changes only in inf file. Is that correct?
currently I have included PCI\VEN_XXXX&DEV_YYYY.

Any other change is required to connect to the bus driver?

Thanks,
Shweta


NTDEV is sponsored by OSR

Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev

OSR is HIRING!! See http://www.osr.com/careers

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

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

Hi,

With PCI\VEN_XXXX&DEV_YYYY as hardware id in the inf file, I installed the driver.The driver got installed with out PCI device. Actually I thought the driver will not get installed as the device is not there.I checked the driver properties in device manager, under Enumerator, it is showing as “ROOT”.
I would like to know how to make it as PCI as enumerator.

Thanks,
Shweta

I bet you used devcon install , instead use devcon update

d

Bent from my phone


From: xxxxx@gmail.commailto:xxxxx
Sent: ?8/?27/?2014 5:41 AM
To: Windows System Software Devs Interest Listmailto:xxxxx
Subject: RE:[ntdev] miniport and pci

Hi,

With PCI\VEN_XXXX&DEV_YYYY as hardware id in the inf file, I installed the driver.The driver got installed with out PCI device. Actually I thought the driver will not get installed as the device is not there.I checked the driver properties in device manager, under Enumerator, it is showing as “ROOT”.
I would like to know how to make it as PCI as enumerator.

Thanks,
Shweta


NTDEV is sponsored by OSR

Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev

OSR is HIRING!! See http://www.osr.com/careers

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

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

HI,

I installed through device manager using “Add Legacy Hardware device” wizard.I selected the inf file to be installed manually.

Add legacy hardware is functionally equivalent to devcon install, it creates a root enumerated device. You want to update driver on the device PCI enumerated, view by connection in device manager helps to find it.

d

Bent from my phone


From: xxxxx@gmail.commailto:xxxxx
Sent: ?8/?27/?2014 7:10 AM
To: Windows System Software Devs Interest Listmailto:xxxxx
Subject: RE:[ntdev] miniport and pci

HI,

I installed through device manager using “Add Legacy Hardware device” wizard.I selected the inf file to be installed manually.


NTDEV is sponsored by OSR

Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev

OSR is HIRING!! See http://www.osr.com/careers

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

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

Doron Holan wrote:

I bet you used devcon install , instead use devcon update

I have to say, that is probably the most unfortunate parameter name in
the entire DDK. There are few commands that seem so attractive and
cause so much confusion.

Maybe “devcon create” or “devcon newpdo” would have been a better choice.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

xxxxx@gmail.com wrote:

I installed through device manager using “Add Legacy Hardware device” wizard.I selected the inf file to be installed manually.

And that’s what you got. You told it to create a legacy device and
mount your driver on it. That’s what Device Manager did.

If you simply want to make your driver available for the next actual
device that appears. you should use “devcon dp_add” or “dpinst” to
pre-install the package into the driver store. You do not use Device
Manager for this.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.