[PATCH 4/6] net/wan/fsl_ucc_hdlc: default hmask value
David Gounaris
david.gounaris at infinera.com
Tue Aug 28 21:09:19 AEST 2018
Set default HMASK to 0x0000 to use
promiscuous mode in the hdlc controller.
Signed-off-by: David Gounaris <david.gounaris at infinera.com>
---
drivers/net/wan/fsl_ucc_hdlc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wan/fsl_ucc_hdlc.h b/drivers/net/wan/fsl_ucc_hdlc.h
index c21134c1f180..5bc3d1a6ca6e 100644
--- a/drivers/net/wan/fsl_ucc_hdlc.h
+++ b/drivers/net/wan/fsl_ucc_hdlc.h
@@ -134,7 +134,7 @@ struct ucc_hdlc_private {
#define HDLC_HEAD_MASK 0x0000
#define DEFAULT_HDLC_HEAD 0xff44
-#define DEFAULT_ADDR_MASK 0x00ff
+#define DEFAULT_ADDR_MASK 0x0000
#define DEFAULT_HDLC_ADDR 0x00ff
#define BMR_GBL 0x20000000
--
2.13.6
More information about the Linuxppc-dev
mailing list