diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2018-08-22 02:14:04 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2018-10-15 14:11:00 +0000 |
commit | 7f922b0f6ad9b63c06e6243b0a485b05b36befb9 (patch) | |
tree | af40fab82bd897ef87f1df4fc9eed9518038ead2 /src/drivers/net/Kconfig | |
parent | 1541256f22bbb046a43ccebf73d994d4f4a53374 (diff) | |
download | coreboot-7f922b0f6ad9b63c06e6243b0a485b05b36befb9.tar.xz |
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>
Diffstat (limited to 'src/drivers/net/Kconfig')
-rw-r--r-- | src/drivers/net/Kconfig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/drivers/net/Kconfig b/src/drivers/net/Kconfig index bd6f09a61d..92de1ed0e7 100644 --- a/src/drivers/net/Kconfig +++ b/src/drivers/net/Kconfig @@ -29,3 +29,19 @@ config RT8168_SET_LED_MODE 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. |