X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Fgeneric%2Fpatches-3.13%2F773-bgmac-add-srab-switch.patch;h=fe52ccc33e387a05fe6d3f74b195659bc63df120;hb=ba7c3db55561680904df1d5ad8f09209ea8dbe4f;hp=be253064b11d2946422143319ff79d7711621514;hpb=d9964b2ee399822c59fcfa01b17485ff1e5ece61;p=openwrt.git diff --git a/target/linux/generic/patches-3.13/773-bgmac-add-srab-switch.patch b/target/linux/generic/patches-3.13/773-bgmac-add-srab-switch.patch index be253064b1..fe52ccc33e 100644 --- a/target/linux/generic/patches-3.13/773-bgmac-add-srab-switch.patch +++ b/target/linux/generic/patches-3.13/773-bgmac-add-srab-switch.patch @@ -12,7 +12,7 @@ Signed-off-by: Hauke Mehrtens #include static const struct bcma_device_id bgmac_bcma_tbl[] = { -@@ -1443,6 +1444,17 @@ static void bgmac_mii_unregister(struct +@@ -1405,6 +1406,17 @@ static void bgmac_mii_unregister(struct mdiobus_free(mii_bus); } @@ -30,7 +30,7 @@ Signed-off-by: Hauke Mehrtens /************************************************** * BCMA bus ops **************************************************/ -@@ -1561,6 +1573,16 @@ static int bgmac_probe(struct bcma_devic +@@ -1521,6 +1533,16 @@ static int bgmac_probe(struct bcma_devic goto err_dma_free; } @@ -47,7 +47,7 @@ Signed-off-by: Hauke Mehrtens err = register_netdev(bgmac->net_dev); if (err) { bgmac_err(bgmac, "Cannot register net device\n"); -@@ -1590,6 +1612,10 @@ static void bgmac_remove(struct bcma_dev +@@ -1549,6 +1571,10 @@ static void bgmac_remove(struct bcma_dev { struct bgmac *bgmac = bcma_get_drvdata(core); @@ -60,7 +60,7 @@ Signed-off-by: Hauke Mehrtens bgmac_mii_unregister(bgmac); --- a/drivers/net/ethernet/broadcom/bgmac.h +++ b/drivers/net/ethernet/broadcom/bgmac.h -@@ -430,6 +430,9 @@ struct bgmac { +@@ -457,6 +457,9 @@ struct bgmac { bool has_robosw; bool loopback;