Skip to content

Commit 861928f

Browse files
Michael Karcherdavem330
authored andcommitted
net-next: New ax88796 platform driver for Amiga X-Surf 100 Zorro board (m68k)
Add platform device driver to populate the ax88796 platform data from information provided by the XSurf100 zorro device driver. The ax88796 module will be loaded through this module's probe function. Signed-off-by: Michael Karcher <kernel@mkarcher.dialup.fu-berlin.de> Signed-off-by: Michael Schmitz <schmitzmic@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 453da98 commit 861928f

File tree

3 files changed

+398
-2
lines changed

3 files changed

+398
-2
lines changed

drivers/net/ethernet/8390/Kconfig

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ config PCMCIA_AXNET
2929
called axnet_cs. If unsure, say N.
3030

3131
config AX88796
32-
tristate "ASIX AX88796 NE2000 clone support"
33-
depends on (ARM || MIPS || SUPERH)
32+
tristate "ASIX AX88796 NE2000 clone support" if !ZORRO
33+
depends on (ARM || MIPS || SUPERH || ZORRO || COMPILE_TEST)
3434
select CRC32
3535
select PHYLIB
3636
select MDIO_BITBANG
@@ -45,6 +45,19 @@ config AX88796_93CX6
4545
---help---
4646
Select this if your platform comes with an external 93CX6 eeprom.
4747

48+
config XSURF100
49+
tristate "Amiga XSurf 100 AX88796/NE2000 clone support"
50+
depends on ZORRO
51+
select AX88796
52+
select ASIX_PHY
53+
help
54+
This driver is for the Individual Computers X-Surf 100 Ethernet
55+
card (based on the Asix AX88796 chip). If you have such a card,
56+
say Y. Otherwise, say N.
57+
58+
To compile this driver as a module, choose M here: the module
59+
will be called xsurf100.
60+
4861
config HYDRA
4962
tristate "Hydra support"
5063
depends on ZORRO

drivers/net/ethernet/8390/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ obj-$(CONFIG_PCMCIA_PCNET) += pcnet_cs.o 8390.o
1616
obj-$(CONFIG_STNIC) += stnic.o 8390.o
1717
obj-$(CONFIG_ULTRA) += smc-ultra.o 8390.o
1818
obj-$(CONFIG_WD80x3) += wd.o 8390.o
19+
obj-$(CONFIG_XSURF100) += xsurf100.o
1920
obj-$(CONFIG_ZORRO8390) += zorro8390.o

0 commit comments

Comments
 (0)