summaryrefslogtreecommitdiffstats
path: root/drivers/net/gianfar.h
diff options
context:
space:
mode:
authorWu Jiajun-B06378 <B06378@freescale.com>2011-06-07 21:46:51 +0000
committerDavid S. Miller <davem@davemloft.net>2011-06-09 00:12:57 -0700
commit6c43e0465f56248d9da56f2c4665ce1696766814 (patch)
treebb03c28174d450c053f6d2c304cfad88fe3cd8e5 /drivers/net/gianfar.h
parente756682c8baa47da1648c0c016e9f48ed66bc32d (diff)
downloadblackbird-op-linux-6c43e0465f56248d9da56f2c4665ce1696766814.tar.gz
blackbird-op-linux-6c43e0465f56248d9da56f2c4665ce1696766814.zip
gianfar:localized filer table
Each eTSEC device should own localized filer table. Signed-off-by: Jiajun Wu <b06378@freescale.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/gianfar.h')
-rw-r--r--drivers/net/gianfar.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/net/gianfar.h b/drivers/net/gianfar.h
index fc86f5195445..ba36dc7a3435 100644
--- a/drivers/net/gianfar.h
+++ b/drivers/net/gianfar.h
@@ -9,7 +9,7 @@
* Maintainer: Kumar Gala
* Modifier: Sandeep Gopalpet <sandeep.kumar@freescale.com>
*
- * Copyright 2002-2009 Freescale Semiconductor, Inc.
+ * Copyright 2002-2009, 2011 Freescale Semiconductor, Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
@@ -1107,10 +1107,12 @@ struct gfar_private {
/* HW time stamping enabled flag */
int hwts_rx_en;
int hwts_tx_en;
+
+ /*Filer table*/
+ unsigned int ftp_rqfpr[MAX_FILER_IDX + 1];
+ unsigned int ftp_rqfcr[MAX_FILER_IDX + 1];
};
-extern unsigned int ftp_rqfpr[MAX_FILER_IDX + 1];
-extern unsigned int ftp_rqfcr[MAX_FILER_IDX + 1];
static inline int gfar_has_errata(struct gfar_private *priv,
enum gfar_errata err)
OpenPOWER on IntegriCloud