diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2009-11-13 13:03:42 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-16 06:14:45 (GMT) |
commit | 78f90dcf184b8225a24217605c4289f1986451a3 (patch) | |
tree | ee0559bf41211975701c8f2cc310ef8ec7303fe2 /drivers/net/sgiseeq.c | |
parent | 35f2d7d0d7c222a580da0ed91c8d70c54267620a (diff) | |
download | linux-78f90dcf184b8225a24217605c4289f1986451a3.tar.xz |
tg3: Move napi_add calls below tg3_get_invariants
tg3_get_invariants(), among other things, discovers whether or not
the device is MSI-X capable and how many interrupts it supports.
This discovery needs to happen before registering NAPI instances with
netdev. This patch moves the code block that calls napi_add later in
tg3_init_one() so that tg3_get_invariants() has a chance to run first.
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sgiseeq.c')
0 files changed, 0 insertions, 0 deletions