Skip to contentSkip to conversation

Driver - HDLC 83xx QUICC Engine??

DISCUSSION Russell McGuire 2 participants 6 messages Jan 15, 2008 – Jan 17, 2008 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

All,

Does anyone know of a project or existing driver for supporting HDLC for the

MPC83xx or MPC82XX Freescale CPUs?

Looking to run raw HDLC over various Ethernet or T1 links.

-Russ

#2 lore raw
Quoted 2 lines

-----Ursprungligt meddelande-----
Fr=E5n: =

linuxppc-embedded-bounces+joakim.tjernlund=3Dlumentis.se@ozlabs.org = [mailto:linuxppc-embedded-

Quoted 1 line

[email protected]] F=F6r Russell =

McGuire

Quoted 7 lines

Skickat: den 15 januari 2008 20:52
Till: [email protected]
=C4mne: Driver - HDLC 83xx QUICC Engine??
=20
All,
=20
Does anyone know of a project or existing driver for supporting HDLC =

for the

Quoted 6 lines

=20
MPC83xx or MPC82XX Freescale CPUs?
=20
Looking to run raw HDLC over various Ethernet or T1 links. =20
-Russ

Me too. Perhaps not, I will be looking at presenting a Ethernet i/f to = the kernel but
sending out HDLC frames containing the Ethernet packet. If you find/have = anything
that helps me do that, send it my way please.

Jocke

#3 lore raw

Jocke,

I'll let you know if I find any. For a starting point, I have an QE ATM driver, that is more than likely similar in design <though no Ethernet interface>, as it supports the QE engine, and just turns the UCC into = ATM
mode, as opposed to HDLC mode. Would imagine the buffering, IO, = interrupts
are similar. I am still in process of porting it up from the 82xx CPU.=20

Although HDLC how it registers itself into the kernel is a mystery to = me, I
am having trouble finding any HDLC drivers to model this after. Know of = any
specs? API? Etc...

-Russ

Quoted 8 lines

-----Original Message-----
From: Joakim Tjernlund [mailto:[email protected]]
Sent: Tuesday, January 15, 2008 4:19 PM
To: [email protected]; [email protected]
Subject: SV: Driver - HDLC 83xx QUICC Engine??
=20

Quoted 2 lines

-----Ursprungligt meddelande-----
Fr=E5n: =

linuxppc-embedded-bounces+joakim.tjernlund=3Dlumentis.se@ozlabs.org

Quoted 2 lines

[mailto:linuxppc-embedded-

Quoted 1 line

[email protected]] F=F6r Russell =

McGuire

Quoted 7 lines
Quoted 7 lines

Skickat: den 15 januari 2008 20:52
Till: [email protected]
=C4mne: Driver - HDLC 83xx QUICC Engine??

All,

Does anyone know of a project or existing driver for supporting HDLC =

for

Quoted 9 lines

the

Quoted 6 lines

MPC83xx or MPC82XX Freescale CPUs?

Looking to run raw HDLC over various Ethernet or T1 links.

-Russ

=20
Me too. Perhaps not, I will be looking at presenting a Ethernet i/f to =

the

Quoted 2 lines

kernel but
sending out HDLC frames containing the Ethernet packet. If you =

find/have

Quoted 4 lines

anything
that helps me do that, send it my way please.
=20
Jocke

#4 lore raw
Quoted 10 lines

-----Ursprungligt meddelande-----
Fr=E5n: Russell McGuire [mailto:[email protected]]
Skickat: den 16 januari 2008 01:31
Till: 'Joakim Tjernlund'
Kopia: [email protected]
=C4mne: RE: Driver - HDLC 83xx QUICC Engine??
=20
Jocke,
=20
I'll let you know if I find any. For a starting point, I have an QE =

ATM

Quoted 2 lines

driver, that is more than likely similar in design <though no Ethernet interface>, as it supports the QE engine, and just turns the UCC into =

ATM

Quoted 1 line

mode, as opposed to HDLC mode. Would imagine the buffering, IO, =

interrupts

Quoted 3 lines

are similar. I am still in process of porting it up from the 82xx CPU. =20
Although HDLC how it registers itself into the kernel is a mystery to =

me, I

Quoted 1 line

am having trouble finding any HDLC drivers to model this after. Know =

of any

Quoted 1 line

specs? API? Etc...

Sorry but I don't know. Luckily for me I don't have too either.

Jocke

#5 lore raw
In reply to Joakim Tjernlund

Jocke,

I ran across this patch doing some looking around. It isn't in the = kernel I
downloaded a while ago and have been working with, and I am not sure of = the
real extents of its support.

Maybe Kim or Kumar can fill us in, on if it is what we are looking for.

http://patchwork.ozlabs.org/linuxppc/patch?id=3D7262

In any regards, it definitely looks like something we should be checking out.

-Russ

Quoted 8 lines

-----Original Message-----
From: Joakim Tjernlund [mailto:[email protected]]
Sent: Tuesday, January 15, 2008 4:19 PM
To: [email protected]; [email protected]
Subject: SV: Driver - HDLC 83xx QUICC Engine??
=20

Quoted 2 lines

-----Ursprungligt meddelande-----
Fr=E5n: =

linuxppc-embedded-bounces+joakim.tjernlund=3Dlumentis.se@ozlabs.org

Quoted 2 lines

[mailto:linuxppc-embedded-

Quoted 1 line

[email protected]] F=F6r Russell =

McGuire

Quoted 7 lines
Quoted 7 lines

Skickat: den 15 januari 2008 20:52
Till: [email protected]
=C4mne: Driver - HDLC 83xx QUICC Engine??

All,

Does anyone know of a project or existing driver for supporting HDLC =

for

Quoted 9 lines

the

Quoted 6 lines

MPC83xx or MPC82XX Freescale CPUs?

Looking to run raw HDLC over various Ethernet or T1 links.

-Russ

=20
Me too. Perhaps not, I will be looking at presenting a Ethernet i/f to =

the

Quoted 2 lines

kernel but
sending out HDLC frames containing the Ethernet packet. If you =

find/have

Quoted 4 lines

anything
that helps me do that, send it my way please.
=20
Jocke

#6 lore raw

eh, that looks like something that is part of the kernel already. Am I missing something?

Jocke

Quoted 10 lines

-----Ursprungligt meddelande-----
Fr=E5n: Russell McGuire [mailto:[email protected]]
Skickat: den 17 januari 2008 23:12
Till: 'Joakim Tjernlund'
Kopia: [email protected]; 'Kim Phillips' =C4mne: RE: Driver - HDLC 83xx QUICC Engine??
=20
Jocke,
=20
I ran across this patch doing some looking around. It isn't in the =

kernel I

Quoted 1 line

downloaded a while ago and have been working with, and I am not sure =

of the

Quoted 3 lines

real extents of its support.
=20
Maybe Kim or Kumar can fill us in, on if it is what we are looking =

for.

Quoted 5 lines

=20
http://patchwork.ozlabs.org/linuxppc/patch?id=3D7262
=20
=20
In any regards, it definitely looks like something we should be =

checking

Quoted 11 lines

out.
=20
-Russ

Quoted 8 lines

-----Original Message-----
From: Joakim Tjernlund [mailto:[email protected]]
Sent: Tuesday, January 15, 2008 4:19 PM
To: [email protected]; [email protected]
Subject: SV: Driver - HDLC 83xx QUICC Engine??

Quoted 2 lines

-----Ursprungligt meddelande-----
Fr=E5n: =

linuxppc-embedded-bounces+joakim.tjernlund=3Dlumentis.se@ozlabs.org

Quoted 2 lines
Quoted 2 lines

[mailto:linuxppc-embedded-

Quoted 1 line

[email protected]] F=F6r Russell =

McGuire

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

Skickat: den 15 januari 2008 20:52
Till: [email protected]
=C4mne: Driver - HDLC 83xx QUICC Engine??

All,

Does anyone know of a project or existing driver for supporting =

HDLC for

Quoted 9 lines
Quoted 9 lines

the

Quoted 6 lines

MPC83xx or MPC82XX Freescale CPUs?

Looking to run raw HDLC over various Ethernet or T1 links.

-Russ

Me too. Perhaps not, I will be looking at presenting a Ethernet i/f =

to the

Quoted 2 lines
Quoted 2 lines

kernel but
sending out HDLC frames containing the Ethernet packet. If you =

find/have

Quoted 6 lines
Quoted 4 lines

anything
that helps me do that, send it my way please.

Jocke

=20
=20