All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daris A Nevil <dnevil@snmc.com>
To: Julia Elbert <jelbert@enerdyne.com>
Cc: "'linuxppc-embedded@lists.linuxppc.org'"
	<linuxppc-embedded@lists.linuxppc.org>
Subject: Re: HDLC/PPP Driver
Date: Mon, 23 Oct 2000 08:11:15 -0500	[thread overview]
Message-ID: <39F438F3.FEC7F99@snmc.com> (raw)
In-Reply-To: 67505026E29DD311A9AA00508B7315F350A569@EXCHANGE


Hi Julia,

I've not tested the HDLC/PPP driver on SCC2, so there could be a bug
lurking there.  Check the table named "SCC_Params" in the hdlcppp.c
file.  Also check to make sure that the constants in that table are
defined correctly in the associated .h files.

Other than that I can't figure out how the kernel would confuse the
network device "hdlcppp2" for "enet".  The hdlcppp.c file registers each
device using the "register_netdev()" function, and this relies on the
device name.

If it had been the receive function that was called by mistake then I
would suggest that the hdlc/ppp driver was overwriting the IRQ vector
table incorrectly.  But the transmit function,
hdlc_ppp_hard_start_xmit(), is called directly from the network stack
(sorry about the bogus comment in that function header).

Daris


Julia Elbert wrote:
>
> 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
>

--
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/

  reply	other threads:[~2000-10-23 13:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-20 22:54 HDLC/PPP Driver Julia Elbert
2000-10-23 13:11 ` Daris A Nevil [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-10-23 20:30 Julia Elbert
2000-10-20 19:08 Daris A Nevil

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=39F438F3.FEC7F99@snmc.com \
    --to=dnevil@snmc.com \
    --cc=jelbert@enerdyne.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.