thesven73@gmail.com
cddaf02bcb
tg3: optionally use eth_platform_get_mac_address() to get mac address
...
This function will try to determine the mac address via the devicetree,
or via an architecture-specific method (e.g. a PROM on SPARC).
The SPARC-specific code in this driver (#ifdef SPARC) did exactly this,
and is therefore removed.
Note that you can now specify the tg3 mac address via the devicetree,
on any platform, not just SPARC:
Devicetree example:
(see Documentation/devicetree/bindings/pci/pci.txt)
&pcie {
host@0 {
#address-cells = <3>;
#size-cells = <2>;
reg = <0 0 0 0 0>;
bcm5778: bcm5778@0 {
reg = <0 0 0 0 0>;
mac-address = [CA 11 AB 1E 10 01];
};
};
};
Signed-off-by: Sven Van Asbroeck <svendev@arcx.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2018-11-18 12:57:59 -08:00
..
2018-07-22 11:12:29 -07:00
2018-09-12 20:24:20 -07:00
2018-07-26 21:24:23 -07:00
2018-11-11 10:10:01 -08:00
2018-09-12 20:24:20 -07:00
2018-09-18 19:57:40 -07:00
2018-09-12 20:24:20 -07:00
2018-08-07 17:54:19 -07:00
2018-09-12 20:24:20 -07:00
2018-10-22 19:48:04 -07:00
2018-11-11 10:10:01 -08:00
2018-11-11 10:10:01 -08:00
2018-09-21 19:15:15 -07:00
2018-11-17 21:36:09 -08:00
2018-11-11 10:10:01 -08:00
2018-11-05 17:12:58 -08:00
2018-09-12 20:24:21 -07:00
2018-11-18 12:57:59 -08:00
2018-09-21 19:02:05 -07:00
2018-10-25 11:32:24 -07:00
2018-07-16 09:04:54 +02:00
2018-11-11 10:10:01 -08:00
2018-11-17 20:36:25 -08:00
2018-09-21 19:15:14 -07:00
2018-08-04 13:08:06 -07:00
2018-09-12 20:24:21 -07:00
2018-10-21 21:10:12 -07:00
2018-08-07 17:54:19 -07:00
2018-11-08 20:45:04 -08:00
2018-09-26 10:18:08 -07:00
2018-11-17 21:52:58 -08:00
2018-11-17 21:57:29 -08:00
2018-09-17 07:55:19 -07:00
2018-10-29 20:43:40 -07:00
2018-09-21 19:15:15 -07:00
2018-11-11 17:57:54 -08:00
2018-11-15 15:05:11 -08:00
2018-11-11 17:57:54 -08:00
2018-11-11 10:10:01 -08:00
2018-11-15 14:43:43 -08:00
2018-09-21 19:11:39 -07:00
2018-10-25 16:20:48 -07:00
2018-06-12 16:19:22 -07:00
2018-10-19 11:03:06 -07:00
2018-10-25 16:20:02 -07:00
2018-05-31 14:17:33 -04:00
2018-09-21 19:00:09 -07:00
2018-11-14 08:51:28 -08:00
2018-10-01 22:48:08 -07:00
2018-07-27 13:45:14 -07:00
2018-11-11 10:10:01 -08:00
2018-06-23 20:52:09 +09:00
2018-07-05 20:05:54 +09:00
2018-06-12 16:19:22 -07:00
2018-11-08 19:38:19 -08:00
2018-11-11 17:57:54 -08:00
2018-09-12 20:24:20 -07:00
2018-11-11 14:00:05 -08:00
2018-09-25 10:35:29 -07:00
2018-10-19 10:42:19 -07:00
2018-09-12 20:24:20 -07:00
2018-09-21 19:15:14 -07:00
2018-11-08 20:01:29 -08:00
2018-09-21 19:15:14 -07:00
2018-10-21 21:10:12 -07:00
2018-11-11 10:10:01 -08:00
2018-11-11 17:57:54 -08:00
2018-09-19 21:17:58 -07:00
2018-07-27 19:16:37 +08:00
2018-07-05 19:33:39 +09:00
2018-11-13 16:29:59 -08:00
2018-11-11 10:10:01 -08:00
2018-10-21 21:10:12 -07:00
2018-09-19 21:17:58 -07:00
2018-09-12 20:24:21 -07:00
2018-03-26 12:07:49 -04:00
2018-09-12 20:24:20 -07:00
2018-07-27 13:45:14 -07:00
2018-09-13 08:14:33 -07:00
2018-09-13 08:14:33 -07:00
2018-09-17 08:12:11 -07:00
2018-09-13 08:14:33 -07:00