xref: /aosp_15_r20/external/coreboot/src/drivers/net/Kconfig (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1## SPDX-License-Identifier: GPL-2.0-only
2
3config REALTEK_8168_RESET
4	bool
5	help
6	  This forces a realtek 10ec:8168 card to reset to ensure power state
7	  is correct at boot.
8
9config REALTEK_8168_MACADDRESS
10	string "Realtek rt8168 mac address"
11	depends on REALTEK_8168_RESET && !RT8168_GET_MAC_FROM_VPD
12	default "00:e0:4c:00:c0:b0"
13	help
14	  This is a string to set the mac address on a Realtek rt8168 card.
15	  It must be in the form  of "xx:xx:xx:xx:xx:xx", where x is a
16	  hexadecimal number for it to be valid. Failing to do so will
17	  result in the default macaddress being used.
18
19config RT8168_GET_MAC_FROM_VPD
20	bool
21	default n
22	select REALTEK_8168_RESET
23
24config RT8168_SUPPORT_LEGACY_VPD_MAC
25	bool
26	default n
27	help
28	  Previously VPD expected that device_indexes set to zero were
29	  special cased. Selecting this Kconfig restores the legacy
30	  VPD format and behaviour. If unsure, you likely do not need this!
31
32config RT8168_SET_LED_MODE
33	bool
34	default n
35	select REALTEK_8168_RESET
36	help
37	  This is to set a customized LED mode to distinguish 10/100/1000
38	  link and speed status with limited LEDs available on a board.
39	  Please refer to RTL811x datasheet section 7.2 Customizable LED
40	  Configuration for details. With this flag enabled, the
41	  customized_leds variable will be read from devicetree setting.
42
43config RT8168_GEN_ACPI_POWER_RESOURCE
44	bool
45	default n
46	depends on REALTEK_8168_RESET
47	help
48	  Select this if an ACPI power resource needs to be generated.
49
50config ATHEROS_ATL1E_SETMAC
51	bool
52	help
53	  This sets the MAC address on boards featuring the atheros 1968:1026
54	  NIC which lack an eeprom to store it.
55
56config ATHEROS_ATL1E_MACADDRESS
57	string "Atheros AR8121/AR8113/AR8114 mac address"
58	depends on ATHEROS_ATL1E_SETMAC
59	default "90:e6:ba:24:f9:d2"
60	help
61	  This is a string to set the mac address on an Atheros atl1e card.
62	  It must be in the form  of "xx:xx:xx:xx:xx:xx", where x is a
63	  hexadecimal number for it to be valid. Failing to do so will
64	  result in the default MAC address being used.
65