qlcnic: check device class
authorSucheta Chakraborty <sucheta.chakraborty@qlogic.com>
Thu, 13 May 2010 03:07:48 +0000 (03:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 May 2010 10:08:01 +0000 (03:08 -0700)
commitb3a2464941e32ca58059cba68012105e35ce84af
tree1cd60c8732140819958f9acde18960c80586a3cc
parent96f8118c25ea812335986d96a68441c2bcb01fe0
qlcnic: check device class

pci-func class can be other than ethernet in Qlogic CNA device.

Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty@qlogic.com>
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlcnic/qlcnic.h
drivers/net/qlcnic/qlcnic_init.c
drivers/net/qlcnic/qlcnic_main.c