Re: [bk patches] add ethtool_ops to net drivers

From: Val Henson
Date: Mon Aug 18 2003 - 01:20:42 EST


I needed the following patch to compile netsyms.c - just a missing
include.

Thanks,

-VAL

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.1214 -> 1.1215
# net/netsyms.c 1.93 -> 1.94
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/08/17 val@xxxxxxxxxxxxxxxxxxx 1.1215
# Add missing include for ethtool ops
# --------------------------------------------
#
diff -Nru a/net/netsyms.c b/net/netsyms.c
--- a/net/netsyms.c Sun Aug 17 20:26:07 2003
+++ b/net/netsyms.c Sun Aug 17 20:26:07 2003
@@ -626,6 +626,7 @@
EXPORT_SYMBOL(linkwatch_fire_event);

/* ethtool.c */
+#include <linux/ethtool.h>
EXPORT_SYMBOL(ethtool_op_get_link);
EXPORT_SYMBOL(ethtool_op_get_tx_csum);
EXPORT_SYMBOL(ethtool_op_get_sg);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/