patch-2.3.1 linux/drivers/net/ibmtr.c

Next file: linux/drivers/net/ibmtr.h
Previous file: linux/drivers/net/3c527.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.0/linux/drivers/net/ibmtr.c linux/drivers/net/ibmtr.c
@@ -404,6 +404,8 @@
 #endif
 	ti->mmio= t_mmio;
 	ti->readlog_pending = 0;
+	init_waitqueue_head(&ti->wait_for_tok_int);
+	init_waitqueue_head(&ti->wait_for_reset);
 
 	dev->priv = ti;     /* this seems like the logical use of the
                          field ... let's try some empirical tests

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)