Page MenuHomeFreeBSD

e6000sw: schedule e6000sw_tick() to occur once a second
ClosedPublic

Authored by adrian on Fri, Apr 25, 6:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 6, 2:07 PM
Unknown Object (File)
Tue, May 6, 2:07 PM
Unknown Object (File)
Tue, May 6, 2:07 PM
Unknown Object (File)
Tue, May 6, 2:07 PM
Unknown Object (File)
Tue, May 6, 2:07 PM
Unknown Object (File)
Mon, Apr 28, 11:28 PM
Unknown Object (File)
Sun, Apr 27, 9:44 PM
Unknown Object (File)
Sat, Apr 26, 11:46 AM
Subscribers

Details

Summary

Although all the machinery is present, the tick routine only ran once.
It was never rescheduled. So, reschedule it.

However in practice I've discovered that the tick routine is running
whilst a bunch of phys are actually being probe/attached on each per-port
MII bus being created and probed off of the switch itself.

Until that's debugged (and likely the whole PHY management stuff is
cleaned up here), just add a NULL check and thus don't panic.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Fri, Apr 25, 7:39 PM
This revision now requires review to proceed.Sat, Apr 26, 3:59 PM
This revision was not accepted when it landed; it landed in state Needs Review.Sun, Apr 27, 6:39 PM
This revision was automatically updated to reflect the committed changes.