tg3: Add common function tg3_ape_event_lock()
authorMatt Carlson <mcarlson@broadcom.com>
Mon, 16 Jul 2012 16:24:00 +0000 (16:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Jul 2012 06:10:30 +0000 (23:10 -0700)
commitb65a372bbc74924b0ce564a3338d9e139367bd3d
tree0f18012c05fd76c1c2be0072eb2f4d8b48544a23
parent165f4d1cb3d7a10c5bc8c0fdae63323354f5a225
tg3: Add common function tg3_ape_event_lock()

by refactoring code in tg3_ape_send_event().  The common function will
be used in subsequent patches.

Signed-off-by: Matt Carlson <mcarlson@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