diff options
author | Jon Wetzel <jon_wetzel@dell.com> | 2005-08-20 17:15:54 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-29 16:02:44 -0700 |
commit | a6f9a70578b981321b63786ac8015f17cca4fcbd (patch) | |
tree | 5cbc50f95419f4d8d5b13186ccc42b293e0e684a /include/linux/netdevice.h | |
parent | 8cd25c1fcfbf6460983e99091d278187421c1a1d (diff) | |
download | linux-stable-a6f9a70578b981321b63786ac8015f17cca4fcbd.tar.gz linux-stable-a6f9a70578b981321b63786ac8015f17cca4fcbd.tar.bz2 linux-stable-a6f9a70578b981321b63786ac8015f17cca4fcbd.zip |
[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.h | 1 |
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 /* Interface address info. */ unsigned char broadcast[MAX_ADDR_LEN]; /* hw bcast add */ unsigned char dev_addr[MAX_ADDR_LEN]; /* hw address */ + unsigned char perm_addr[MAX_ADDR_LEN]; /* permanent hw address */ unsigned char addr_len; /* hardware address length */ unsigned short dev_id; /* for shared network cards */ |