]> 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)
commitf007f903b5e3669c5c8776a5d98bdb81a8286cf5
tree6d5b3bdd02fd7586b54de631f806e76efcdbfb50
parent1d77f71bc3a0635fc8b6212a9040152c527ef227
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