public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: dsaxena@plexity.net
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2.6-BK] Allow arch-specific pci_dma_set_mask
Date: Sun, 28 Mar 2004 15:36:46 -0500	[thread overview]
Message-ID: <4067375E.4040206@pobox.com> (raw)
In-Reply-To: <20040327000639.GA29290@plexity.net>

Deepak Saxena wrote:
> Jeff, 
> 
> Following is a patch that allows for architectures to override 
> pci_set_dma_mask and friends for systems that need to do so such
> as the ARM IXP425. Instead of having invidual HAVE_ARCH_FOO
> for each of the three mask functions, I think it just makes more
> sense to have one for overrdding all three since chances are
> if you need to override one, you need to do so for all of them.
> 
> Tnx,
> ~Deepak
> 
> ===== drivers/pci/pci.c 1.63 vs edited =====
> --- 1.63/drivers/pci/pci.c	Sun Mar 14 12:17:06 2004
> +++ edited/drivers/pci/pci.c	Fri Mar 26 16:58:01 2004
> @@ -658,6 +658,10 @@
>  	}
>  }
>  
> +#ifndef HAVE_ARCH_PCI_SET_DMA_MASK
> +/*
> + * These can be overridden by arch-specific implementations
> + */
>  int
>  pci_set_dma_mask(struct pci_dev *dev, u64 mask)


Looks OK to me, but it's really up to arch people.  I just follow the 
API I'm given.  :)

	Jeff




      reply	other threads:[~2004-03-28 20:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-27  0:06 [PATCH 2.6-BK] Allow arch-specific pci_dma_set_mask Deepak Saxena
2004-03-28 20:36 ` Jeff Garzik [this message]

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=4067375E.4040206@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=dsaxena@plexity.net \
    --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