History log of /drivers/net/ethernet/amd/xgbe/xgbe-mdio.c
Revision Date Author Comments
a2ea14d7724e5fc1e5ba187fb47f24dfb8c0f381 03-Sep-2014 Lendacky, Thomas <Thomas.Lendacky@amd.com> amd-xgbe: Checkpatch driver fixes

This patch contains fixes identified by checkpatch when run with the
strict option.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
88131a812b16b45cf999e577ad8d89b41ad606e3 05-Aug-2014 Lendacky, Thomas <Thomas.Lendacky@amd.com> amd-xgbe: Perform phy connect/disconnect at dev open/stop

A change added to the mdiobus/phy api added a module_get/module_put
during phy connect/disconnect processing. Currently, the driver
performs a phy connect during module probe and a phy disconnect during
module remove. With the addition of the module_get during phy connect
the amd-xgbe module use count is incremented and can no longer be
unloaded.

Move the phy connect/disconnect from the driver probe/remove functions
to the net_device_ops ndo_open/ndo_stop functions. This allows the
module use count to be decremented when the device(s) are brought down
and allows the module to be unloaded.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
8c43a2cc75b3bf4f89ea439f4439a2a61f22c961 01-Aug-2014 Lendacky, Thomas <Thomas.Lendacky@amd.com> amd-xgbe: Remove unnecessary spinlocks

Remove the spinlocks around the ethtool get and set settings
functions and within the link adjustment callback routine.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
6964e97051146c2dcac99065e0c0367cf76c829a 14-Jul-2014 Lendacky, Thomas <Thomas.Lendacky@amd.com> amd-xgbe: Remove the adjustments needed for fixed speed

With the addition of entries in the phy speed/duplex settings
array to support KR and KX mode, the work-around to add/remove
baseT settings to run at a fixed speed is no longer needed.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
8fc908c3c3a362df1bf9b8f999d30e2c4258d3fc 11-Jun-2014 Dan Carpenter <dan.carpenter@oracle.com> amd-xgbe: unwind on error in xgbe_mdio_register()

There is a typo here so we return directly instead of unwinding.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
c5aa9e3b815645e3aad08444c91ca6b237eeea01 05-Jun-2014 Lendacky, Thomas <Thomas.Lendacky@amd.com> amd-xgbe: Initial AMD 10GbE platform driver

This patch provides the initial platform driver for the AMD
10GbE device.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>