Herve Codina
badc9e33c7
net: wan: fsl_qmc_hdlc: Fix module compilation
...
The fsl_qmc_driver does not compile as module:
error: ‘qmc_hdlc_driver’ undeclared here (not in a function);
405 | MODULE_DEVICE_TABLE(of, qmc_hdlc_driver);
| ^~~~~~~~~~~~~~~
Fix the typo.
Fixes: b40f00ecd463 ("net: wan: Add support for QMC HDLC")
Reported-by: Michael Ellerman <mpe@ellerman.id.au >
Closes: https://lore.kernel.org/linux-kernel/87ttl93f7i.fsf@mail.lhotse/
Signed-off-by: Herve Codina <herve.codina@bootlin.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2024-03-18 09:25:58 +00:00
Herve Codina
54762918ca
net: wan: fsl_qmc_hdlc: Add framer support
...
Add framer support in the fsl_qmc_hdlc driver in order to be able to
signal carrier changes to the network stack based on the framer status
Also use this framer to provide information related to the E1/T1 line
interface on IF_GET_IFACE and configure the line interface according to
IF_IFACE_{E1,T1} information.
Signed-off-by: Herve Codina <herve.codina@bootlin.com >
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu >
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2024-03-11 09:36:11 +00:00
Herve Codina
f0c9c45c78
net: wan: fsl_qmc_hdlc: Add runtime timeslots changes support
...
QMC channels support runtime timeslots changes but nothing is done at
the QMC HDLC driver to handle these changes.
Use existing IFACE ioctl in order to configure the timeslots to use.
Signed-off-by: Herve Codina <herve.codina@bootlin.com >
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu >
Acked-by: Jakub Kicinski <kuba@kernel.org >
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2024-03-11 09:36:11 +00:00
Herve Codina
d0f2258e79
net: wan: Add support for QMC HDLC
...
The QMC HDLC driver provides support for HDLC using the QMC (QUICC
Multichannel Controller) to transfer the HDLC data.
Signed-off-by: Herve Codina <herve.codina@bootlin.com >
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu >
Acked-by: Jakub Kicinski <kuba@kernel.org >
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2024-03-11 09:36:11 +00:00