HomeFreeBSD

[axgbe] Fix compiler warnings in gcc-6.3; perhaps fix a PHY issue

Description

[axgbe] Fix compiler warnings in gcc-6.3; perhaps fix a PHY issue

  • uninitialised variable use
  • Using AXGBE_SET_ADV() where it was intended; using AXGBE_ADV() seems wrong and also causes a compiler warning.

Reviewed by: rpokala
Differential Revision: https://reviews.freebsd.org/D26839

Details

Provenance
adrianAuthored on
Reviewer
rpokala
Differential Revision
D26839: [axgbe] fix compiler warnings when compiling using gcc-6.4
Parents
rS368304: MFC r368193:
Branches
Unknown
Tags
Unknown