On Tue, Apr 17, 2018 at 02:08:15PM +1200, Michael Schmitz wrote:
> Add platform device driver to populate the ax88796 platform data from
> information provided by the XSurf100 zorro device driver.
> This driver will have to be loaded before loading the ax88796 module,
> or compiled as built-in.
>
> Signed-off-by: Michael Karcher <[email protected]>
> Signed-off-by: Michael Schmitz <[email protected]>
> ---
> drivers/net/ethernet/8390/Kconfig | 14 +-
> drivers/net/ethernet/8390/Makefile | 1 +
> drivers/net/ethernet/8390/xsurf100.c | 411
> ++++++++++++++++++++++++++++++++++
> 3 files changed, 425 insertions(+), 1 deletions(-)
> create mode 100644 drivers/net/ethernet/8390/xsurf100.c
>
> diff --git a/drivers/net/ethernet/8390/Kconfig
> b/drivers/net/ethernet/8390/Kconfig
> index fdc6734..0cadd45 100644
> --- a/drivers/net/ethernet/8390/Kconfig
> +++ b/drivers/net/ethernet/8390/Kconfig
> @@ -30,7 +30,7 @@ config PCMCIA_AXNET
>
> config AX88796
> tristate "ASIX AX88796 NE2000 clone support"
> - depends on (ARM || MIPS || SUPERH)
> + depends on (ARM || MIPS || SUPERH || AMIGA)
Hi Michael
Will it compile on other platforms? If so, it is a good idea to add
COMPILE_TEST as well.
Andrew