xref: /linux/drivers/net/ethernet/davicom/Kconfig (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2d7058a79SJeff Kirsher#
3d7058a79SJeff Kirsher# Davicom device configuration
4d7058a79SJeff Kirsher#
5d7058a79SJeff Kirsher
6*2dc95a4dSJoseph CHAMGconfig NET_VENDOR_DAVICOM
7*2dc95a4dSJoseph CHAMG	bool "Davicom devices"
8*2dc95a4dSJoseph CHAMG	default y
9*2dc95a4dSJoseph CHAMG	help
10*2dc95a4dSJoseph CHAMG	  If you have a network (Ethernet) card belonging to this class, say Y.
11*2dc95a4dSJoseph CHAMG
12*2dc95a4dSJoseph CHAMG	  Note that the answer to this question doesn't directly affect the
13*2dc95a4dSJoseph CHAMG	  kernel: saying N will just cause the configurator to skip all
14*2dc95a4dSJoseph CHAMG	  the questions about Davicom devices. If you say Y, you will be asked
15*2dc95a4dSJoseph CHAMG	  for your specific card in the following selections.
16*2dc95a4dSJoseph CHAMG
17*2dc95a4dSJoseph CHAMGif NET_VENDOR_DAVICOM
18*2dc95a4dSJoseph CHAMG
19d7058a79SJeff Kirsherconfig DM9000
20d7058a79SJeff Kirsher	tristate "DM9000 support"
211bcb32c7SAndrew Lunn	depends on ARM || MIPS || COLDFIRE || NIOS2 || COMPILE_TEST
22d7058a79SJeff Kirsher	select CRC32
23d7058a79SJeff Kirsher	select MII
24a7f7f624SMasahiro Yamada	help
25d7058a79SJeff Kirsher	  Support for DM9000 chipset.
26d7058a79SJeff Kirsher
27d7058a79SJeff Kirsher	  To compile this driver as a module, choose M here.  The module
28d7058a79SJeff Kirsher	  will be called dm9000.
29d7058a79SJeff Kirsher
30d7058a79SJeff Kirsherconfig DM9000_FORCE_SIMPLE_PHY_POLL
31d7058a79SJeff Kirsher	bool "Force simple NSR based PHY polling"
32d7058a79SJeff Kirsher	depends on DM9000
33a7f7f624SMasahiro Yamada	help
34d7058a79SJeff Kirsher	  This configuration forces the DM9000 to use the NSR's LinkStatus
35d7058a79SJeff Kirsher	  bit to determine if the link is up or down instead of the more
36d7058a79SJeff Kirsher	  costly MII PHY reads. Note, this will not work if the chip is
37d7058a79SJeff Kirsher	  operating with an external PHY.
38*2dc95a4dSJoseph CHAMG
39*2dc95a4dSJoseph CHAMGconfig DM9051
40*2dc95a4dSJoseph CHAMG	tristate "DM9051 SPI support"
41*2dc95a4dSJoseph CHAMG	depends on SPI
42*2dc95a4dSJoseph CHAMG	select CRC32
43*2dc95a4dSJoseph CHAMG	select MDIO
44*2dc95a4dSJoseph CHAMG	select PHYLIB
45*2dc95a4dSJoseph CHAMG	select REGMAP_SPI
46*2dc95a4dSJoseph CHAMG	help
47*2dc95a4dSJoseph CHAMG	  Support for DM9051 SPI chipset.
48*2dc95a4dSJoseph CHAMG
49*2dc95a4dSJoseph CHAMG	  To compile this driver as a module, choose M here.  The module
50*2dc95a4dSJoseph CHAMG	  will be called dm9051.
51*2dc95a4dSJoseph CHAMG
52*2dc95a4dSJoseph CHAMG	  The SPI mode for the host's SPI master to access DM9051 is mode
53*2dc95a4dSJoseph CHAMG	  0 on the SPI bus.
54*2dc95a4dSJoseph CHAMG
55*2dc95a4dSJoseph CHAMGendif # NET_VENDOR_DAVICOM
56