b44 compile error on !PCI
Subsystems (2)
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.odrivers/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'
Signature · 1 line
Meelis Roos ([email protected])
Quoted 8 lines · Meelis Roos
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.odrivers/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.
Quoted 10 lines
Quoted 5 lines
CC [M]
drivers/net/b44.odrivers/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 grepinclude/asm-sparc64/dma-mapping.hI 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.
Signature · 1 line
Meelis Roos ([email protected])