diff options
author | Felix Fietkau <nbd@nbd.name> | 2018-04-09 09:55:48 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2018-04-27 15:19:19 +0200 |
commit | 771f1ca3ffe10871893751ab384de3b7a9b06610 (patch) | |
tree | b9b095a1fa53905ed11ac67578d903097ab2ae21 /target/linux/brcm63xx/patches-4.4/001-4.16-04-bcm63xx_enet-use-platform-device-id-directly-for-mii.patch | |
parent | 1de74df8b9bbaafd147a2380fa306140b79b60d9 (diff) | |
download | upstream-771f1ca3ffe10871893751ab384de3b7a9b06610.tar.gz upstream-771f1ca3ffe10871893751ab384de3b7a9b06610.tar.bz2 upstream-771f1ca3ffe10871893751ab384de3b7a9b06610.zip |
brcm63xx: remove linux 4.4 support
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/brcm63xx/patches-4.4/001-4.16-04-bcm63xx_enet-use-platform-device-id-directly-for-mii.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-4.4/001-4.16-04-bcm63xx_enet-use-platform-device-id-directly-for-mii.patch | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/target/linux/brcm63xx/patches-4.4/001-4.16-04-bcm63xx_enet-use-platform-device-id-directly-for-mii.patch b/target/linux/brcm63xx/patches-4.4/001-4.16-04-bcm63xx_enet-use-platform-device-id-directly-for-mii.patch deleted file mode 100644 index 2c8206ec9a..0000000000 --- a/target/linux/brcm63xx/patches-4.4/001-4.16-04-bcm63xx_enet-use-platform-device-id-directly-for-mii.patch +++ /dev/null @@ -1,46 +0,0 @@ -From faea89cd893a1a7af81185f026a64dad603ef72f Mon Sep 17 00:00:00 2001 -From: Jonas Gorski <jonas.gorski@gmail.com> -Date: Sun, 17 Dec 2017 12:58:12 +0100 -Subject: [PATCH 4/4] bcm63xx_enet: use platform device id directly for miibus - name - -Directly use the platform device for generating the miibus name. This removes -the last user of bcm_enet_priv::mac_id and we can remove the field. - -Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> ---- - drivers/net/ethernet/broadcom/bcm63xx_enet.c | 3 +-- - drivers/net/ethernet/broadcom/bcm63xx_enet.h | 3 --- - 2 files changed, 1 insertion(+), 5 deletions(-) - ---- a/drivers/net/ethernet/broadcom/bcm63xx_enet.c -+++ b/drivers/net/ethernet/broadcom/bcm63xx_enet.c -@@ -1767,7 +1767,6 @@ static int bcm_enet_probe(struct platfor - dev->irq = priv->irq = res_irq->start; - priv->irq_rx = res_irq_rx->start; - priv->irq_tx = res_irq_tx->start; -- priv->mac_id = pdev->id; - - priv->mac_clk = devm_clk_get(&pdev->dev, "enet"); - if (IS_ERR(priv->mac_clk)) { -@@ -1835,7 +1834,7 @@ static int bcm_enet_probe(struct platfor - bus->priv = priv; - bus->read = bcm_enet_mdio_read_phylib; - bus->write = bcm_enet_mdio_write_phylib; -- sprintf(bus->id, "%s-%d", pdev->name, priv->mac_id); -+ sprintf(bus->id, "%s-%d", pdev->name, pdev->id); - - /* only probe bus where we think the PHY is, because - * the mdio read operation return 0 instead of 0xffff ---- a/drivers/net/ethernet/broadcom/bcm63xx_enet.h -+++ b/drivers/net/ethernet/broadcom/bcm63xx_enet.h -@@ -192,9 +192,6 @@ struct bcm_enet_mib_counters { - - struct bcm_enet_priv { - -- /* mac id (from platform device id) */ -- int mac_id; -- - /* base remapped address of device */ - void __iomem *base; - |