diff options
author | françois romieu <romieu@fr.zoreil.com> | 2011-01-20 04:59:23 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-20 16:50:05 -0800 |
commit | ccd5c8ef24590bd0e1277ae6f6c0b7790afd371d (patch) | |
tree | dad76b9c70bcbae001a88a69684f59b785ff7105 /drivers/net/atl1e/atl1e_main.c | |
parent | 34aac66cc2c32f6cd0bd08e0a0e6de851d261e36 (diff) | |
download | kernel_samsung_smdk4412-ccd5c8ef24590bd0e1277ae6f6c0b7790afd371d.zip kernel_samsung_smdk4412-ccd5c8ef24590bd0e1277ae6f6c0b7790afd371d.tar.gz kernel_samsung_smdk4412-ccd5c8ef24590bd0e1277ae6f6c0b7790afd371d.tar.bz2 |
atl1e: remove private #define.
Either unused or duplicates from mii.h.
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Cc: Jay Cliburn <jcliburn@gmail.com>
Cc: Chris Snook <chris.snook@gmail.com>
Cc: Jie Yang <jie.yang@atheros.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/atl1e/atl1e_main.c')
-rw-r--r-- | drivers/net/atl1e/atl1e_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/atl1e/atl1e_main.c b/drivers/net/atl1e/atl1e_main.c index e28f8ba..bf7500c 100644 --- a/drivers/net/atl1e/atl1e_main.c +++ b/drivers/net/atl1e/atl1e_main.c @@ -2051,9 +2051,9 @@ static int atl1e_suspend(struct pci_dev *pdev, pm_message_t state) atl1e_read_phy_reg(hw, MII_BMSR, (u16 *)&mii_bmsr_data); atl1e_read_phy_reg(hw, MII_BMSR, (u16 *)&mii_bmsr_data); - mii_advertise_data = MII_AR_10T_HD_CAPS; + mii_advertise_data = ADVERTISE_10HALF; - if ((atl1e_write_phy_reg(hw, MII_AT001_CR, 0) != 0) || + if ((atl1e_write_phy_reg(hw, MII_CTRL1000, 0) != 0) || (atl1e_write_phy_reg(hw, MII_ADVERTISE, mii_advertise_data) != 0) || (atl1e_phy_commit(hw)) != 0) { |