tipc: Register new media using pre-compiled structure
authorAllan Stephens <allan.stephens@windriver.com>
Thu, 6 Oct 2011 19:28:44 +0000 (15:28 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 27 Dec 2011 16:13:05 +0000 (11:13 -0500)
commit706767da1bd0726d8fbc62e4818cb29193676a74
treef2df46f9850bfb984e64f44ec6c8fca0bf249922
parent2060a5774452e35b4a1dc4371abbb5ffd691355f
tipc: Register new media using pre-compiled structure

Speeds up the registration of TIPC media types by passing in a structure
containing the required information, rather than by passing in the various
fields describing the media type individually.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
net/tipc/bearer.c
net/tipc/bearer.h
net/tipc/eth_media.c