From: Rainer Kloud <rainer.kloud@siemens.at>
To: linuxppc-embedded <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: 8260 FCC Ethernet driver, cpm_8260.h
Date: Wed, 20 Sep 2000 16:11:16 +0200 [thread overview]
Message-ID: <39C8C584.D845678A@siemens.at> (raw)
In-Reply-To: 39C24395.756E3252@mvista.com
Dear Dan,
> Rainer Kloud wrote:
>
> > So my question is: Does anyone have a Ethernet Driver
> > for the FCC?
>
> Ummmm.....arch/ppc/8260_io/fcc_enet.c should do the trick......
>
> I am constantly making updates to the sources for 8260, and recently
> updated the driver (there is another major update coming). You should
> probably get used to using the BitKeeper tree from FSM Labs...
> www.fsmlabs.com/linuxppcbk/html
Thank you for your tip, the source file wasn't included in my
old distribution.
But one further question:
After compelation of your driver I was able to send some
data (bootp request), but I couldn't receive any. Further
I got no transmit interrupt. So I took a look to the FCC
mask register and I saw that the FCCM (and of course FCCE)
register is a 32 bit register where only the higher word is
used. But when useing the event constants (f.e. FCC_ENET_TXB)
from cpm_8260.h only the bits in the lower word are set.
So setting the desired events in the FCC mask register has
no effect!
After that I have changed the constants to manipulate the
high word and everything seems to work correct (I got my
transmit and receive interrupts).
I have seen, that the FCCM/FCCE are different from other
channels, f.e the SCC. There the mask register is only
defined as 16 bit register.
What do you think about this?
Bye,
Rainer
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2000-09-20 14:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-09-15 8:31 8260 FCC Ethernet driver Rainer Kloud
2000-09-15 15:43 ` Dan Malek
2000-09-15 16:12 ` Dan Malek
2000-09-20 14:11 ` Rainer Kloud [this message]
2000-09-20 16:26 ` 8260 FCC Ethernet driver, cpm_8260.h Dan Malek
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=39C8C584.D845678A@siemens.at \
--to=rainer.kloud@siemens.at \
--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 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).