Forcing the PCI to bus to reenumerate all its devices

Hi I have a PCI device that is disabled by the bios at boot time. After
windows boots my driver enables the device. However since the device
wasnt enabled when windows enumerates all the devices on the PCI bus,
the device isnt assigned a physical address. I have tried to call
IoInvalidateDeviceRelations and set the device object argument to PCI
Dev 0. However after I call that my device still does not have a
physical address assigned to it. Does anyone know if there is a way to
make Windows reenumerate all PCI bus devices?
thanks
Birju

MessageForget about seeing the device’s interrupt vector in this case. With BAR’s maybe some workaround is possible, but not so with interrupts.

Max
----- Original Message -----
From: Shah, Birju N
To: NT Developers Interest List
Sent: Saturday, May 24, 2003 2:12 AM
Subject: [ntdev] Forcing the PCI to bus to reenumerate all its devices

Hi I have a PCI device that is disabled by the bios at boot time. After windows boots my driver enables the device. However since the device wasnt enabled when windows enumerates all the devices on the PCI bus, the device isnt assigned a physical address. I have tried to call IoInvalidateDeviceRelations and set the device object argument to PCI Dev 0. However after I call that my device still does not have a physical address assigned to it. Does anyone know if there is a way to make Windows reenumerate all PCI bus devices?
thanks
Birju

You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

All I want is the BAR to be set. I dont need any interrupts from the
device.

If you know the answer,please tell me.Thank you very much.

-----Original Message-----
From: Shah, Birju N [mailto:xxxxx@intel.com]
Sent: Saturday, May 24, 2003 6:12 AM
Subject: Forcing the PCI to bus to reenumerate all its devices

Hi I have a PCI device that is disabled by the bios at boot time. After
windows boots my driver enables the device. However since the device
wasnt enabled when windows enumerates all the devices on the PCI bus,
the device isnt assigned a physical address. I have tried to call
IoInvalidateDeviceRelations and set the device object argument to PCI
Dev 0. However after I call that my device still does not have a
physical address assigned to it. Does anyone know if there is a way to
make Windows reenumerate all PCI bus devices?
thanks
Birju

Hi first power the device and then update the command register with its
correct value and then write a memroy address to BAR. I think this can
help you.

This is a multi-part message in MIME format.

------_=_NextPart_001_01C32321.B2CD0C42
Content-Type: text/plain;
charset=“us-ascii”
Content-Transfer-Encoding: quoted-printable

If you know the answer,please tell me.Thank you very much.

-----Original Message-----
From: Shah, Birju N [mailto:xxxxx@intel.com]
Sent: Saturday, May 24, 2003 6:12 AM
Subject: Forcing the PCI to bus to reenumerate all its devices

Hi I have a PCI device that is disabled by the bios at boot time. After
windows boots my driver enables the device. However since the device
wasnt enabled when windows enumerates all the devices on the PCI bus,
the device isnt assigned a physical address. I have tried to call
IoInvalidateDeviceRelations and set the device object argument to PCI
Dev 0. However after I call that my device still does not have a
physical address assigned to it. Does anyone know if there is a way to
make Windows reenumerate all PCI bus devices?
thanks
Birju

------_=_NextPart_001_01C32321.B2CD0C42
Content-Type: text/html;
charset=“us-ascii”
Content-Transfer-Encoding: quoted-printable

> charset=3Dus-ascii">

Message

> size=3D2>If you=20
> know the answer,please tell me.Thank you very much.

>
> face=3DTahoma=20
> size=3D2>-----Original Message-----
From: Shah, Birju N=20
> [mailto:xxxxx@intel.com]
Sent: Saturday, May 24, 2003 =
> 6:12=20
> AM
Subject: Forcing the PCI to bus to reenumerate all its=20
> devices

>
Hi I =
> have a PCI=20
> device that is disabled by the bios at boot time. After windows =
> boots my=20
> driver enables the device. However since the device wasnt =
> enabled when=20
> windows enumerates all the devices on the PCI bus, the device isnt =
> assigned a=20
> physical address. I have tried to call =
> IoInvalidateDeviceRelations and=20
> set the device object argument to PCI Dev 0. However after =
> I call=20
> that my device still does not have a physical address assigned to it.=20
> Does anyone know if there is a way to make Windows reenumerate =
> all PCI=20
> bus devices?

>
> size=3D2>thanks

>
> size=3D2>Birju

------_=_NextPart_001_01C32321.B2CD0C42–

Hi Birju,

As the device was not enumerated by the PCI Bus driver itself then their
might be some problem with your hardware or some PCI Configuration space
might be wrong which the PCI Bus driver is not able to enumerated it
properly. Just try to see your device using some of the standard PCI tools
which are freely available. Tell me one more thing whether Windows Pops up
any window saying that he has detected a new hardware found.Generally if
it is not enumerated by the PCI Bus driver then that should be a hardware
fault. Just try to figure it out with your hardware people.

ALL THE BEST.

Regards,
Vishwanath M.

Vishwanath, I am trying to create a bios workaround. If I enable the
device in the bios than it is enumerated by Windows and I have no
problem. It has a BAR and everything is fine. However in most bios
versions this option is not available so the device is always disabled.
birju

-----Original Message-----
From: VishwanathM [mailto:xxxxx@wipro.com]
Sent: Monday, May 26, 2003 9:21 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Forcing the PCI to bus to reenumerate all its
devices

Hi Birju,

As the device was not enumerated by the PCI Bus driver itself then their
might be some problem with your hardware or some PCI Configuration space
might be wrong which the PCI Bus driver is not able to enumerated it
properly. Just try to see your device using some of the standard PCI
tools
which are freely available. Tell me one more thing whether Windows Pops
up
any window saying that he has detected a new hardware found.Generally if
it is not enumerated by the PCI Bus driver then that should be a
hardware
fault. Just try to figure it out with your hardware people.

ALL THE BEST.

Regards,
Vishwanath M.


You are currently subscribed to ntdev as: xxxxx@intel.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Why are the bioses disabling this device?


Bill McKenzie
Compuware Corporation
Watch your IRPs/IRBs/URBs/SRBs/NDIS pkts with our free WDMSniffer tool:
http://frontline.compuware.com/nashua/patches/utility.htm

“Shah, Birju N” wrote in message
news:xxxxx@ntdev…

Vishwanath, I am trying to create a bios workaround. If I enable the
device in the bios than it is enumerated by Windows and I have no
problem. It has a BAR and everything is fine. However in most bios
versions this option is not available so the device is always disabled.
birju

-----Original Message-----
From: VishwanathM [mailto:xxxxx@wipro.com]
Sent: Monday, May 26, 2003 9:21 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Forcing the PCI to bus to reenumerate all its
devices

Hi Birju,

As the device was not enumerated by the PCI Bus driver itself then their
might be some problem with your hardware or some PCI Configuration space
might be wrong which the PCI Bus driver is not able to enumerated it
properly. Just try to see your device using some of the standard PCI
tools
which are freely available. Tell me one more thing whether Windows Pops
up
any window saying that he has detected a new hardware found.Generally if
it is not enumerated by the PCI Bus driver then that should be a
hardware
fault. Just try to figure it out with your hardware people.

ALL THE BEST.

Regards,
Vishwanath M.


You are currently subscribed to ntdev as: xxxxx@intel.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

These are all beta bioses. Some have the option but most dont.

-----Original Message-----
From: Bill McKenzie [mailto:xxxxx@compuware.com]
Sent: Tuesday, May 27, 2003 9:45 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Forcing the PCI to bus to reenumerate all its
devices

Why are the bioses disabling this device?


Bill McKenzie
Compuware Corporation
Watch your IRPs/IRBs/URBs/SRBs/NDIS pkts with our free WDMSniffer tool:
http://frontline.compuware.com/nashua/patches/utility.htm

“Shah, Birju N” wrote in message
news:xxxxx@ntdev…

Vishwanath, I am trying to create a bios workaround. If I enable the
device in the bios than it is enumerated by Windows and I have no
problem. It has a BAR and everything is fine. However in most bios
versions this option is not available so the device is always disabled.
birju

-----Original Message-----
From: VishwanathM [mailto:xxxxx@wipro.com]
Sent: Monday, May 26, 2003 9:21 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Forcing the PCI to bus to reenumerate all its
devices

Hi Birju,

As the device was not enumerated by the PCI Bus driver itself then their
might be some problem with your hardware or some PCI Configuration space
might be wrong which the PCI Bus driver is not able to enumerated it
properly. Just try to see your device using some of the standard PCI
tools
which are freely available. Tell me one more thing whether Windows Pops
up
any window saying that he has detected a new hardware found.Generally if
it is not enumerated by the PCI Bus driver then that should be a
hardware
fault. Just try to figure it out with your hardware people.

ALL THE BEST.

Regards,
Vishwanath M.


You are currently subscribed to ntdev as: xxxxx@intel.com
To unsubscribe send a blank email to xxxxx@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@intel.com
To unsubscribe send a blank email to xxxxx@lists.osr.com