]> git.karo-electronics.de Git - karo-tx-uboot.git/blob - drivers/net/Kconfig
sandbox: eth: Add network support to sandbox
[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         help
15           You must select Y to enable any network device support
16           Generally if you have any networking support this is a given
17
18           If unsure, say Y
19
20 if NETDEVICES
21
22 config ETH_SANDBOX
23         depends on DM_ETH && SANDBOX
24         default y
25         bool "Sandbox: Mocked Ethernet driver"
26         help
27           This driver simply responds with fake ARP replies and ping
28           replies that are used to verify network stack functionality
29
30           This driver is particularly useful in the test/dm/eth.c tests
31
32 config MII
33         bool
34
35 config FEC_MXC
36         bool "Freescale FEC ethernet controller"
37         select MII
38
39 config GET_FEC_MAC_ADDR_FROM_IIM
40         bool "Read FEC MAC address from fuses"
41         depends on FEC_MXC
42
43 if FEC_MXC
44
45 config FEC_MXC_PHYADDR
46         int "FEC Ethernet PHY address"
47         default 0
48         depends on !FEC_MXC_MULTI
49
50 endif
51
52 source "drivers/net/phy/Kconfig"
53
54 endif # NETDEVICES