aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNarendra K <narendra_k@dell.com>2013-06-10 10:04:03 -0400
committerDavid S. Miller <davem@davemloft.net>2013-06-12 06:03:47 -0400
commitdffebd2c5cd528a136b276a2a75c56222312d7a4 (patch)
tree05364403f2245264ac2eafa4b26ad1b81f4a1e43 /include
parent32766fff24a761079636bb96c389411d24a334c6 (diff)
doc:networking: Update comment for dev_id field in netdevice.h
This patch updates the comment for 'dev_id' field in 'include/linux/netdevice.h' to reflect the intended usage of 'dev_id'. References: http://marc.info/?l=linux-netdev&m=136992115300526&w=2 References: http://marc.info/?l=linux-netdev&m=137062569014612&w=2 Signed-off-by: Narendra K <narendra_k@dell.com> Reviewed-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/netdevice.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 2ecb96d9a1e5..e5d65573b4d6 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -1174,8 +1174,10 @@ struct net_device {
1174 unsigned char addr_assign_type; /* hw address assignment type */ 1174 unsigned char addr_assign_type; /* hw address assignment type */
1175 unsigned char addr_len; /* hardware address length */ 1175 unsigned char addr_len; /* hardware address length */
1176 unsigned char neigh_priv_len; 1176 unsigned char neigh_priv_len;
1177 unsigned short dev_id; /* for shared network cards */ 1177 unsigned short dev_id; /* Used to differentiate devices
1178 1178 * that share the same link
1179 * layer address
1180 */
1179 spinlock_t addr_list_lock; 1181 spinlock_t addr_list_lock;
1180 struct netdev_hw_addr_list uc; /* Unicast mac addresses */ 1182 struct netdev_hw_addr_list uc; /* Unicast mac addresses */
1181 struct netdev_hw_addr_list mc; /* Multicast mac addresses */ 1183 struct netdev_hw_addr_list mc; /* Multicast mac addresses */