Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (42 commits) cxgb3: fix premature page unmap ibm_newemac: Fix EMACx_TRTR[TRT] bit shifts vlan: Fix register_vlan_dev() error path gro: Fix illegal merging of trailer trash sungem: Fix Serdes detection. net: fix mdio section mismatch warning ppp: fix BUG on non-linear SKB (multilink receive) ixgbe: Fixing EEH handler to handle more than one error net: Fix the rollback test in dev_change_name() Revert "isdn: isdn_ppp: Use SKB list facilities instead of home-grown implementation." TI Davinci EMAC : Fix Console Hang when bringing the interface down smsc911x: Fix Console Hang when bringing the interface down. mISDN: fix error return in HFCmulti_init() forcedeth: mac address fix r6040: fix version printing Bluetooth: Fix regression with L2CAP configuration in Basic Mode Bluetooth: Select Basic Mode as default for SOCK_SEQPACKET Bluetooth: Set general bonding security for ACL by default r8169: Fix receive buffer length when MTU is between 1515 and 1536 can: add the missing netlink get_xstats_size callback ...
This commit is contained in:
@@ -2063,7 +2063,15 @@ static int gem_check_invariants(struct gem *gp)
|
||||
mif_cfg &= ~MIF_CFG_PSELECT;
|
||||
writel(mif_cfg, gp->regs + MIF_CFG);
|
||||
} else {
|
||||
gp->phy_type = phy_serialink;
|
||||
#ifdef CONFIG_SPARC
|
||||
const char *p;
|
||||
|
||||
p = of_get_property(gp->of_node, "shared-pins", NULL);
|
||||
if (p && !strcmp(p, "serdes"))
|
||||
gp->phy_type = phy_serdes;
|
||||
else
|
||||
#endif
|
||||
gp->phy_type = phy_serialink;
|
||||
}
|
||||
if (gp->phy_type == phy_mii_mdio1 ||
|
||||
gp->phy_type == phy_mii_mdio0) {
|
||||
|
Reference in New Issue
Block a user