cnic: Unify kcq allocation for all devices.
authorMichael Chan <mchan@broadcom.com>
Thu, 24 Jun 2010 14:58:39 +0000 (14:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Jun 2010 03:37:19 +0000 (20:37 -0700)
commite6c2889478f04b30e5a71d753734644c579472fa
treee5cf3e039b6b62684845b9b6e3044784e1d129ad
parent66fee9ed03a4413ea054e437b65af6fd3583b4db
cnic: Unify kcq allocation for all devices.

By creating a common data stucture kcq_info for all devices, the kcq
(kernel completion queue) for all devices can be allocated by common
code.

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