diff options
author | Wu Jiajun-B06378 <B06378@freescale.com> | 2011-06-07 21:46:51 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-06-09 00:12:57 -0700 |
commit | 6c43e0465f56248d9da56f2c4665ce1696766814 (patch) | |
tree | bb03c28174d450c053f6d2c304cfad88fe3cd8e5 /drivers/net/gianfar.h | |
parent | e756682c8baa47da1648c0c016e9f48ed66bc32d (diff) | |
download | op-kernel-dev-6c43e0465f56248d9da56f2c4665ce1696766814.zip op-kernel-dev-6c43e0465f56248d9da56f2c4665ce1696766814.tar.gz |
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.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/net/gianfar.h b/drivers/net/gianfar.h index fc86f51..ba36dc7 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) |