Page MenuHomeFreeBSD

sfxge: avoid usage of ifm_data
ClosedPublic

Authored by arybchik on May 14 2015, 12:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 17, 5:27 AM
Unknown Object (File)
Tue, Jan 7, 11:09 PM
Unknown Object (File)
Dec 14 2024, 8:25 PM
Unknown Object (File)
Dec 4 2024, 7:59 PM
Unknown Object (File)
Dec 4 2024, 7:57 PM
Unknown Object (File)
Dec 4 2024, 7:57 PM
Unknown Object (File)
Nov 29 2024, 1:34 AM
Unknown Object (File)
Nov 22 2024, 6:03 AM
Subscribers

Details

Summary

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.

Test Plan

Build tested. Driver loaded.
ifconfig -m sfxge0 tested.
Media and mediaopts changes tested.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

arybchik retitled this revision from to sfxge: avoid usage of ifm_data.
arybchik updated this object.
arybchik edited the test plan for this revision. (Show Details)
arybchik added a reviewer: glebius.
glebius edited edge metadata.

Looks more complex than the initial patch, but since achieves the same - removal of ifm_data, I vote for it. Thanks a lot! :)

This revision is now accepted and ready to land.May 16 2015, 8:48 AM
This revision was automatically updated to reflect the committed changes.