net/qede/base: fix macros to check chip revision/metal
authorRasesh Mody <rasesh.mody@cavium.com>
Tue, 19 Sep 2017 01:30:09 +0000 (18:30 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:49 +0000 (02:49 +0200)
commit3b212853e478e45490668ea054ec351da1fbda43
tree62c89d769977e8e6837078ace19f02aeb4bbfbcc
parent30ecf67308f2e0477f60e66edf789b72e239c759
net/qede/base: fix macros to check chip revision/metal

Fix the ECORE_IS_[AB]0() macros to check both the chip revision and the
chip metal. Realign defines in the struct ecore_dev.

Fixes: ec94dbc57362 ("qede: add base driver")
Cc: stable@dpdk.org
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/base/ecore_vf.c