Tool to set MAC address in EEPROM of RTL8168/8111E devices
Go to file
Holger Hans Peter Freyther 2052514dc9 Speculative fix for PATH_MAX not known
The latest poky master build is failing with the error below. Let's
include limits.h and see if this is already fixing it.

| rtl8168-eeprom.c: In function 'eeprom_backup':
| rtl8168-eeprom.c:406:13: error: 'PATH_MAX' undeclared (first use in this function)
|   char fname[PATH_MAX];
|              ^~~~~~~~
2017-06-13 12:52:35 +08:00
COPYING add COPYING file to include full GPLv2 license text 2015-07-10 19:25:57 +02:00
Makefile build: At least honor the LDFLAGS from the environment 2017-04-02 14:14:11 +02:00
README initial checkin of project 2015-03-22 22:15:40 +01:00
rtl8168-eeprom.c Speculative fix for PATH_MAX not known 2017-06-13 12:52:35 +08:00

README

rtl8168-mac-eeprom utility

Usage:

	./rtl8168_mac_eeprom
will generate an EEPROM backup file for all supported cards

	./rtl8168_mac_eeprom -s 1:0
will generate an EEPROM backup file for PCI slot 1:0

	./rtl8168_mac_eeprom -s 1:0 -m 01:02:03:04:05:06
will set the new mac address 01:02:03:04:05:06 to PCI slot 1:0