aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorJon Wetzel <jon_wetzel@dell.com>2005-08-20 20:15:54 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-29 19:02:44 -0400
commita6f9a70578b981321b63786ac8015f17cca4fcbd (patch)
tree5cbc50f95419f4d8d5b13186ccc42b293e0e684a /include/linux/netdevice.h
parent8cd25c1fcfbf6460983e99091d278187421c1a1d (diff)
[NET]: Add support for getting the permanent hardware address.
This patch adds a new field to net device to hold the permanent hardware address, and adds a new generic ethtool_op function to get that address. Signed-off-by: Jon Wetzel <jon_wetzel@dell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r--include/linux/netdevice.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 1fcaa88b8625..7c717907896d 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -337,6 +337,7 @@ struct net_device
337 /* Interface address info. */ 337 /* Interface address info. */
338 unsigned char broadcast[MAX_ADDR_LEN]; /* hw bcast add */ 338 unsigned char broadcast[MAX_ADDR_LEN]; /* hw bcast add */
339 unsigned char dev_addr[MAX_ADDR_LEN]; /* hw address */ 339 unsigned char dev_addr[MAX_ADDR_LEN]; /* hw address */
340 unsigned char perm_addr[MAX_ADDR_LEN]; /* permanent hw address */
340 unsigned char addr_len; /* hardware address length */ 341 unsigned char addr_len; /* hardware address length */
341 unsigned short dev_id; /* for shared network cards */ 342 unsigned short dev_id; /* for shared network cards */
342 343