blob: 875b7095fad2bc7fbeb458fc231b16beb13d5253 [file] [log] [blame]
Damien Zammite983f0c2016-05-21 02:24:19 +10001config REALTEK_8168_RESET
Arthur Heymansd83f9fc2016-11-23 10:52:28 +01002 bool
Damien Zammite983f0c2016-05-21 02:24:19 +10003 help
4 This forces a realtek 10ec:8168 card to reset to ensure power state
5 is correct at boot.
Arthur Heymansec74f452017-01-10 15:44:47 +01006
7config REALTEK_8168_MACADDRESS
8 string "Realtek rt8168 mac address"
Shelley Chen0528b612017-06-12 18:29:24 -07009 depends on REALTEK_8168_RESET && !RT8168_GET_MAC_FROM_VPD
Arthur Heymansec74f452017-01-10 15:44:47 +010010 default "00:e0:4c:00:c0:b0"
11 help
12 This is a string to set the mac address on a Realtek rt8168 card.
13 It must be in the form of "xx:xx:xx:xx:xx:xx", where x is a
14 hexadecimal number for it to be valid. Failing to do so will
15 result in the default macaddress being used.
Shelley Chen0528b612017-06-12 18:29:24 -070016
17config RT8168_GET_MAC_FROM_VPD
18 bool
19 default n
20 select REALTEK_8168_RESET
Gaggery Tsai65623ef2017-09-29 11:15:23 +080021
Edward O'Callaghan0e138062020-03-23 13:06:42 +110022config RT8168_SUPPORT_LEGACY_VPD_MAC
23 bool
24 default n
25 help
26 Previously VPD expected that device_indexes set to zero were
27 special cased. Selecting this Kconfig restores the legacy
28 VPD format and behaviour. If unsure, you likely do not need this!
29
Gaggery Tsai65623ef2017-09-29 11:15:23 +080030config RT8168_SET_LED_MODE
31 bool
32 default n
33 select REALTEK_8168_RESET
34 help
35 This is to set a customized LED mode to distinguish 10/100/1000
Martin Roth0949e732021-10-01 14:28:22 -060036 link and speed status with limited LEDs available on a board.
Gaggery Tsai65623ef2017-09-29 11:15:23 +080037 Please refer to RTL811x datasheet section 7.2 Customizable LED
38 Configuration for details. With this flag enabled, the
39 customized_leds variable will be read from devicetree setting.
Arthur Heymans7f922b02018-08-22 02:14:04 +020040
Arthur Heymans59a348b2021-10-27 18:27:58 +020041config RT8168_GEN_ACPI_POWER_RESOURCE
42 bool
43 default n
44 depends on REALTEK_8168_RESET
45 help
46 Select this if an ACPI power resource needs to be generated.
47
Arthur Heymans7f922b02018-08-22 02:14:04 +020048config ATHEROS_ATL1E_SETMAC
49 bool
50 help
51 This sets the MAC address on boards featuring the atheros 1968:1026
52 NIC which lack an eeprom to store it.
53
54config ATHEROS_ATL1E_MACADDRESS
55 string "Atheros AR8121/AR8113/AR8114 mac address"
56 depends on ATHEROS_ATL1E_SETMAC
57 default "90:e6:ba:24:f9:d2"
58 help
59 This is a string to set the mac address on an Atheros atl1e card.
60 It must be in the form of "xx:xx:xx:xx:xx:xx", where x is a
61 hexadecimal number for it to be valid. Failing to do so will
62 result in the default MAC address being used.