net/qede/base: convert device type to enum
authorRasesh Mody <rasesh.mody@cavium.com>
Tue, 19 Sep 2017 01:29:45 +0000 (18:29 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:48 +0000 (02:49 +0200)
commitdc8eba81f0ef8e32cd5cd841cd789c1ed6aa2812
tree1f3c2fd19dc264b31460262515eac7136c8842a5
parente41266b57cfaf00cc9e1c2133a4c5e12dc661f95
net/qede/base: convert device type to enum

Add a new enum for device type and device type details to device info.

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/ecore.h
drivers/net/qede/base/ecore_dev.c
drivers/net/qede/qede_if.h
drivers/net/qede/qede_main.c