From: Risto Suominen <risto.suominen@gmail.com>
To: LinuxPPC-dev <LinuxPPC-dev@ozlabs.org>
Subject: MACE DMA problem on Powermac 7300
Date: Mon, 7 Dec 2009 00:36:15 +0200 [thread overview]
Message-ID: <46e1c7760912061436l76b895ebvf27407a08d41aa45@mail.gmail.com> (raw)
Hi, everybody,
I post this in hope that somebody could shed some light on how should
the DMA work in conjunction with the MACE ethernet controller. I find
difficult to understand why it does not work in my case:
What happens? First two bytes of a received frame are not what they
should be in more than 50% of frames. This can be avoided by receiving
the frame on a word boundary, but with the usual skb_reserve(..., 2)
(to make the IP header land on word boundary), it won't work.
So, I can make the driver work by receiving at 0 offset, and then
moving the data 2 bytes up, before handing it over to upper layers.
This used to work with a 2.4.27 kernel, obviously the Grand Central
DBDMA controller can receive on non-word boundaries. Now I have
2.6.15.7.
Any ideas, what could cause this kind of behaviour (and regression)?
Best regards,
Risto Suominen
next reply other threads:[~2009-12-06 22:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-06 22:36 Risto Suominen [this message]
2009-12-07 2:03 ` MACE DMA problem on Powermac 7300 Benjamin Herrenschmidt
2009-12-07 16:22 ` Risto Suominen
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=46e1c7760912061436l76b895ebvf27407a08d41aa45@mail.gmail.com \
--to=risto.suominen@gmail.com \
--cc=LinuxPPC-dev@ozlabs.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).