qlcnic: add 82xx adapter specific checks
authorSony Chacko <[email protected]>
Tue, 4 Dec 2012 03:33:52 +0000 (03:33 +0000)
committerDavid S. Miller <[email protected]>
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c