linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* RE: HDLC/PPP Driver
@ 2000-10-23 20:30 Julia Elbert
  2000-10-24 16:27 ` pointers to ld.so.1 Ralph Blach
  0 siblings, 1 reply; 3+ 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] 3+ messages in thread

end of thread, other threads:[~2000-10-24 16:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-23 20:30 HDLC/PPP Driver Julia Elbert
2000-10-24 16:27 ` pointers to ld.so.1 Ralph Blach
2000-10-24 16:43   ` Matthew Locke

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).