[PATCH net-next 2/2 v8] net: ethernet: Add a driver for Gemini gigabit ethernet
Linus Walleij
linus.walleij at linaro.org
Sun Dec 17 07:49:19 PST 2017
On Mon, Dec 11, 2017 at 8:16 PM, David Miller <davem at davemloft.net> wrote:
> From: Linus Walleij <linus.walleij at linaro.org>
>> +if NET_VENDOR_CORTINA
>> +
>> +config GEMINI_ETHERNET
>> + tristate "Gemini Gigabit Ethernet support"
>> + depends on ARCH_GEMINI
>> + depends on OF
>> + select PHYLIB
>> + select CRC32
>> + ---help---
>> + This driver supports StorLink SL351x (Gemini) dual Gigabit Ethernet.
>
> Make this driver buildable anywhere, you don't use any platform architecture
> specific features.
I pushed the recent v9 set where I remove the dep on ARCH_GEMINI
and the autobuilders complain a lot about the use of dma_to_pfn()
which turns out to be a ARM thing from <asm/dma-mapping.h>
included from <linux/dma-mapping.h>.
I will try switching to functions from the generic dma-mapping API
and fix it up and send a v10.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list