The driver uses ifm_data to save capabilities mask calculated during
initialization when supported phy modes are discovered.
The patch simply calculates it when either media or options are changed.
Details
Details
- Reviewers
glebius - Commits
- rS283007: sfxge: avoid usage of ifm_data
Build tested. Driver loaded.
ifconfig -m sfxge0 tested.
Media and mediaopts changes tested.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Looks more complex than the initial patch, but since achieves the same - removal of ifm_data, I vote for it. Thanks a lot! :)