[PATCH] net: e1000: add HAS_DMA dependency
Sascha Hauer
s.hauer at pengutronix.de
Tue Apr 28 11:04:06 PDT 2015
On Tue, Apr 28, 2015 at 05:59:41PM +0300, Antony Pavlov wrote:
> The e1000 driver uses the dma coherent functions
> and thus can only be build for architectures implementing them.
>
> Here is mips malta build error log:
>
> drivers/built-in.o: In function `e1000_transmit':
> drivers/net/e1000.c:(.text.e1000_transmit+0x80): undefined reference to
> `dma_sync_single_for_device'
> drivers/built-in.o: In function `e1000_poll':
> drivers/net/e1000.c:(.text.e1000_poll+0x60): undefined reference to
> `dma_sync_single_for_cpu'
>
> Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
> ---
> drivers/net/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
Applied, thanks
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list