patch-2.3.49 linux/drivers/net/fc/iph5526.c

Next file: linux/drivers/net/hamradio/mkiss.c
Previous file: linux/drivers/net/bonding.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.48/linux/drivers/net/fc/iph5526.c linux/drivers/net/fc/iph5526.c
@@ -218,6 +218,7 @@
 
 Scsi_Host_Template driver_template = IPH5526_SCSI_FC;
 
+static void iph5526_timeout(struct net_device *dev);
 
 #ifdef CONFIG_PCI
 static int iph5526_probe_pci(struct net_device *dev);
@@ -286,6 +287,8 @@
 	dev->get_stats = iph5526_get_stats;
 	dev->set_multicast_list = NULL;
 	dev->change_mtu = iph5526_change_mtu; 
+	dev->tx_timeout = iph5526_timeout;
+	dev->watchdog_timeo = 5*HZ;
 #ifndef MODULE
 	fc_setup(dev);
 #endif

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