Re: [PATCH] SSB: make it depend on PCI

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mike Frysinger
Date: Thursday, November 6, 2008 - 4:15 am

On Thu, Nov 6, 2008 at 06:07, Johannes Berg wrote:

while that may be the intent, it doesnt work today.

drivers/ssb/main.c always includes linux/ssb/ssb.h

linux/ssb/ssb.h always calls pci_dma_* functions

arches that do not support PCI fail to build:
  CC      drivers/ssb/main.o
In file included from drivers/ssb/ssb_private.h:5,
                 from drivers/ssb/main.c:12:
include/linux/ssb/ssb.h: In function 'ssb_dma_mapping_error':
include/linux/ssb/ssb.h:430: error: implicit declaration of function
'pci_dma_mapping_error'
include/linux/ssb/ssb.h: In function 'ssb_dma_sync_single_for_cpu':
include/linux/ssb/ssb.h:475: error: implicit declaration of function
'pci_dma_sync_single_for_cpu'
include/linux/ssb/ssb.h: In function 'ssb_dma_sync_single_for_device':
include/linux/ssb/ssb.h:493: error: implicit declaration of function
'pci_dma_sync_single_for_device'
include/linux/ssb/ssb.h: In function 'ssb_dma_sync_single_range_for_cpu':
include/linux/ssb/ssb.h:517: error: implicit declaration of function
'dma_sync_single_range_for_cpu'
include/linux/ssb/ssb.h: In function 'ssb_dma_sync_single_range_for_device':
include/linux/ssb/ssb.h:538: error: implicit declaration of function
'dma_sync_single_range_for_device'
drivers/ssb/main.c: In function 'ssb_dma_set_mask':
drivers/ssb/main.c:1183: error: implicit declaration of function 'dma_set_mask'
make[1]: *** [drivers/ssb/main.o] Error 1
make: *** [drivers/ssb/main.o] Error 2
-mike
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] SSB: make it depend on PCI, Mike Frysinger, (Thu Nov 6, 2:51 am)
Re: [PATCH] SSB: make it depend on PCI, Johannes Berg, (Thu Nov 6, 4:07 am)
Re: [PATCH] SSB: make it depend on PCI, Mike Frysinger, (Thu Nov 6, 4:15 am)
Re: [PATCH] SSB: make it depend on PCI, Johannes Berg, (Thu Nov 6, 4:22 am)
Re: [PATCH] SSB: make it depend on PCI, Mike Frysinger, (Thu Nov 6, 4:26 am)
Re: [PATCH] SSB: make it depend on PCI, Johannes Berg, (Thu Nov 6, 4:29 am)
Re: [PATCH] SSB: make it depend on PCI, Mike Frysinger, (Thu Nov 6, 4:32 am)
Re: [PATCH] SSB: make it depend on PCI, Johannes Berg, (Thu Nov 6, 4:35 am)
Re: [PATCH] SSB: make it depend on PCI, Michael Buesch, (Thu Nov 6, 9:55 am)
Re: [PATCH] SSB: make it depend on PCI, Michael Buesch, (Thu Nov 6, 9:56 am)
Re: [PATCH] SSB: make it depend on PCI, Michael Buesch, (Thu Nov 6, 9:59 am)
Re: [PATCH] SSB: make it depend on PCI, Mike Frysinger, (Thu Nov 6, 2:14 pm)
Re: [PATCH] SSB: make it depend on PCI, Michael Buesch, (Thu Nov 6, 2:24 pm)
Re: [PATCH] SSB: make it depend on PCI, Geert Uytterhoeven, (Sun Nov 9, 3:51 am)
Re: [PATCH] SSB: make it depend on PCI, Michael Buesch, (Sun Nov 9, 4:49 am)