tg3: Refactor tg3_open()
authorMichael Chan <mchan@broadcom.com>
Fri, 28 Sep 2012 07:12:40 +0000 (07:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 30 Sep 2012 06:10:35 +0000 (02:10 -0400)
commitd8f4cd3880eff5a382ca6771062e91b58b2955db
treeba92bcc5bea24cdfc04709548f350baaf0abd6fb
parenta489b6d999547799b789ad0683f867d3ae5ed128
tg3: Refactor tg3_open()

by introducing tg3_start() that handles all initialization steps from
IRQ allocation.  This function will be needed when adding support for
changing the number of rx and tx rings.

Reviewed-by: Nithin Nayak Sujir <nsujir@broadcom.com>
Reviewed-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/tg3.c