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)
Wed, Oct 8, 12:28 AM
Unknown Object (File)
Sun, Sep 28, 4:17 PM
Unknown Object (File)
Sat, Sep 27, 2:10 AM
Unknown Object (File)
Mon, Sep 22, 6:08 AM
Unknown Object (File)
Sun, Sep 21, 8:06 AM
Unknown Object (File)
Sat, Sep 20, 8:42 PM
Unknown Object (File)
Sat, Sep 20, 4:26 PM
Unknown Object (File)
Sat, Sep 20, 4:07 PM
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.