tg3: Refactor tg3_close()
authorMichael Chan <mchan@broadcom.com>
Fri, 28 Sep 2012 07:12:41 +0000 (07:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 30 Sep 2012 06:10:35 +0000 (02:10 -0400)
commit6513859479b0fe1232cddd100db269191c1691e1
tree87f847d79b9b0912b890cb105ce251ccbe9d65c8
parentd8f4cd3880eff5a382ca6771062e91b58b2955db
tg3: Refactor tg3_close()

by introducing tg3_stop() that does the opposite of tg3_start().  This
function will be useful when adding the support for changing the numbe
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