RE: [PATCH v3 35/36] net/wan: make FSL_UCC_HDLC explicitly depend on PPC32

From: Leo Li
Date: Fri Nov 01 2019 - 18:32:21 EST




> -----Original Message-----
> From: Christophe Leroy <christophe.leroy@xxxxxx>
> Sent: Friday, November 1, 2019 11:30 AM
> To: Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx>; Qiang Zhao
> <qiang.zhao@xxxxxxx>; Leo Li <leoyang.li@xxxxxxx>
> Cc: linuxppc-dev@xxxxxxxxxxxxxxxx; linux-arm-kernel@xxxxxxxxxxxxxxxxxxx;
> linux-kernel@xxxxxxxxxxxxxxx; Scott Wood <oss@xxxxxxxxxxxx>;
> netdev@xxxxxxxxxxxxxxx
> Subject: Re: [PATCH v3 35/36] net/wan: make FSL_UCC_HDLC explicitly
> depend on PPC32
>
>
>
> Le 01/11/2019 Ã 13:42, Rasmus Villemoes a ÃcritÂ:
> > Currently, FSL_UCC_HDLC depends on QUICC_ENGINE, which in turn
> depends
> > on PPC32. As preparation for removing the latter and thus allowing the
> > core QE code to be built for other architectures, make FSL_UCC_HDLC
> > explicitly depend on PPC32.
>
> Is that really powerpc specific ? Can't the ARM QE perform HDLC on UCC ?

No. Actually the HDLC and TDM are the major reason to integrate a QE on the ARM based Layerscape SoCs.

Since Rasmus doesn't have the hardware to test this feature Qiang Zhao probably can help verify the functionality of TDM and we can drop this patch.

Regards,
Leo

>
> Christophe
>
> >
> > Signed-off-by: Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx>
> > ---
> > drivers/net/wan/Kconfig | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/net/wan/Kconfig b/drivers/net/wan/Kconfig index
> > dd1a147f2971..78785d790bcc 100644
> > --- a/drivers/net/wan/Kconfig
> > +++ b/drivers/net/wan/Kconfig
> > @@ -270,7 +270,7 @@ config FARSYNC
> > config FSL_UCC_HDLC
> > tristate "Freescale QUICC Engine HDLC support"
> > depends on HDLC
> > - depends on QUICC_ENGINE
> > + depends on QUICC_ENGINE && PPC32
> > help
> > Driver for Freescale QUICC Engine HDLC controller. The driver
> > supports HDLC in NMSI and TDM mode.
> >