diff options
author | Arjan van de Ven <arjan@linux.intel.com> | 2008-07-21 16:31:48 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-21 16:31:48 -0400 |
commit | 6579e57b31d79d31d9b806e41ba48774e73257dc (patch) | |
tree | 03ba72024a1982ee76b8a891a443b0fdfb6d7c93 /include | |
parent | 7943986ca1138ac99597b1aa4dc893012dcfdc08 (diff) |
net: Print the module name as part of the watchdog message
As suggested by Dave:
This patch adds a function to get the driver name from a struct net_device,
and consequently uses this in the watchdog timeout handler to print as
part of the message.
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netdevice.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 812bcd8b4363..f5ea445f89f0 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -1645,6 +1645,8 @@ extern void dev_seq_stop(struct seq_file *seq, void *v); | |||
1645 | extern int netdev_class_create_file(struct class_attribute *class_attr); | 1645 | extern int netdev_class_create_file(struct class_attribute *class_attr); |
1646 | extern void netdev_class_remove_file(struct class_attribute *class_attr); | 1646 | extern void netdev_class_remove_file(struct class_attribute *class_attr); |
1647 | 1647 | ||
1648 | extern char *netdev_drivername(struct net_device *dev, char *buffer, int len); | ||
1649 | |||
1648 | extern void linkwatch_run_queue(void); | 1650 | extern void linkwatch_run_queue(void); |
1649 | 1651 | ||
1650 | extern int netdev_compute_features(unsigned long all, unsigned long one); | 1652 | extern int netdev_compute_features(unsigned long all, unsigned long one); |