On Mon, Nov 15, 2010 at 11:11:42PM +0000, Bruce Cran wrote: > I've been trying to get suspend/resume working on my Dell laptop. I have two > if_msk adapters: one's the built-in 100Mb port and the other's a Sonnet Gb > ExpressCard NIC. I've noticed that if I boot with the Gb card installed both > ports work fine when the laptop has been resumed but if I don't have the Gb > card installed then the built-in port stops working. Is there any way to > debug what might be going wrong? >
Could you show me dmesg output? I've attached a blind patch which could be related with suspend/resume. I guess powering down code was not synchronized well for newer controllers.
Index: sys/dev/msk/if_msk.c =================================================================== --- sys/dev/msk/if_msk.c (revision 215345) +++ sys/dev/msk/if_msk.c (working copy) @@ -2941,8 +2941,6 @@ CSR_WRITE_4(sc, B0_HWE_IMSK, 0); CSR_READ_4(sc, B0_HWE_IMSK); - msk_phy_power(sc, MSK_PHY_POWERDOWN); - /* Put hardware reset. */ CSR_WRITE_2(sc, B0_CTST, CS_RST_SET); sc->msk_pflags |= MSK_FLAG_SUSPEND;
_______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"