aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/mv643xx_eth.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c
index 6987485d0af0..3d9c412e9ea1 100644
--- a/drivers/net/mv643xx_eth.c
+++ b/drivers/net/mv643xx_eth.c
@@ -118,17 +118,6 @@ static char mv643xx_driver_version[] = "1.0";
118#define OTHER_MCAST_TABLE(p) (0x1500 + ((p) << 10)) 118#define OTHER_MCAST_TABLE(p) (0x1500 + ((p) << 10))
119#define UNICAST_TABLE(p) (0x1600 + ((p) << 10)) 119#define UNICAST_TABLE(p) (0x1600 + ((p) << 10))
120 120
121/* These macros describe Ethernet Port configuration extend reg (Px_cXR) bits*/
122#define CLASSIFY_EN (1 << 0)
123#define SPAN_BPDU_PACKETS_AS_NORMAL (0 << 1)
124#define SPAN_BPDU_PACKETS_TO_RX_QUEUE_7 (1 << 1)
125#define PARTITION_DISABLE (0 << 2)
126#define PARTITION_ENABLE (1 << 2)
127
128#define PORT_CONFIG_EXTEND_DEFAULT_VALUE \
129 SPAN_BPDU_PACKETS_AS_NORMAL | \
130 PARTITION_DISABLE
131
132/* These macros describe Ethernet Port Sdma configuration reg (SDCR) bits */ 121/* These macros describe Ethernet Port Sdma configuration reg (SDCR) bits */
133#define RIFB (1 << 0) 122#define RIFB (1 << 0)
134#define RX_BURST_SIZE_1_64BIT (0 << 1) 123#define RX_BURST_SIZE_1_64BIT (0 << 1)
@@ -2208,7 +2197,10 @@ static void eth_port_start(struct net_device *dev)
2208 */ 2197 */
2209 wrl(mp, PORT_CONFIG(port_num), 0x00000000); 2198 wrl(mp, PORT_CONFIG(port_num), 0x00000000);
2210 2199
2211 wrl(mp, PORT_CONFIG_EXT(port_num), PORT_CONFIG_EXTEND_DEFAULT_VALUE); 2200 /*
2201 * Treat BPDUs as normal multicasts, and disable partition mode.
2202 */
2203 wrl(mp, PORT_CONFIG_EXT(port_num), 0x00000000);
2212 2204
2213 pscr = rdl(mp, PORT_SERIAL_CONTROL(port_num)); 2205 pscr = rdl(mp, PORT_SERIAL_CONTROL(port_num));
2214 2206