diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2014-02-04 22:55:23 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2014-02-04 22:55:23 +0000 |
commit | 346da3bd4e67f9c8ceac0895a6d5a637f182b93d (patch) | |
tree | 65d1af4b0835715eae3e39d62a8bd4cb8bcd9083 /target/linux/bcm53xx | |
parent | 44a1b2d391cc620ac5d9f1698d41f95bb60d9b4f (diff) | |
download | upstream-346da3bd4e67f9c8ceac0895a6d5a637f182b93d.tar.gz upstream-346da3bd4e67f9c8ceac0895a6d5a637f182b93d.tar.bz2 upstream-346da3bd4e67f9c8ceac0895a6d5a637f182b93d.zip |
kernel: bgmac: update bgmac to a version from kernel 3.14-rc1
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39465 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/bcm53xx')
-rw-r--r-- | target/linux/bcm53xx/patches-3.10/202-bgmac-make-bgmac-work-on-systems-without-nvram.patch | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/target/linux/bcm53xx/patches-3.10/202-bgmac-make-bgmac-work-on-systems-without-nvram.patch b/target/linux/bcm53xx/patches-3.10/202-bgmac-make-bgmac-work-on-systems-without-nvram.patch index 73bffe59a3..78154707e7 100644 --- a/target/linux/bcm53xx/patches-3.10/202-bgmac-make-bgmac-work-on-systems-without-nvram.patch +++ b/target/linux/bcm53xx/patches-3.10/202-bgmac-make-bgmac-work-on-systems-without-nvram.patch @@ -40,7 +40,17 @@ The PHY says it is not connected by default, just ignore it. pr_err("Unsupported core_unit %d\n", core->core_unit); return -ENOTSUPP; } -@@ -1534,8 +1538,7 @@ static int bgmac_probe(struct bcma_devic +@@ -1473,8 +1477,7 @@ static int bgmac_probe(struct bcma_devic + } + bgmac->cmn = core->bus->drv_gmac_cmn.core; + +- bgmac->phyaddr = core->core_unit ? sprom->et1phyaddr : +- sprom->et0phyaddr; ++ bgmac->phyaddr = BGMAC_PHY_NOREGS; // core->core_unit ? sprom->et1phyaddr : sprom->et0phyaddr; + bgmac->phyaddr &= BGMAC_PHY_MASK; + if (bgmac->phyaddr == BGMAC_PHY_MASK) { + bgmac_err(bgmac, "No PHY found\n"); +@@ -1526,8 +1529,7 @@ static int bgmac_probe(struct bcma_devic /* TODO: reset the external phy. Specs are needed */ bgmac_phy_reset(bgmac); |