ixgbe/base: fix bus type overwrite
authorOuyang Changchun <changchun.ouyang@intel.com>
Thu, 12 Feb 2015 12:00:35 +0000 (20:00 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 27 Apr 2015 08:05:58 +0000 (10:05 +0200)
commit7b21cadfd6c374dbf33128887875f5025a5ee28a
treed2df95a11ffafafabee7dff2e993affc1257f921
parent8dba79550ac3fc1bad4cf71eb9f02d1b20d50b7b
ixgbe/base: fix bus type overwrite

It needs check if the bus type is the unknown type or not.

Signed-off-by: Changchun Ouyang <changchun.ouyang@intel.com>
Acked-by: Jijiang Liu <jijiang.liu@intel.com>
lib/librte_pmd_ixgbe/ixgbe/ixgbe_common.c