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)
commitf7cabcdd51480282b58c09e5fe1c4835aaf98a66
treecb25ebf487a101850d28ff8f855e69ebbe08c41d
parent98e32a9ceea8e3a0cd6ea89c9ce8e09a74b03b78
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