Re: [PATCH] ppc32: reorg DMA API, add coherent alloc in irq

From: Arjan van de Ven
Date: Sun May 30 2004 - 07:29:48 EST


On Sat, 2004-05-29 at 19:56, Linux Kernel Mailing List wrote:
> ChangeSet 1.1770, 2004/05/29 10:56:14-07:00, akpm@xxxxxxxx
>
> [PATCH] ppc32: reorg DMA API, add coherent alloc in irq
>
> From: Matt Porter <mporter@xxxxxxxxxxxxxxxxxxx>

this breaks the acenic driver:

In file included from drivers/net/acenic.c:186:
drivers/net/acenic.h:598: error: syntax error before
"DECLARE_PCI_UNMAP_ADDR"
drivers/net/acenic.h:598: warning: no semicolon at end of struct or
union
drivers/net/acenic.h:609: error: syntax error before
"DECLARE_PCI_UNMAP_ADDR"
drivers/net/acenic.h:609: warning: no semicolon at end of struct or
union
drivers/net/acenic.h:621: error: field `tx_skbuff' has incomplete type
drivers/net/acenic.h:622: error: field `rx_std_skbuff' has incomplete
type
drivers/net/acenic.h:623: error: field `rx_mini_skbuff' has incomplete
type
drivers/net/acenic.h:624: error: field `rx_jumbo_skbuff' has incomplete
type
drivers/net/acenic.c: In function `acenic_remove_one':
drivers/net/acenic.c:667: warning: implicit declaration of function
`pci_unmap_addr'
drivers/net/acenic.c: In function `ace_load_std_rx_ring':
drivers/net/acenic.c:1704: warning: implicit declaration of function
`pci_unmap_addr_set'
drivers/net/acenic.c: In function `ace_rx_int':
drivers/net/acenic.c:2036: error: dereferencing pointer to incomplete
type
drivers/net/acenic.c:2037: error: dereferencing pointer to incomplete
type
drivers/net/acenic.c:2039: error: `mapping' undeclared (first use in
this function)
drivers/net/acenic.c:2039: error: (Each undeclared identifier is
reported only once
drivers/net/acenic.c:2039: error: for each function it appears in.)
drivers/net/acenic.c: In function `ace_tx_int':


... etc ...

Attachment: signature.asc
Description: This is a digitally signed message part