MPC8xx SCC for sync. HDLC on 2.4 kernel
I am trying to build a synchronous HDLC driver for the SCC of the MPC850/860 under linux kernel 2.4.22
I have got one working on a 2.2.5 kernel and one buggy, async only, for the 2.4 kernels.
What would be the best approach: porting the 2.2.5 driver to the 2.4.x kernel or digging into the driver (ehdlc.c by Rodolfo Giometti based on Dan Malek's enet.c) to make it work for sync HDLC at high speeds?
Or an alternative?
Best regards,
Jos Beck
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Hi,
Quoted 10 lines · Jos Beck
I am trying to build a synchronous HDLC driver for the SCC of the MPC850/860 under linux kernel 2.4.22
I have got one working on a 2.2.5 kernel and one buggy, async only, for the 2.4 kernels.
What would be the best approach: porting the 2.2.5 driver to the 2.4.x kernel or digging into the driver (ehdlc.cby Rodolfo Giometti based on Dan Malek'senet.c) to make it work for sync HDLC at high speeds?Or an alternative?
Well, I have a driver that works both for MPC860 and MPC8260, over linuxppc 2.4.21 and with recent patches of the Generic HDLC Layer. I'm sending it separately because it's to big for the list.
Quoted 7 lines
Best regards,
Jos Beck
--
Ricardo Scop.
--_______----------------------------
/ ___ \
\_(@ @)_/
/ V \ R SCOP Consult.
/( )\ Linux-based communications
/ ^^---^^ \
-------------------------------------
[email protected]
+55 51 999-36-777
Porto Alegre, BRazil
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/