i225 devices have only one phy->type: copper. There is no point checking
phy->type during the igc_has_link method from the watchdog that
invoked every 2 seconds.
This patch comes to clean up these pointless checkings.
Signed-off-by: Sasha Neftin <email address hidden>
Tested-by: Dvora Fuxbrumer <email address hidden>
Signed-off-by: Tony Nguyen <email address hidden>
(cherry picked from commit 47bca7de6a4fb8dcb564c7ca14d885c91ed19e03)
Signed-off-by: Anthony Wong <email address hidden>
i225 devices have only one PHY vendor. There is no point checking
_I_PHY_ID during the link establishment and auto-negotiation process.
This patch comes to clean up these pointless checkings.
Signed-off-by: Sasha Neftin <email address hidden>
Tested-by: Dvora Fuxbrumer <email address hidden>
Signed-off-by: Tony Nguyen <email address hidden>
(cherry picked from commit 7c496de538eebd8212dc2a3c9a468386b264d0d4)
Signed-off-by: Anthony Wong <email address hidden>
0764d09...
by
Nachiketa Kumar <email address hidden>
After CONFIG_IO_STRICT_DEVMEM is enabled in kernel config,
some registers cannot be read via /dev/mem anymore. This
patch provides support to application which need to read
back a few whitelisted registers.
Signed-off-by: Qiang Rao <email address hidden>
Signed-off-by: Anthony Wong <email address hidden>