Page MenuHomeFreeBSD

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

Authored by adrian on Fri, Apr 25, 6:46 PM.

Details

Reviewers
imp
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 63736
Build 60620: arc lint + arc unit