Damien Zammit | e983f0c | 2016-05-21 02:24:19 +1000 | [diff] [blame] | 1 | config REALTEK_8168_RESET |
Arthur Heymans | d83f9fc | 2016-11-23 10:52:28 +0100 | [diff] [blame] | 2 | bool |
Damien Zammit | e983f0c | 2016-05-21 02:24:19 +1000 | [diff] [blame] | 3 | help |
| 4 | This forces a realtek 10ec:8168 card to reset to ensure power state |
| 5 | is correct at boot. |
Arthur Heymans | ec74f45 | 2017-01-10 15:44:47 +0100 | [diff] [blame] | 6 | |
| 7 | config REALTEK_8168_MACADDRESS |
| 8 | string "Realtek rt8168 mac address" |
Shelley Chen | 0528b61 | 2017-06-12 18:29:24 -0700 | [diff] [blame] | 9 | depends on REALTEK_8168_RESET && !RT8168_GET_MAC_FROM_VPD |
Arthur Heymans | ec74f45 | 2017-01-10 15:44:47 +0100 | [diff] [blame] | 10 | 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 Chen | 0528b61 | 2017-06-12 18:29:24 -0700 | [diff] [blame] | 16 | |
| 17 | config RT8168_GET_MAC_FROM_VPD |
| 18 | bool |
| 19 | default n |
| 20 | select REALTEK_8168_RESET |
Gaggery Tsai | 65623ef | 2017-09-29 11:15:23 +0800 | [diff] [blame] | 21 | |
Edward O'Callaghan | 0e13806 | 2020-03-23 13:06:42 +1100 | [diff] [blame] | 22 | config 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 Tsai | 65623ef | 2017-09-29 11:15:23 +0800 | [diff] [blame] | 30 | config 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 Roth | 0949e73 | 2021-10-01 14:28:22 -0600 | [diff] [blame] | 36 | link and speed status with limited LEDs available on a board. |
Gaggery Tsai | 65623ef | 2017-09-29 11:15:23 +0800 | [diff] [blame] | 37 | 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 Heymans | 7f922b0 | 2018-08-22 02:14:04 +0200 | [diff] [blame] | 40 | |
Arthur Heymans | 59a348b | 2021-10-27 18:27:58 +0200 | [diff] [blame] | 41 | config 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 Heymans | 7f922b0 | 2018-08-22 02:14:04 +0200 | [diff] [blame] | 48 | config 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 | |
| 54 | config 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. |