Ravi Pokala ddae57504b Persistently store NIC's hardware MAC address, and add a way to retrive it
The MAC address reported by `ifconfig ${nic} ether' does not always match
the address in the hardware, as reported by the driver during attach. In
particular, NICs which are components of a lagg(4) interface all report the
same MAC.

When attaching, the NIC driver passes the MAC address it read from the
hardware as an argument to ether_ifattach(). Keep a second copy of it, and
create ioctl(SIOCGHWADDR) to return it. Teach `ifconfig' to report it along
with the active MAC address.

PR:		194386
Reviewed by:	glebius
MFC after:	1 week
Sponsored by:	Panasas
Differential Revision:	https://reviews.freebsd.org/D10609
2017-05-10 22:13:47 +00:00
..
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-03-08 23:58:10 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-05-09 01:48:23 +00:00
2017-05-02 17:16:24 +00:00
2017-03-10 19:13:38 +00:00
2017-03-02 14:50:01 +00:00
2017-02-28 23:42:47 +00:00
2017-04-07 15:39:41 +00:00
2016-10-05 20:42:35 +00:00
2017-02-28 23:42:47 +00:00
2016-10-05 20:45:21 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2016-10-03 00:40:20 +00:00
2017-02-28 23:42:47 +00:00
2015-06-13 19:20:56 +00:00
2017-03-14 12:39:19 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00