]> git.baikalelectronics.ru Git - kernel.git/commitdiff
igc: Remove unused MII_CR_RESET
authorSasha Neftin <sasha.neftin@intel.com>
Mon, 11 Jan 2021 05:17:53 +0000 (07:17 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 19 Mar 2021 20:19:13 +0000 (13:19 -0700)
MII_CR_RESET mask not in use in i225 device and can be removed

Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Dvora Fuxbrumer <dvorax.fuxbrumer@linux.intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/igc/igc_defines.h

index b909f00a79e660334cfa6ea5a9a68b53486e5c4b..ca460bf1af2fb31bc56d10d0ed20190bca2a2789 100644 (file)
 #define MII_CR_POWER_DOWN      0x0800  /* Power down */
 #define MII_CR_AUTO_NEG_EN     0x1000  /* Auto Neg Enable */
 #define MII_CR_LOOPBACK                0x4000  /* 0 = normal, 1 = loopback */
-#define MII_CR_RESET           0x8000  /* 0 = normal, 1 = PHY reset */
 #define MII_CR_SPEED_1000      0x0040
 #define MII_CR_SPEED_100       0x2000
 #define MII_CR_SPEED_10                0x0000