Skip to content

Commit

Permalink
r8169: revert 7da97ec (bis repetita)
Browse files Browse the repository at this point in the history
RTL_GIGA_MAC_VER_17 breaks as well.

Signed-off-by: Mark Lord <[email protected]>
Signed-off-by: Francois Romieu <[email protected]>
Cc: Edward Hsu <[email protected]>
  • Loading branch information
Mark Lord authored and Jeff Garzik committed Nov 10, 2007
1 parent 5a37a68 commit 50d84c2
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions drivers/net/r8169.c
Original file line number Diff line number Diff line change
Expand Up @@ -1247,16 +1247,6 @@ static void rtl8169sb_hw_phy_config(void __iomem *ioaddr)

rtl_phy_write(ioaddr, phy_reg_init, ARRAY_SIZE(phy_reg_init));
}
static void rtl8168b_hw_phy_config(void __iomem *ioaddr)
{
struct phy_reg phy_reg_init[] = {
{ 0x1f, 0x0000 },
{ 0x10, 0xf41b },
{ 0x1f, 0x0000 }
};

rtl_phy_write(ioaddr, phy_reg_init, ARRAY_SIZE(phy_reg_init));
}

static void rtl8168cp_hw_phy_config(void __iomem *ioaddr)
{
Expand Down Expand Up @@ -1326,12 +1316,6 @@ static void rtl_hw_phy_config(struct net_device *dev)
case RTL_GIGA_MAC_VER_04:
rtl8169sb_hw_phy_config(ioaddr);
break;
case RTL_GIGA_MAC_VER_11:
case RTL_GIGA_MAC_VER_12:
break;
case RTL_GIGA_MAC_VER_17:
rtl8168b_hw_phy_config(ioaddr);
break;
case RTL_GIGA_MAC_VER_18:
rtl8168cp_hw_phy_config(ioaddr);
break;
Expand Down

0 comments on commit 50d84c2

Please sign in to comment.