From 2328977fed81cf2fc367d8eea2f9bf04e51a761f Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Wed, 30 May 2018 21:39:51 +0200 Subject: kernel: bump kernel 4.4 to 4.4.135 for 17.01 * Refreshed patches Signed-off-by: Hauke Mehrtens --- ...t-bgmac-change-bgmac_-prints-to-dev_-prin.patch | 42 +++++++++++----------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'target/linux/generic/patches-4.4/071-v4.8-0001-net-ethernet-bgmac-change-bgmac_-prints-to-dev_-prin.patch') diff --git a/target/linux/generic/patches-4.4/071-v4.8-0001-net-ethernet-bgmac-change-bgmac_-prints-to-dev_-prin.patch b/target/linux/generic/patches-4.4/071-v4.8-0001-net-ethernet-bgmac-change-bgmac_-prints-to-dev_-prin.patch index 3837b60943..096295d4cf 100644 --- a/target/linux/generic/patches-4.4/071-v4.8-0001-net-ethernet-bgmac-change-bgmac_-prints-to-dev_-prin.patch +++ b/target/linux/generic/patches-4.4/071-v4.8-0001-net-ethernet-bgmac-change-bgmac_-prints-to-dev_-prin.patch @@ -140,7 +140,7 @@ Signed-off-by: David S. Miller put_page(virt_to_head_page(buf)); bgmac->net_dev->stats.rx_errors++; break; -@@ -644,7 +644,7 @@ static int bgmac_dma_alloc(struct bgmac +@@ -645,7 +645,7 @@ static int bgmac_dma_alloc(struct bgmac BUILD_BUG_ON(BGMAC_MAX_RX_RINGS > ARRAY_SIZE(ring_base)); if (!(bcma_aread32(bgmac->core, BCMA_IOST) & BCMA_IOST_DMA64)) { @@ -149,7 +149,7 @@ Signed-off-by: David S. Miller return -ENOTSUPP; } -@@ -658,8 +658,8 @@ static int bgmac_dma_alloc(struct bgmac +@@ -659,8 +659,8 @@ static int bgmac_dma_alloc(struct bgmac &ring->dma_base, GFP_KERNEL); if (!ring->cpu_base) { @@ -160,7 +160,7 @@ Signed-off-by: David S. Miller goto err_dma_free; } -@@ -683,8 +683,8 @@ static int bgmac_dma_alloc(struct bgmac +@@ -684,8 +684,8 @@ static int bgmac_dma_alloc(struct bgmac &ring->dma_base, GFP_KERNEL); if (!ring->cpu_base) { @@ -171,7 +171,7 @@ Signed-off-by: David S. Miller err = -ENOMEM; goto err_dma_free; } -@@ -803,8 +803,8 @@ static u16 bgmac_phy_read(struct bgmac * +@@ -804,8 +804,8 @@ static u16 bgmac_phy_read(struct bgmac * bcma_write32(core, phy_access_addr, tmp); if (!bgmac_wait_value(core, phy_access_addr, BGMAC_PA_START, 0, 1000)) { @@ -182,7 +182,7 @@ Signed-off-by: David S. Miller return 0xffff; } -@@ -836,7 +836,7 @@ static int bgmac_phy_write(struct bgmac +@@ -837,7 +837,7 @@ static int bgmac_phy_write(struct bgmac bgmac_write(bgmac, BGMAC_INT_STATUS, BGMAC_IS_MDIO); if (bgmac_read(bgmac, BGMAC_INT_STATUS) & BGMAC_IS_MDIO) @@ -191,7 +191,7 @@ Signed-off-by: David S. Miller tmp = BGMAC_PA_START; tmp |= BGMAC_PA_WRITE; -@@ -846,8 +846,8 @@ static int bgmac_phy_write(struct bgmac +@@ -847,8 +847,8 @@ static int bgmac_phy_write(struct bgmac bcma_write32(core, phy_access_addr, tmp); if (!bgmac_wait_value(core, phy_access_addr, BGMAC_PA_START, 0, 1000)) { @@ -202,7 +202,7 @@ Signed-off-by: David S. Miller return -ETIMEDOUT; } -@@ -900,7 +900,7 @@ static void bgmac_phy_reset(struct bgmac +@@ -901,7 +901,7 @@ static void bgmac_phy_reset(struct bgmac bgmac_phy_write(bgmac, bgmac->phyaddr, MII_BMCR, BMCR_RESET); udelay(100); if (bgmac_phy_read(bgmac, bgmac->phyaddr, MII_BMCR) & BMCR_RESET) @@ -211,7 +211,7 @@ Signed-off-by: David S. Miller bgmac_phy_init(bgmac); } -@@ -1001,7 +1001,8 @@ static void bgmac_mac_speed(struct bgmac +@@ -1002,7 +1002,8 @@ static void bgmac_mac_speed(struct bgmac set |= BGMAC_CMDCFG_ES_2500; break; default: @@ -221,7 +221,7 @@ Signed-off-by: David S. Miller } if (bgmac->mac_duplex == DUPLEX_HALF) -@@ -1100,8 +1101,8 @@ static void bgmac_chip_reset(struct bgma +@@ -1101,8 +1102,8 @@ static void bgmac_chip_reset(struct bgma if (bcm47xx_nvram_getenv("et_swtype", buf, sizeof(buf)) > 0) { if (kstrtou8(buf, 0, &et_swtype)) @@ -232,7 +232,7 @@ Signed-off-by: David S. Miller et_swtype &= 0x0f; et_swtype <<= 4; sw_type = et_swtype; -@@ -1264,7 +1265,7 @@ static irqreturn_t bgmac_interrupt(int i +@@ -1265,7 +1266,7 @@ static irqreturn_t bgmac_interrupt(int i int_status &= ~(BGMAC_IS_TX0 | BGMAC_IS_RX); if (int_status) @@ -241,7 +241,7 @@ Signed-off-by: David S. Miller /* Disable new interrupts until handling existing ones */ bgmac_chip_intrs_off(bgmac); -@@ -1318,7 +1319,7 @@ static int bgmac_open(struct net_device +@@ -1319,7 +1320,7 @@ static int bgmac_open(struct net_device err = request_irq(bgmac->core->irq, bgmac_interrupt, IRQF_SHARED, KBUILD_MODNAME, net_dev); if (err < 0) { @@ -250,7 +250,7 @@ Signed-off-by: David S. Miller bgmac_dma_cleanup(bgmac); return err; } -@@ -1599,14 +1600,14 @@ static int bgmac_fixed_phy_register(stru +@@ -1600,14 +1601,14 @@ static int bgmac_fixed_phy_register(stru phy_dev = fixed_phy_register(PHY_POLL, &fphy_status, -1, NULL); if (!phy_dev || IS_ERR(phy_dev)) { @@ -267,7 +267,7 @@ Signed-off-by: David S. Miller return err; } -@@ -1646,7 +1647,7 @@ static int bgmac_mii_register(struct bgm +@@ -1647,7 +1648,7 @@ static int bgmac_mii_register(struct bgm err = mdiobus_register(mii_bus); if (err) { @@ -276,7 +276,7 @@ Signed-off-by: David S. Miller goto err_free_irq; } -@@ -1658,7 +1659,7 @@ static int bgmac_mii_register(struct bgm +@@ -1659,7 +1660,7 @@ static int bgmac_mii_register(struct bgm phy_dev = phy_connect(bgmac->net_dev, bus_id, &bgmac_adjust_link, PHY_INTERFACE_MODE_MII); if (IS_ERR(phy_dev)) { @@ -285,7 +285,7 @@ Signed-off-by: David S. Miller err = PTR_ERR(phy_dev); goto err_unregister_bus; } -@@ -1707,7 +1708,8 @@ static int bgmac_probe(struct bcma_devic +@@ -1708,7 +1709,8 @@ static int bgmac_probe(struct bcma_devic mac = sprom->et2mac; break; default: @@ -295,7 +295,7 @@ Signed-off-by: David S. Miller return -ENOTSUPP; } -@@ -1730,6 +1732,7 @@ static int bgmac_probe(struct bcma_devic +@@ -1731,6 +1733,7 @@ static int bgmac_probe(struct bcma_devic net_dev->irq = core->irq; net_dev->ethtool_ops = &bgmac_ethtool_ops; bgmac = netdev_priv(net_dev); @@ -303,7 +303,7 @@ Signed-off-by: David S. Miller bgmac->net_dev = net_dev; bgmac->core = core; bcma_set_drvdata(core, bgmac); -@@ -1741,7 +1744,7 @@ static int bgmac_probe(struct bcma_devic +@@ -1742,7 +1745,7 @@ static int bgmac_probe(struct bcma_devic /* On BCM4706 we need common core to access PHY */ if (core->id.id == BCMA_CORE_4706_MAC_GBIT && !core->bus->drv_gmac_cmn.core) { @@ -312,7 +312,7 @@ Signed-off-by: David S. Miller err = -ENODEV; goto err_netdev_free; } -@@ -1760,15 +1763,15 @@ static int bgmac_probe(struct bcma_devic +@@ -1761,15 +1764,15 @@ static int bgmac_probe(struct bcma_devic } bgmac->phyaddr &= BGMAC_PHY_MASK; if (bgmac->phyaddr == BGMAC_PHY_MASK) { @@ -332,7 +332,7 @@ Signed-off-by: David S. Miller err = -ENOTSUPP; goto err_netdev_free; } -@@ -1797,7 +1800,7 @@ static int bgmac_probe(struct bcma_devic +@@ -1798,7 +1801,7 @@ static int bgmac_probe(struct bcma_devic err = bgmac_dma_alloc(bgmac); if (err) { @@ -341,7 +341,7 @@ Signed-off-by: David S. Miller goto err_netdev_free; } -@@ -1811,16 +1814,16 @@ static int bgmac_probe(struct bcma_devic +@@ -1812,16 +1815,16 @@ static int bgmac_probe(struct bcma_devic bgmac->has_robosw = !!(core->bus->sprom.boardflags_lo & BGMAC_BFL_ENETROBO); if (bgmac->has_robosw) @@ -361,7 +361,7 @@ Signed-off-by: David S. Miller goto err_dma_free; } -@@ -1830,7 +1833,7 @@ static int bgmac_probe(struct bcma_devic +@@ -1831,7 +1834,7 @@ static int bgmac_probe(struct bcma_devic err = register_netdev(bgmac->net_dev); if (err) { -- cgit v1.2.3