summaryrefslogtreecommitdiffstats
path: root/drivers/net/wan/fsl_ucc_hdlc.h
diff options
context:
space:
mode:
authorDavid Gounaris <david.gounaris@infinera.com>2018-09-03 14:47:28 +0200
committerDavid S. Miller <davem@davemloft.net>2018-09-04 07:14:41 +0200
commit045f77baf6b429a446ace64ba3174783a933398a (patch)
tree25bc4a39bb0e3dec6381798abb8dec46f8de964c /drivers/net/wan/fsl_ucc_hdlc.h
parentnet/wan/fsl_ucc_hdlc: Adding ARPHRD_ETHER (diff)
downloadlinux-045f77baf6b429a446ace64ba3174783a933398a.tar.xz
linux-045f77baf6b429a446ace64ba3174783a933398a.zip
net/wan/fsl_ucc_hdlc: hmask
Ability to set hmask in the device-tree, which can be used to change address filtering of packets. Signed-off-by: David Gounaris <david.gounaris@infinera.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wan/fsl_ucc_hdlc.h')
-rw-r--r--drivers/net/wan/fsl_ucc_hdlc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wan/fsl_ucc_hdlc.h b/drivers/net/wan/fsl_ucc_hdlc.h
index c21134c1f180..b99fa2f1cd99 100644
--- a/drivers/net/wan/fsl_ucc_hdlc.h
+++ b/drivers/net/wan/fsl_ucc_hdlc.h
@@ -106,6 +106,7 @@ struct ucc_hdlc_private {
unsigned short encoding;
unsigned short parity;
+ unsigned short hmask;
u32 clocking;
spinlock_t lock; /* lock for Tx BD and Tx buffer */
#ifdef CONFIG_PM