linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tobias Waldekranz <tobias@waldekranz.com>
To: linux-wireless@vger.kernel.org
Subject: sd8787 (mwifiex) on big endian system
Date: Mon, 26 Aug 2013 12:27:59 +0200	[thread overview]
Message-ID: <20130826102759.GA14350@gmail.com> (raw)

As the subject suggests, I am trying to use the SD8787 on a PPC
system. I have found a few endian related issues (submitted a few
hours ago), but it is still not working.

So my first question, has anyone successfully used an mwifiex device
on a big endian system?

Also, I have found that the chip seems to signal interrupts before its
internal registers are in a consistent state. Specifically, the
sdio_ireg and wr_bitmask seems to be out of sync. Inserting a small
delay in mwifiex_interrupt_status (sdio.c), currently 50 us solves the
problem. Is there some bit that should be polled here to make sure that
the registers are in a consistent state?

             reply	other threads:[~2013-08-26 10:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-26 10:27 Tobias Waldekranz [this message]
2013-08-26 19:16 ` sd8787 (mwifiex) on big endian system Bing Zhao
2013-08-27  6:17   ` Tobias Waldekranz
2013-08-27 23:42     ` Bing Zhao
2013-08-28 11:52       ` Tobias Waldekranz
2013-08-29  0:00         ` Bing Zhao

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=20130826102759.GA14350@gmail.com \
    --to=tobias@waldekranz.com \
    --cc=linux-wireless@vger.kernel.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).