linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* HDLC/PPP Driver
@ 2000-10-20 19:08 Daris A Nevil
  0 siblings, 0 replies; 4+ messages in thread
From: Daris A Nevil @ 2000-10-20 19:08 UTC (permalink / raw)
  To: linuxppc-embedded


I have receive several requests for information regarding the HDLC/PPP
driver in QSLinux.  In response I have put together a small white paper
describing the driver, and it is located at:

http://qslinux.org/docs/snmc/hdlc/index.html

Regards,
Daris

--
Daris A Nevil
Simple Network Magic Corporation
401 Kentucky Lane
McKinney, TX 75069
214-793-7757
dnevil@snmc.com
www.snmc.com
quickstack.com
qslinux.org

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread
* HDLC/PPP Driver
@ 2000-10-20 22:54 Julia Elbert
  2000-10-23 13:11 ` Daris A Nevil
  0 siblings, 1 reply; 4+ messages in thread
From: Julia Elbert @ 2000-10-20 22:54 UTC (permalink / raw)
  To: 'linuxppc-embedded@lists.linuxppc.org'


Hello,
Thank you for the white paper.
My problem is my hdlcppp is confused with enet. It appears my enet is
calling the xmit in hdlcppp after the enet open is called. Weird. How could
this happen? My enet is on SCC1 and hdlcppp is SCC2. Could some parameter in
hdlcppp have priority even when enet is loaded?
Thank you for your help. I hope this is not to elementary.
--Julia


http://qslinux.org/docs/snmc/hdlc/index.html


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread
* RE: HDLC/PPP Driver
@ 2000-10-23 20:30 Julia Elbert
  0 siblings, 0 replies; 4+ messages in thread
From: Julia Elbert @ 2000-10-23 20:30 UTC (permalink / raw)
  To: 'Daris A Nevil',
	'linuxppc-embedded@lists.linuxppc.org'


Thank you, Darvis!

I was able to get your driver to load, configured, and pinging on the 860T.
Now, let me see if I can explain what happened.

I only wanted 1 SCC chanel, SCC2. I know you said that would not matter
until I actually configured hdlcppp2, but I think it did in the init in the
for {} where you go through all the PPP_HDLC_CHANNELS, because I am already
using SCC1, SCC3 and SCC4 at this point in other drivers.

It appears the line
dev->base_addr = (unsigned long)&cp->scc[i];
was the culprit.

I just forced i to 1 and used one PPP_HDLC_CHANNEL and my problems went
away. I was confused with this line a little because other drivers
initialize there drivers differently. Feel free to expand if you like

dev->base_addr = (unsigned long)&cp->scc[1];

The other indices with i were fine in the loop because i uses your
SCC_Params array which is fine.

Thought you would be interested.
Thank you, again. This kind of stuff makes my day and I enjoy learning from
the group.
--Julia


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-10-23 20:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-20 19:08 HDLC/PPP Driver Daris A Nevil
  -- strict thread matches above, loose matches on Subject: below --
2000-10-20 22:54 Julia Elbert
2000-10-23 13:11 ` Daris A Nevil
2000-10-23 20:30 Julia Elbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).