netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* b44 compile error on !PCI
@ 2007-08-02 16:45 Meelis Roos
  2007-08-02 17:17 ` Michael Buesch
  0 siblings, 1 reply; 3+ messages in thread
From: Meelis Roos @ 2007-08-02 16:45 UTC (permalink / raw)
  To: netdev

Tryng to compile todays git on SBus-only Sparc64 (Ultra 1), no PCI. b44 
is selectable but fails to compile:

  CC [M]  drivers/net/b44.o
drivers/net/b44.c: In function 'b44_sync_dma_desc_for_device':
drivers/net/b44.c:134: error: implicit declaration of function 'dma_sync_single_range_for_device'
drivers/net/b44.c: In function 'b44_sync_dma_desc_for_cpu':
drivers/net/b44.c:144: error: implicit declaration of function 'dma_sync_single_range_for_cpu'

-- 
Meelis Roos (mroos@linux.ee)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: b44 compile error on !PCI
  2007-08-02 16:45 b44 compile error on !PCI Meelis Roos
@ 2007-08-02 17:17 ` Michael Buesch
  2007-08-05 10:03   ` Meelis Roos
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Buesch @ 2007-08-02 17:17 UTC (permalink / raw)
  To: Meelis Roos; +Cc: netdev

On Thursday 02 August 2007, Meelis Roos wrote:
> Tryng to compile todays git on SBus-only Sparc64 (Ultra 1), no PCI. b44 
> is selectable but fails to compile:
> 
>   CC [M]  drivers/net/b44.o
> drivers/net/b44.c: In function 'b44_sync_dma_desc_for_device':
> drivers/net/b44.c:134: error: implicit declaration of function 'dma_sync_single_range_for_device'
> drivers/net/b44.c: In function 'b44_sync_dma_desc_for_cpu':
> drivers/net/b44.c:144: error: implicit declaration of function 'dma_sync_single_range_for_cpu'

Are you sure this is related to !PCI ?
If I grep include/asm-sparc64/dma-mapping.h I don't
find dma_sync_single_range_for_*
So I'd rather call this a bug in the arch code of sparc64.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: b44 compile error on !PCI
  2007-08-02 17:17 ` Michael Buesch
@ 2007-08-05 10:03   ` Meelis Roos
  0 siblings, 0 replies; 3+ messages in thread
From: Meelis Roos @ 2007-08-05 10:03 UTC (permalink / raw)
  To: Michael Buesch; +Cc: netdev

> >   CC [M]  drivers/net/b44.o
> > drivers/net/b44.c: In function 'b44_sync_dma_desc_for_device':
> > drivers/net/b44.c:134: error: implicit declaration of function 'dma_sync_single_range_for_device'
> > drivers/net/b44.c: In function 'b44_sync_dma_desc_for_cpu':
> > drivers/net/b44.c:144: error: implicit declaration of function 'dma_sync_single_range_for_cpu'
> 
> Are you sure this is related to !PCI ?
> If I grep include/asm-sparc64/dma-mapping.h I don't
> find dma_sync_single_range_for_*
> So I'd rather call this a bug in the arch code of sparc64.

Yes, now that Dave Miller added these functions to sparc64, b44 compiles 
fine.

-- 
Meelis Roos (mroos@linux.ee)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-08-05 10:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-02 16:45 b44 compile error on !PCI Meelis Roos
2007-08-02 17:17 ` Michael Buesch
2007-08-05 10:03   ` Meelis Roos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).