Skip to contentSkip to conversation

New generic HDLC available

DISCUSSION Krzysztof Halasa 3 participants 5 messages May 15, 2001 – Sep 28, 2001

lore
Share & tools
lore
#0 lore raw

Hi,

I've put new experimental version of my generic HDLC code on
http://hq.pm.waw.pl/hdlc/ ( ftp://ftp.pm.waw.pl/pub/linux/hdlc/experimental/ )

Currently supported (hw drivers) are C101 and N2 (untested) boards. Protocols supported:
- X.25 and PPP (via X.25 and syncppp routines)
- Frame Relay (CCITT and ANSI LMI, or no LMI)
- Cisco HDLC
- raw HDLC (you can select NRZ/NRZI/Manchester/FM codes and parity)

This version uses new ioctl interface. Comments welcome.

No HDLC/FR bridging code yet. No Cisco LMI support (for FR) yet. No docs (except Documentation/networking/generic-hdlc.txt) yet. I'm thinking about implementing asynchronous HDLC driver.

The patch has been generated against 2.4.4-ac6 tree. It should apply to pure 2.4.4 as well. Protocol support is now split into separate files hdlc_fr.c, hdlc_cisco.c etc.

Signature · 2 lines
Krzysztof Halasa
Network Administrator
#1 lore raw

Hi,

Are there any news about the inclusion of these changes in the kernel?

Best regards,

Daniela

Quoted 25 lines · Krzysztof Halasa

Hi,

I've put new experimental version of my generic HDLC code on
http://hq.pm.waw.pl/hdlc/ ( ftp://ftp.pm.waw.pl/pub/linux/hdlc/experimental/ )

Currently supported (hw drivers) are C101 and N2 (untested) boards. Protocols supported:
- X.25 and PPP (via X.25 and syncppp routines)
- Frame Relay (CCITT and ANSI LMI, or no LMI)
- Cisco HDLC
- raw HDLC (you can select NRZ/NRZI/Manchester/FM codes and parity)

This version uses new ioctl interface. Comments welcome.

No HDLC/FR bridging code yet. No Cisco LMI support (for FR) yet. No docs (except Documentation/networking/generic-hdlc.txt) yet. I'm thinking about implementing asynchronous HDLC driver.

The patch has been generated against 2.4.4-ac6 tree. It should apply to pure 2.4.4 as well. Protocol support is now split into separate files hdlc_fr.c, hdlc_cisco.c etc.
--
Krzysztof Halasa
Network Administrator

Signature · 9 lines
________________________________________________

 Daniela P. R. M. Squassoni
     Software Engineer
  
 mailto:[email protected]

 Cyclades Corporation - http://www.cyclades.com
________________________________________________
#2 lore raw
In reply to Krzysztof Halasa
Quoted 3 lines · Daniela P. R. Magri Squassoni

Hi,

Are there any news about the inclusion of these changes in the kernel?

...

I'd like to second the query. It's additional work I'd rather avoid to have to track two versions.

Quoted 1 line

Krzysztof Halasa wrote:

...

Quoted 3 lines
Quoted 3 lines

The patch has been generated against 2.4.4-ac6 tree. It should apply to pure 2.4.4 as well. Protocol support is now split into separate files hdlc_fr.c, hdlc_cisco.c etc.

...

Patches don't work with 2.4.9-ac series kernels.
I've put an updated version against 2.4.9-ac10 in
http://www.xyzzy.org.uk/farsync/hdlc-2.4.9-ac10.patch.gz
if you'd like to grab that.

I notice you include patches for existing kernel drivers and since the farsync driver is now in the 2.4.9 kernel would you like me to supply you with patches for that ?

Signature · 3 lines
        Bob Dunlop
        FarSite Communications Ltd.
        http://www.farsite.co.uk/
#3 lore raw
In reply to Krzysztof Halasa

Hi,

Quoted 1 line · Daniela P. R. Magri Squassoni

Are there any news about the inclusion of these changes in the kernel?

I hope so. However, dscc4.c uses the old version. While I think it's easy to port it to the new one (it should simplify the code in fact), it has to be done.

Signature · 2 lines
Krzysztof Halasa
Network Administrator
#4 lore raw
In reply to Krzysztof Halasa
Quoted 5 lines · Krzysztof Halasa

I hope so. However, dscc4.c uses the old version. While I think it's easy to port it to the new one (it should simplify the code in fact), it has to be done.

So, let´s talk to the maintainer (François Romieu?). Since your new patch really improves the current Generic HDLC Layer, it shouldn´t take too long to be submitted.

Best regards,

Daniela