net/qede/base: fix printout
authorRasesh Mody <rasesh.mody@cavium.com>
Sat, 18 Mar 2017 06:50:19 +0000 (23:50 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 16:59:43 +0000 (18:59 +0200)
commitd843caff0c7efa25d198200847695794c1598114
tree2318589ce66213168a56799dfd381e834ab21f0e
parent56d1a16a7f75f07bbd97a0909a7cf63395b4dcf9
net/qede/base: fix printout

Prints in ecore_get_dev_info showed only chip revision,
and did that as number instead of letter.
I.e.,  BB A0 --> BB0, BB B0 --> BB1, AH A0 --> AH0, AH A1 --> AH0.

Correct the printing scheme into
{AH, BB} {A, B}{0, 1}

Fixes: ec94dbc57362 ("qede: add base driver")

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