coreboot/src/drivers/net/Kconfig
Arthur Heymans 7f922b0f6a drivers/net/atl1e: Add driver
A shortcoming of this driver is that if multiple devices with the same PCI ID
are present and don't have an eeprom, they would all get the same macadress set.
The r8168 driver deals with such cases so it should be easy to implement if
needed.

Change-Id: I5c32df00e25453c350a45e7f1ee6834b89c4289f
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/28265
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
2018-10-15 14:11:00 +00:00

47 lines
1.5 KiB
Text

config REALTEK_8168_RESET
bool
help
This forces a realtek 10ec:8168 card to reset to ensure power state
is correct at boot.
config REALTEK_8168_MACADDRESS
string "Realtek rt8168 mac address"
depends on REALTEK_8168_RESET && !RT8168_GET_MAC_FROM_VPD
default "00:e0:4c:00:c0:b0"
help
This is a string to set the mac address on a Realtek rt8168 card.
It must be in the form of "xx:xx:xx:xx:xx:xx", where x is a
hexadecimal number for it to be valid. Failing to do so will
result in the default macaddress being used.
config RT8168_GET_MAC_FROM_VPD
bool
default n
select REALTEK_8168_RESET
config RT8168_SET_LED_MODE
bool
default n
select REALTEK_8168_RESET
help
This is to set a customized LED mode to distinguish 10/100/1000
link and speed status with limited LEDs avaiable on a board.
Please refer to RTL811x datasheet section 7.2 Customizable LED
Configuration for details. With this flag enabled, the
customized_leds variable will be read from devicetree setting.
config ATHEROS_ATL1E_SETMAC
bool
help
This sets the MAC address on boards featuring the atheros 1968:1026
NIC which lack an eeprom to store it.
config ATHEROS_ATL1E_MACADDRESS
string "Atheros AR8121/AR8113/AR8114 mac address"
depends on ATHEROS_ATL1E_SETMAC
default "90:e6:ba:24:f9:d2"
help
This is a string to set the mac address on an Atheros atl1e card.
It must be in the form of "xx:xx:xx:xx:xx:xx", where x is a
hexadecimal number for it to be valid. Failing to do so will
result in the default MAC address being used.