e1000: convert to use of PMD_REGISTER_DRIVER and fix linking
authorNeil Horman <nhorman@tuxdriver.com>
Mon, 21 Apr 2014 14:59:34 +0000 (10:59 -0400)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 20 May 2014 12:28:16 +0000 (14:28 +0200)
commitca5834b7af11ef98060086cb576817800d70e1a9
treeb8b2b54867c76f85e0c59b547597ab46893fdb8b
parente57f20e051770861377ff00d37a8f8f810c8a2f0
e1000: convert to use of PMD_REGISTER_DRIVER and fix linking

Convert the e1000 pmd driver to use the PMD_REGISTER_DRIVER macro.
This means that the test applications now have no reference to the e1000 library
when building DSO's and must specify its use on the command line with the -d
option.  Static linking will still initalize the driver automatically.

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_ether/rte_ethdev.h
lib/librte_pmd_e1000/em_ethdev.c
mk/rte.app.mk