mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Guido Guenther <agx@sigxcpu.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: sparc64: Oops in pci_alloc_consistent with cingergyT2
Date: Fri, 11 Nov 2005 19:41:20 +0000	[thread overview]
Message-ID: <1131738080.3174.33.camel@localhost.localdomain> (raw)
In-Reply-To: <20051111153354.GA19838@bogon.ms20.nix>

On Gwe, 2005-11-11 at 16:33 +0100, Guido Guenther wrote:
> cinergyt2->streambuf = pci_alloc_consistent(NULL,
>                                               STREAM_URB_COUNT*STREAM_BUF_SIZE,
>                                               &cinergyt2->streambuf_dmahandle);
> 
> dma_alloc_coherent doesn't seem to be implemented on sparc64, what would


The DMA channel in question is the PCI hub to which the device is
connected. So it should not be using NULL, it should be passing the pci
device id of the bus controller to whom it is attached


  reply	other threads:[~2005-11-11 19:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-11 15:33 Guido Guenther
2005-11-11 19:41 ` Alan Cox [this message]
2005-11-11 20:13   ` David S. Miller
2005-11-11 20:09 ` David S. Miller
2005-11-12 19:17   ` Guido Guenther
2005-11-13 19:10     ` Johannes Stezenbach

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=1131738080.3174.33.camel@localhost.localdomain \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=agx@sigxcpu.org \
    --cc=linux-kernel@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

Powered by JetHome