aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/ixp2000/enp2611.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/ixp2000/enp2611.c b/drivers/net/ixp2000/enp2611.c
index 2542e3bacfb9..d82651a97bae 100644
--- a/drivers/net/ixp2000/enp2611.c
+++ b/drivers/net/ixp2000/enp2611.c
@@ -175,10 +175,15 @@ static void enp2611_set_port_admin_status(int port, int up)
175{ 175{
176 if (up) { 176 if (up) {
177 caleb_enable_rx(port); 177 caleb_enable_rx(port);
178
179 pm3386_set_carrier(port, 1);
178 pm3386_enable_rx(port); 180 pm3386_enable_rx(port);
179 } else { 181 } else {
180 caleb_disable_tx(port); 182 caleb_disable_tx(port);
181 pm3386_disable_tx(port); 183 pm3386_disable_tx(port);
184 /* @@@ Flush out pending packets. */
185 pm3386_set_carrier(port, 0);
186
182 pm3386_disable_rx(port); 187 pm3386_disable_rx(port);
183 caleb_disable_rx(port); 188 caleb_disable_rx(port);
184 } 189 }