|
@@ -1,6 +1,6 @@
|
|
|
--- a/drivers/net/ethernet/broadcom/bcm63xx_enet.h
|
|
|
+++ b/drivers/net/ethernet/broadcom/bcm63xx_enet.h
|
|
|
-@@ -335,6 +335,9 @@ struct bcm_enet_priv {
|
|
|
+@@ -332,6 +332,9 @@ struct bcm_enet_priv {
|
|
|
struct bcm63xx_enetsw_port used_ports[ENETSW_MAX_PORT];
|
|
|
int sw_port_link[ENETSW_MAX_PORT];
|
|
|
|
|
@@ -20,7 +20,7 @@
|
|
|
|
|
|
#include <bcm63xx_dev_enet.h>
|
|
|
#include "bcm63xx_enet.h"
|
|
|
-@@ -1968,7 +1969,8 @@ static int bcm_enet_remove(struct platfo
|
|
|
+@@ -1957,7 +1958,8 @@ static int bcm_enet_remove(struct platfo
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
@@ -30,7 +30,7 @@
|
|
|
.probe = bcm_enet_probe,
|
|
|
.remove = bcm_enet_remove,
|
|
|
.driver = {
|
|
|
-@@ -1977,6 +1979,42 @@ struct platform_driver bcm63xx_enet_driv
|
|
|
+@@ -1966,6 +1968,42 @@ struct platform_driver bcm63xx_enet_driv
|
|
|
},
|
|
|
};
|
|
|
|
|
@@ -73,7 +73,7 @@
|
|
|
/*
|
|
|
* switch mii access callbacks
|
|
|
*/
|
|
|
-@@ -2235,29 +2273,6 @@ static int bcm_enetsw_open(struct net_de
|
|
|
+@@ -2224,29 +2262,6 @@ static int bcm_enetsw_open(struct net_de
|
|
|
enetsw_writeb(priv, rgmii_ctrl, ENETSW_RGMII_CTRL_REG(i));
|
|
|
}
|
|
|
|
|
@@ -103,7 +103,7 @@
|
|
|
/* initialize flow control buffer allocation */
|
|
|
enet_dma_writel(priv, ENETDMA_BUFALLOC_FORCE_MASK | 0,
|
|
|
ENETDMA_BUFALLOC_REG(priv->rx_chan));
|
|
|
-@@ -2716,6 +2731,9 @@ static int bcm_enetsw_probe(struct platf
|
|
|
+@@ -2705,6 +2720,9 @@ static int bcm_enetsw_probe(struct platf
|
|
|
struct bcm63xx_enetsw_platform_data *pd;
|
|
|
struct resource *res_mem;
|
|
|
int ret, irq_rx, irq_tx;
|
|
@@ -113,7 +113,7 @@
|
|
|
|
|
|
if (!bcm_enet_shared_base[0])
|
|
|
return -EPROBE_DEFER;
|
|
|
-@@ -2798,6 +2816,43 @@ static int bcm_enetsw_probe(struct platf
|
|
|
+@@ -2787,6 +2805,43 @@ static int bcm_enetsw_probe(struct platf
|
|
|
priv->pdev = pdev;
|
|
|
priv->net_dev = dev;
|
|
|
|
|
@@ -157,7 +157,7 @@
|
|
|
return 0;
|
|
|
|
|
|
out_disable_clk:
|
|
|
-@@ -2819,6 +2874,9 @@ static int bcm_enetsw_remove(struct plat
|
|
|
+@@ -2808,6 +2863,9 @@ static int bcm_enetsw_remove(struct plat
|
|
|
priv = netdev_priv(dev);
|
|
|
unregister_netdev(dev);
|
|
|
|