patch-2.1.30 linux/drivers/net/sunqe.c

Next file: linux/drivers/sbus/char/bpp.c
Previous file: linux/drivers/net/sunlance.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.29/linux/drivers/net/sunqe.c linux/drivers/net/sunqe.c
@@ -1116,6 +1116,8 @@
 	/* We are home free at this point, link the qe's into
 	 * the master list for later module unloading.
 	 */
+	for(i = 0; i < 4; i++)
+		qe_devs[i]->ifindex = dev_new_index();
 	qecp->next_module = root_qec_dev;
 	root_qec_dev = qecp;
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov