public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: markh@compro.net
Cc: linux-kernel@vger.kernel.org
Subject: Re: Opterons and setting the pci bus master bit
Date: Fri, 30 Sep 2005 19:19:02 +0100	[thread overview]
Message-ID: <1128104342.17099.67.camel@localhost.localdomain> (raw)
In-Reply-To: <433D71A0.1040104@compro.net>

On Gwe, 2005-09-30 at 13:10 -0400, Mark Hounschell wrote:
> everything is fine. When we connect the same chassis to an Intel P4 box 
> everything is fine. It looks like it is the kernel that sets this bit 
> because we have never set it in any of our drivers, yet on the intel 
> boxes it gets set. Why would this bit not be set when the chassis is 
> connected to an Opteron. We are running 32-bit mode BTW. I am using a 
> 2.6.11.9 kernel. Is this a motherboard problem or could this be a kernel 
> problem?

If your device needs to bus master you need to call
pci_set_master(pci_dev). The bus mastering setup prior to that really
depends on the BIOS and phase of the moon.

See Documentation/pci.txt

Alan


  parent reply	other threads:[~2005-09-30 17:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-30 17:10 Opterons and setting the pci bus master bit Mark Hounschell
2005-09-30 17:32 ` linux-os (Dick Johnson)
2005-10-02  8:54   ` Benjamin Herrenschmidt
2005-09-30 18:19 ` Alan Cox [this message]
2005-09-30 18:29   ` Mark Hounschell

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=1128104342.17099.67.camel@localhost.localdomain \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=markh@compro.net \
    /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