]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - drivers/net/Kconfig
Move defaults from config_cmd_default.h to Kconfig
[karo-tx-uboot.git] / drivers / net / Kconfig
1 config DM_ETH
2         bool "Enable Driver Model for Ethernet drivers"
3         depends on DM
4         help
5           Enable driver model for Ethernet.
6
7           The eth_*() interface will be implemented by the UC_ETH class
8           This is currently implemented in net/eth.c
9           Look in include/net.h for details.
10
11 menuconfig NETDEVICES
12         bool "Network device support"
13         depends on NET
14         default y if DM_ETH
15         help
16           You must select Y to enable any network device support
17           Generally if you have any networking support this is a given
18
19           If unsure, say Y
20
21 if NETDEVICES
22
23 config ETH_SANDBOX
24         depends on DM_ETH && SANDBOX
25         default y
26         bool "Sandbox: Mocked Ethernet driver"
27         help
28           This driver simply responds with fake ARP replies and ping
29           replies that are used to verify network stack functionality
30
31           This driver is particularly useful in the test/dm/eth.c tests
32
33 config ETH_SANDBOX_RAW
34         depends on DM_ETH && SANDBOX
35         default y
36         bool "Sandbox: Bridge to Linux Raw Sockets"
37         help
38           This driver is a bridge from the bottom of the network stack
39           in U-Boot to the RAW AF_PACKET API in Linux. This allows real
40           network traffic to be tested from within sandbox. See
41           board/sandbox/README.sandbox for more details.
42
43 config ETH_DESIGNWARE
44         bool "Synopsys Designware Ethernet MAC"
45         help
46           This MAC is present in SoCs from various vendors. It supports
47           100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to
48           provide the PHY (physical media interface).
49
50 config MII
51         bool
52
53 config FEC_MXC
54         bool "Freescale FEC ethernet controller"
55         select MII
56
57 config GET_FEC_MAC_ADDR_FROM_IIM
58         bool "Read FEC MAC address from fuses"
59         depends on FEC_MXC
60
61 if FEC_MXC
62
63 config FEC_MXC_PHYADDR
64         int "FEC Ethernet PHY address"
65         default 0
66         depends on !FEC_MXC_MULTI
67
68 endif
69
70 source "drivers/net/phy/Kconfig"
71
72 endif # NETDEVICES