| 1 |
## SPDX-License-Identifier: GPL-2.0-only |
| 2 |
|
| 3 |
config 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 |
|
| 9 |
config 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 |
|
| 19 |
config RT8168_PUT_MAC_TO_ERI |
| 20 |
bool |
| 21 |
help |
| 22 |
After programming MAC address into the regular rt8168 ID registers, |
| 23 |
also program it into ERI. On some mainboards our programmed |
| 24 |
MAC address will not survive a controller reset without this step. |
| 25 |
|
| 26 |
Select at mainboard level only if its rt8168 has no EEPROM and |
| 27 |
programmed MAC address is lost after booting to OS. |
| 28 |
|
| 29 |
config RT8168_GET_MAC_FROM_VPD |
| 30 |
bool |
| 31 |
default n |
| 32 |
select REALTEK_8168_RESET |
| 33 |
|
| 34 |
config RT8168_SUPPORT_LEGACY_VPD_MAC |
| 35 |
bool |
| 36 |
default n |
| 37 |
help |
| 38 |
Previously VPD expected that device_indexes set to zero were |
| 39 |
special cased. Selecting this Kconfig restores the legacy |
| 40 |
VPD format and behaviour. If unsure, you likely do not need this! |
| 41 |
|
| 42 |
config RT8168_SET_LED_MODE |
| 43 |
bool |
| 44 |
default n |
| 45 |
select REALTEK_8168_RESET |
| 46 |
help |
| 47 |
This is to set a customized LED mode to distinguish 10/100/1000 |
| 48 |
link and speed status with limited LEDs available on a board. |
| 49 |
Please refer to RTL811x datasheet section 7.2 Customizable LED |
| 50 |
Configuration for details. With this flag enabled, the |
| 51 |
customized_leds variable will be read from devicetree setting. |
| 52 |
|
| 53 |
config RT8168_GEN_ACPI_POWER_RESOURCE |
| 54 |
bool |
| 55 |
default n |
| 56 |
depends on REALTEK_8168_RESET |
| 57 |
help |
| 58 |
Select this if an ACPI power resource needs to be generated. |
| 59 |
|
| 60 |
config ATHEROS_ATL1E_SETMAC |
| 61 |
bool |
| 62 |
help |
| 63 |
This sets the MAC address on boards featuring the atheros 1968:1026 |
| 64 |
NIC which lack an eeprom to store it. |
| 65 |
|
| 66 |
config ATHEROS_ATL1E_MACADDRESS |
| 67 |
string "Atheros AR8121/AR8113/AR8114 mac address" |
| 68 |
depends on ATHEROS_ATL1E_SETMAC |
| 69 |
default "90:e6:ba:24:f9:d2" |
| 70 |
help |
| 71 |
This is a string to set the mac address on an Atheros atl1e card. |
| 72 |
It must be in the form of "xx:xx:xx:xx:xx:xx", where x is a |
| 73 |
hexadecimal number for it to be valid. Failing to do so will |
| 74 |
result in the default MAC address being used. |