qlcnic: add 82xx adapter specific checks
authorSony Chacko <sony.chacko@qlogic.com>
Tue, 4 Dec 2012 03:33:52 +0000 (03:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Dec 2012 18:00:11 +0000 (13:00 -0500)
commit97ee45eb099a9a0f1dc992f98e9476cc159ee5e0
tree3200eaef5b96e027f18610f487904ed475956e14
parentfb4ce8ad8036e6b3d5ab021fd10934b80270cc11
qlcnic: add 82xx adapter specific checks

Add 82xx adapter ID check before 82xx specific operations as part of
refactoring the driver to enable support for new adapter.

Signed-off-by: Sony Chacko <sony.chacko@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c