]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitddf8563ca745e8fd5c2c8799ec894a581043e333
tree1d6ee9a9b703ba22713f239cf0da35b3e6f5ad69
parent9f6a0b190ae0029de4c11377846642efa0acc4cb
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