summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/freescale/gianfar.h
diff options
context:
space:
mode:
authorRichard Cochran <richardcochran@gmail.com>2012-04-04 02:59:19 +0400
committerDavid S. Miller <davem@davemloft.net>2012-04-04 13:28:45 +0400
commit6663628729cc434b25eed2b917ef8e888cc46475 (patch)
tree500f42a78577304aef8655cef2c121985b565c88 /drivers/net/ethernet/freescale/gianfar.h
parent7dff34998853dbb37ee705c48eca32d69c8b88aa (diff)
downloadlinux-6663628729cc434b25eed2b917ef8e888cc46475.tar.xz
gianfar: Support the get_ts_info ethtool method.
Signed-off-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/gianfar.h')
-rw-r--r--drivers/net/ethernet/freescale/gianfar.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/freescale/gianfar.h b/drivers/net/ethernet/freescale/gianfar.h
index 4c9f8d487dbb..2136c7ff5e6d 100644
--- a/drivers/net/ethernet/freescale/gianfar.h
+++ b/drivers/net/ethernet/freescale/gianfar.h
@@ -1210,4 +1210,7 @@ struct filer_table {
struct gfar_filer_entry fe[MAX_FILER_CACHE_IDX + 20];
};
+/* The gianfar_ptp module will set this variable */
+extern int gfar_phc_index;
+
#endif /* __GIANFAR_H */