Skip to content

Commit c19b6d2

Browse files
ZhaoQiang-b45475davem330
authored andcommitted
drivers/net: support hdlc function for QE-UCC
The driver add hdlc support for Freescale QUICC Engine. It support NMSI and TSA mode. Signed-off-by: Zhao Qiang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 35ef1c2 commit c19b6d2

File tree

7 files changed

+1379
-2
lines changed

7 files changed

+1379
-2
lines changed

MAINTAINERS

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4870,6 +4870,13 @@ F: drivers/net/ethernet/freescale/gianfar*
48704870
X: drivers/net/ethernet/freescale/gianfar_ptp.c
48714871
F: Documentation/devicetree/bindings/net/fsl-tsec-phy.txt
48724872

4873+
FREESCALE QUICC ENGINE UCC HDLC DRIVER
4874+
M: Zhao Qiang <[email protected]>
4875+
4876+
4877+
S: Maintained
4878+
F: drivers/net/wan/fsl_ucc_hdlc*
4879+
48734880
FREESCALE QUICC ENGINE UCC UART DRIVER
48744881
M: Timur Tabi <[email protected]>
48754882

drivers/net/wan/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,17 @@ config DSCC4
280280
To compile this driver as a module, choose M here: the
281281
module will be called dscc4.
282282

283+
config FSL_UCC_HDLC
284+
tristate "Freescale QUICC Engine HDLC support"
285+
depends on HDLC
286+
depends on QUICC_ENGINE
287+
help
288+
Driver for Freescale QUICC Engine HDLC controller. The driver
289+
supports HDLC in NMSI and TDM mode.
290+
291+
To compile this driver as a module, choose M here: the
292+
module will be called fsl_ucc_hdlc.
293+
283294
config DSCC4_PCISYNC
284295
bool "Etinc PCISYNC features"
285296
depends on DSCC4

drivers/net/wan/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ obj-$(CONFIG_WANXL) += wanxl.o
3232
obj-$(CONFIG_PCI200SYN) += pci200syn.o
3333
obj-$(CONFIG_PC300TOO) += pc300too.o
3434
obj-$(CONFIG_IXP4XX_HSS) += ixp4xx_hss.o
35+
obj-$(CONFIG_FSL_UCC_HDLC) += fsl_ucc_hdlc.o
3536

3637
clean-files := wanxlfw.inc
3738
$(obj)/wanxl.o: $(obj)/wanxlfw.inc

0 commit comments

Comments
 (0)