cnic: Move indexing function pointers to struct kcq_info
authorMichael Chan <mchan@broadcom.com>
Tue, 14 Jun 2011 01:32:38 +0000 (01:32 +0000)
committerDavid S. Miller <davem@conan.davemloft.net>
Wed, 15 Jun 2011 14:56:12 +0000 (10:56 -0400)
commit59e5137357559ec60b2e72bdc3d5a7e22c47212b
treed5656a3545e64020c82166c2933a8e47b375da59
parentb7c7deeb4c77538577f0b6a724f10ce8693eb648
cnic: Move indexing function pointers to struct kcq_info

The hardware indexing scheme for the FCoE kcq will change in the upcoming
firmware.  This patch will cope with the change easily.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: Vladislav Zolotarov <vladz@broadcom.com>
Signed-off-by: David S. Miller <davem@conan.davemloft.net>
drivers/net/cnic.c
drivers/net/cnic.h