]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4: move the choice of interrupt type before net_device registration
authorDimitris Michailidis <dm@chelsio.com>
Sun, 11 Jul 2010 12:01:15 +0000 (12:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Jul 2010 00:07:45 +0000 (17:07 -0700)
commite86e42c6a83f3a34e9389ed5b2f01b817a5430ee
treecb25ebf487a101850d28ff8f855e69ebbe08c41d
parent412d2587e3e9c09cb8d93984e439c67bd78d123b
cxgb4: move the choice of interrupt type before net_device registration

We need to settle on the kind of interrupts we'll be using, a choice that
also impacts the number of queues, before registering and making visible
the net_devices.  Move the relevant code up a bit.

Signed-off-by: Dimitris Michailidis <dm@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cxgb4/cxgb4_main.c