]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: make media address offset a common define
authorErik Hugne <erik.hugne@ericsson.com>
Fri, 27 Feb 2015 07:56:58 +0000 (08:56 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Feb 2015 23:18:48 +0000 (18:18 -0500)
commit480f2a5ee7fd03e4817be64c3a047132bef1d2d8
tree6d5b3bdd02fd7586b54de631f806e76efcdbfb50
parent118d6d838dcc26ec00925bcb5b6366ae812c91fa
tipc: make media address offset a common define

With the exception of infiniband media which does not use media
offsets, the media address is always located at offset 4 in the
media info field as defined by the protocol, so we move the
definition to the generic bearer.h

Signed-off-by: Erik Hugne <erik.hugne@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/bearer.h
net/tipc/eth_media.c