* [PATCH] PCI: remove pci_dac_dma_... APIs on mn10300
@ 2008-12-04 5:08 Fernando Luis Vázquez Cao
2008-12-09 22:55 ` Jesse Barnes
2009-06-26 2:26 ` Fernando Luis Vázquez Cao
0 siblings, 2 replies; 5+ messages in thread
From: Fernando Luis Vázquez Cao @ 2008-12-04 5:08 UTC (permalink / raw)
To: akpm
Cc: jbeulich, gregkh, jbarnes, linux-kernel, dhowells,
yasutake.koichi, Fernando Luis Vázquez Cao
It seems that mn10300 made it upstream after Jan Beulich's pci_dac_dma_*
cleanup work and still defines pci_dac_dma_supported(). This API is not
required by the PCI subsystem anymore, so remove it.
Signed-off-by: Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp>
---
diff -urNp linux-2.6.28-rc7-orig/include/asm-mn10300/pci.h linux-2.6.28-rc7/include/asm-mn10300/pci.h
--- linux-2.6.28-rc7-orig/include/asm-mn10300/pci.h 2008-10-10 07:13:53.000000000 +0900
+++ linux-2.6.28-rc7/include/asm-mn10300/pci.h 2008-12-04 13:53:13.000000000 +0900
@@ -70,10 +70,6 @@ struct pci_dev;
*/
#define PCI_DMA_BUS_IS_PHYS (1)
-
-/* This is always fine. */
-#define pci_dac_dma_supported(pci_dev, mask) (0)
-
/* Return the index of the PCI controller for device. */
static inline int pci_controller_num(struct pci_dev *dev)
{
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH] PCI: remove pci_dac_dma_... APIs on mn10300
2008-12-04 5:08 [PATCH] PCI: remove pci_dac_dma_... APIs on mn10300 Fernando Luis Vázquez Cao
@ 2008-12-09 22:55 ` Jesse Barnes
2009-06-26 2:26 ` Fernando Luis Vázquez Cao
1 sibling, 0 replies; 5+ messages in thread
From: Jesse Barnes @ 2008-12-09 22:55 UTC (permalink / raw)
To: Fernando Luis Vázquez Cao
Cc: akpm, jbeulich, gregkh, linux-kernel, dhowells, yasutake.koichi
On Wednesday, December 03, 2008 9:08 pm Fernando Luis Vázquez Cao wrote:
> It seems that mn10300 made it upstream after Jan Beulich's pci_dac_dma_*
> cleanup work and still defines pci_dac_dma_supported(). This API is not
> required by the PCI subsystem anymore, so remove it.
Applied this to my linux-next branch, thanks. I can drop it if the arch
maintainer wants to send it instead though.
--
Jesse Barnes, Intel Open Source Technology Center
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] PCI: remove pci_dac_dma_... APIs on mn10300
2008-12-04 5:08 [PATCH] PCI: remove pci_dac_dma_... APIs on mn10300 Fernando Luis Vázquez Cao
2008-12-09 22:55 ` Jesse Barnes
@ 2009-06-26 2:26 ` Fernando Luis Vázquez Cao
2009-06-26 2:27 ` Fernando Luis Vázquez Cao
1 sibling, 1 reply; 5+ messages in thread
From: Fernando Luis Vázquez Cao @ 2009-06-26 2:26 UTC (permalink / raw)
To: akpm; +Cc: jbeulich, gregkh, jbarnes, linux-kernel, dhowells, yasutake.koichi
Fernando Luis Vázquez Cao wrote:
> It seems that mn10300 made it upstream after Jan Beulich's pci_dac_dma_*
> cleanup work and still defines pci_dac_dma_supported(). This API is not
> required by the PCI subsystem anymore, so remove it.
>
> Signed-off-by: Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp>
> ---
>
> diff -urNp linux-2.6.28-rc7-orig/include/asm-mn10300/pci.h linux-2.6.28-rc7/include/asm-mn10300/pci.h
> --- linux-2.6.28-rc7-orig/include/asm-mn10300/pci.h 2008-10-10 07:13:53.000000000 +0900
> +++ linux-2.6.28-rc7/include/asm-mn10300/pci.h 2008-12-04 13:53:13.000000000 +0900
> @@ -70,10 +70,6 @@ struct pci_dev;
> */
> #define PCI_DMA_BUS_IS_PHYS (1)
>
> -
> -/* This is always fine. */
> -#define pci_dac_dma_supported(pci_dev, mask) (0)
> -
> /* Return the index of the PCI controller for device. */
> static inline int pci_controller_num(struct pci_dev *dev)
> {
It seems this patch slipped through the cracks. I will be replying to this email
with an updated version rebased against 2.6.31-rc1.
Thanks,
Fernando
^ permalink raw reply [flat|nested] 5+ messages in thread* [PATCH] PCI: remove pci_dac_dma_... APIs on mn10300
2009-06-26 2:26 ` Fernando Luis Vázquez Cao
@ 2009-06-26 2:27 ` Fernando Luis Vázquez Cao
2009-06-29 19:20 ` Jesse Barnes
0 siblings, 1 reply; 5+ messages in thread
From: Fernando Luis Vázquez Cao @ 2009-06-26 2:27 UTC (permalink / raw)
To: akpm; +Cc: jbeulich, gregkh, jbarnes, linux-kernel, dhowells, yasutake.koichi
It seems that mn10300 made it upstream after Jan Beulich's pci_dac_dma_*
cleanup work and still defines pci_dac_dma_supported(). This API is not
required by the PCI subsystem anymore, so remove it.
Signed-off-by: Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp>
---
diff -urNp linux-2.6.31-rc1-orig/arch/mn10300/include/asm/pci.h linux-2.6.31-rc1/arch/mn10300/include/asm/pci.h
--- linux-2.6.31-rc1-orig/arch/mn10300/include/asm/pci.h 2009-06-26 10:58:02.012044068 +0900
+++ linux-2.6.31-rc1/arch/mn10300/include/asm/pci.h 2009-06-26 11:19:34.130867667 +0900
@@ -70,10 +70,6 @@ struct pci_dev;
*/
#define PCI_DMA_BUS_IS_PHYS (1)
-
-/* This is always fine. */
-#define pci_dac_dma_supported(pci_dev, mask) (0)
-
/* Return the index of the PCI controller for device. */
static inline int pci_controller_num(struct pci_dev *dev)
{
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH] PCI: remove pci_dac_dma_... APIs on mn10300
2009-06-26 2:27 ` Fernando Luis Vázquez Cao
@ 2009-06-29 19:20 ` Jesse Barnes
0 siblings, 0 replies; 5+ messages in thread
From: Jesse Barnes @ 2009-06-29 19:20 UTC (permalink / raw)
To: Fernando Luis Vázquez Cao
Cc: akpm, jbeulich, gregkh, jbarnes, linux-kernel, dhowells, yasutake.koichi
On Fri, 26 Jun 2009 11:27:41 +0900
Fernando Luis Vázquez Cao <fernando@oss.ntt.co.jp> wrote:
> It seems that mn10300 made it upstream after Jan Beulich's
> pci_dac_dma_* cleanup work and still defines pci_dac_dma_supported().
> This API is not required by the PCI subsystem anymore, so remove it.
>
> Signed-off-by: Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp>
> ---
>
> diff -urNp linux-2.6.31-rc1-orig/arch/mn10300/include/asm/pci.h
> linux-2.6.31-rc1/arch/mn10300/include/asm/pci.h ---
> linux-2.6.31-rc1-orig/arch/mn10300/include/asm/pci.h
> 2009-06-26 10:58:02.012044068 +0900 +++
> linux-2.6.31-rc1/arch/mn10300/include/asm/pci.h 2009-06-26
> 11:19:34.130867667 +0900 @@ -70,10 +70,6 @@ struct pci_dev; */
> #define PCI_DMA_BUS_IS_PHYS (1)
>
> -
> -/* This is always fine. */
> -#define pci_dac_dma_supported(pci_dev, mask) (0)
> -
> /* Return the index of the PCI controller for device. */
> static inline int pci_controller_num(struct pci_dev *dev)
> {
Had to fix up some fuzz, but it's now in my for-linus branch. Thanks.
--
Jesse Barnes, Intel Open Source Technology Center
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-06-29 19:20 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-04 5:08 [PATCH] PCI: remove pci_dac_dma_... APIs on mn10300 Fernando Luis Vázquez Cao
2008-12-09 22:55 ` Jesse Barnes
2009-06-26 2:26 ` Fernando Luis Vázquez Cao
2009-06-26 2:27 ` Fernando Luis Vázquez Cao
2009-06-29 19:20 ` Jesse Barnes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®