You must poll your device in MiniportInitialize() then while waiting for the
EEPROM to be read into the hardware.
Good Luck,
-dave
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Narayana Reddy P
Sent: Friday, November 14, 2008 2:32 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] How to update the MAC address
Hi Cattley,
NDIS is not responding when we wait in the initialize function.
Our driver will update the MAC address once we receive the interrupt from
device.
If we wait on initialize function NDIS is not responding to the interrupt.
-Thanks
NarayanaReddy
David R. Cattley wrote:
Where is NDIS getting ?stuck??
During MiniportInitialize() is when you should be preparing the hardware
including programming the MAC address (if overridden by configuration) or
retrieving the burned-in-address. After MiniportInitialize() has completed,
it is expected that the MAC address will stay constant. During
MiniportInitialize() you can do most anything you need to get your hardware
ready since that routine is run at IRQL == PASSIVE_LEVEL.
It is not possible to change the MAC address *after* MiniportInitialize().
Good Luck,
Dave Cattley
Consulting Engineer
Systems Software Development
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Narayana Reddy P
Sent: Friday, November 14, 2008 1:24 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] How to update the MAC address
Hi!
I got a query regarding the mac address update.
Our driver is Ndis Miniport driver.
My doubt is…Is there any provision to update the MAC address from
driver???
Presently Ndis queries MAC address through “OID_802_3_CURRENT_ADDRESS”.
After this if the driver wants to update the MAC address, Is there any
provision to do this??
If the driver blocks the “OID_802_3_CURRENT_ADDRESS” until driver gets the
Mac address from Eeprom
NDIS is getting struck.
So can some one suggest me the procedure to update the MAC address from
driver???
Your help is appreciated in this regard.
Thanks,
Narayana.
NTDEV is sponsored by OSR
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
NTDEV is sponsored by OSR
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
NTDEV is sponsored by OSR
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