LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Ayman El-Khashab <ayman@elkhashab.com>
To: linuxppc-dev@ozlabs.org
Subject: grasping why mpt2sas fails with BITS_PER_LONG conditional
Date: Wed, 13 Jul 2011 08:02:08 -0500	[thread overview]
Message-ID: <20110713130208.GA15267@crust.elkhashab.com> (raw)

I've had problems with the mpt2sas driver
(drivers/scsi/mpt2sas/mpt2sas_base.c) when using it on my
ppc44x.  Basically, there is a check in the code for
BITS_PER_LONG and certain code is executed if it is 64 vs 32
bit.  I am guessing it is a problem with the driver but it
only shows up on powerpc.  If i force it to take the 64 bit
path it works fine, but if I let the preprocessor decide it
will take the 32 bit path and fail later.  I am not
configuring my kernel as 64 bit, but I am guessing this has
to do with the 36 bit plb bus on these parts.

can somebody enlighten me as to what the right thing to do
here is?

thanks
ayman

             reply	other threads:[~2011-07-13 13:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-13 13:02 Ayman El-Khashab [this message]
2011-07-13 13:20 ` grasping why mpt2sas fails with BITS_PER_LONG conditional Josh Boyer

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=20110713130208.GA15267@crust.elkhashab.com \
    --to=ayman@elkhashab.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