Hello,

I am trying to implement suspend / resume functionality for my LAN91C111
miniport driver on CE 5.0. I'm running into a problem that keeps it from
functioning on power up. I've followed the directions in the SMSC
documentation for this device for powering down and then powering up the
device. I power up and down in response to OID_PNP_SET_POWER requests from
NDIS. I believe I am powering down and powering up properly, but my network
connection doesn't work after resume.

Using netmon, I have verified that my NIC is sending packets out over the
network after resume. For example, when I ping my desktop from my CE device,
I can see the packets in netmon. Also, when I ping the device from my
desktop, I receive the packets on my device (verified by using netstat.exe).
I can also see my driver responding to RX interrupts.

It seems to me then that my hardware is set up properly on resume, but
somehow the protocol driver is messed up. Does anyone have any suggestions
for me? Is there a way to re-init the protocol drivers from my miniport
driver?

Thanks a lot,

Jason

Re: Problem with suspend/resume on LAN91C111 by Chuck

Chuck
Fri Mar 10 11:15:27 CST 2006

When I was working on LAN91C111 two years ago, I have to toggle reset pin in
LAN91C111 to reset Ethernet chip after system wake up. Otherwise system will
wake but LAN91C111 will work paritially if I don't toggle reset pin in
LAN91C111.

Again, try toggle reset pin for LAN91C111. But there was timming thing I
didn't figure out, so this method will work about for 20 times sleep and
resume opertation. Hope helps,

Chuck
"jaspet" <jaspet@discussions.microsoft.com> wrote in message
news:0E68B72F-77D4-435A-8239-1DB8019A0CDD@microsoft.com...
> Hello,
>
> I am trying to implement suspend / resume functionality for my LAN91C111
> miniport driver on CE 5.0. I'm running into a problem that keeps it from
> functioning on power up. I've followed the directions in the SMSC
> documentation for this device for powering down and then powering up the
> device. I power up and down in response to OID_PNP_SET_POWER requests
> from
> NDIS. I believe I am powering down and powering up properly, but my
> network
> connection doesn't work after resume.
>
> Using netmon, I have verified that my NIC is sending packets out over the
> network after resume. For example, when I ping my desktop from my CE
> device,
> I can see the packets in netmon. Also, when I ping the device from my
> desktop, I receive the packets on my device (verified by using
> netstat.exe).
> I can also see my driver responding to RX interrupts.
>
> It seems to me then that my hardware is set up properly on resume, but
> somehow the protocol driver is messed up. Does anyone have any
> suggestions
> for me? Is there a way to re-init the protocol drivers from my miniport
> driver?
>
> Thanks a lot,
>
> Jason



Re: Problem with suspend/resume on LAN91C111 by jaspet

jaspet
Fri Mar 10 11:46:27 CST 2006

Thanks, for the reply, Chuck. I actually figured out what my problem was. I
wasn't restoring the MAC address to EEPROM after reset. Once I took care of
that, the driver works great.

"Chuck" wrote:

> When I was working on LAN91C111 two years ago, I have to toggle reset pin in
> LAN91C111 to reset Ethernet chip after system wake up. Otherwise system will
> wake but LAN91C111 will work paritially if I don't toggle reset pin in
> LAN91C111.
>
> Again, try toggle reset pin for LAN91C111. But there was timming thing I
> didn't figure out, so this method will work about for 20 times sleep and
> resume opertation. Hope helps,
>
> Chuck
> "jaspet" <jaspet@discussions.microsoft.com> wrote in message
> news:0E68B72F-77D4-435A-8239-1DB8019A0CDD@microsoft.com...
> > Hello,
> >
> > I am trying to implement suspend / resume functionality for my LAN91C111
> > miniport driver on CE 5.0. I'm running into a problem that keeps it from
> > functioning on power up. I've followed the directions in the SMSC
> > documentation for this device for powering down and then powering up the
> > device. I power up and down in response to OID_PNP_SET_POWER requests
> > from
> > NDIS. I believe I am powering down and powering up properly, but my
> > network
> > connection doesn't work after resume.
> >
> > Using netmon, I have verified that my NIC is sending packets out over the
> > network after resume. For example, when I ping my desktop from my CE
> > device,
> > I can see the packets in netmon. Also, when I ping the device from my
> > desktop, I receive the packets on my device (verified by using
> > netstat.exe).
> > I can also see my driver responding to RX interrupts.
> >
> > It seems to me then that my hardware is set up properly on resume, but
> > somehow the protocol driver is messed up. Does anyone have any
> > suggestions
> > for me? Is there a way to re-init the protocol drivers from my miniport
> > driver?
> >
> > Thanks a lot,
> >
> > Jason
>
>
>