Repository navigation
Commit 04c7788
r8169: Load MAC address from device tree if present
If the system was booted using a device tree and if the device tree
contains a MAC address, use it instead of reading one from the EEPROM.
This is useful in situations where the EEPROM isn't properly programmed
or where the firmware wants to override the existing MAC address.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent c53f59d commit 04c7788
1 file changed
Lines changed: 23 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7110 | 7110 | | |
7111 | 7111 | | |
7112 | 7112 | | |
| 7113 | + | |
| 7114 | + | |
| 7115 | + | |
| 7116 | + | |
| 7117 | + | |
| 7118 | + | |
| 7119 | + | |
| 7120 | + | |
| 7121 | + | |
| 7122 | + | |
| 7123 | + | |
| 7124 | + | |
| 7125 | + | |
| 7126 | + | |
| 7127 | + | |
7113 | 7128 | | |
7114 | 7129 | | |
7115 | 7130 | | |
| |||
7301 | 7316 | | |
7302 | 7317 | | |
7303 | 7318 | | |
| 7319 | + | |
7304 | 7320 | | |
7305 | 7321 | | |
7306 | 7322 | | |
| |||
7403 | 7419 | | |
7404 | 7420 | | |
7405 | 7421 | | |
7406 | | - | |
7407 | | - | |
7408 | | - | |
7409 | | - | |
7410 | | - | |
7411 | | - | |
7412 | | - | |
| 7422 | + | |
| 7423 | + | |
| 7424 | + | |
| 7425 | + | |
| 7426 | + | |
| 7427 | + | |
| 7428 | + | |
7413 | 7429 | | |
7414 | | - | |
7415 | | - | |
7416 | | - | |
7417 | | - | |
7418 | | - | |
7419 | | - | |
7420 | 7430 | | |
7421 | 7431 | | |
7422 | 7432 | | |
| |||
0 commit comments