]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb11cbfafa8f99e3d998485e7bf37d9a7adcb0b0b
treeba92bcc5bea24cdfc04709548f350baaf0abd6fb
parentf649b4ad9c4af31a53fb613d5fdede876f874f68
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