tg3: Clarify semantics of TG3_IRQ_MAX_VECS
authorMatt Carlson <mcarlson@broadcom.com>
Wed, 15 Sep 2010 08:59:57 +0000 (08:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Sep 2010 21:16:13 +0000 (14:16 -0700)
commit6fd45cb814709767a1704b541aa91647b7f275cf
tree1d6ee9a9b703ba22713f239cf0da35b3e6f5ad69
parent2e9f7a7408d264f01d4477c564ef5c6b610cd10f
tg3: Clarify semantics of TG3_IRQ_MAX_VECS

TG3_IRQ_MAX_VECS should be seen as the maximum number of vectors that
any device could be expected to use.  tp->irq_max represents the maximum
number of vectors the current device can use.  This patch clarifies the
semantics of the code to match the above description.

Reviewed-by: Benjamin Li <benli@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c
drivers/net/tg3.h