aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/et131x/et131x.h
diff options
context:
space:
mode:
authorMark Einon <mark.einon@gmail.com>2011-09-25 19:17:55 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-09-26 17:39:16 -0700
commit7fabca4d9183a449676648b93307e29299595866 (patch)
treede9aa3e146070c25ae25051bc7f28cbb0214c86b /drivers/staging/et131x/et131x.h
parent268420aa840ce6d5c18035ce6d7ebc4244b2cb1f (diff)
staging: et131x: Create et131x_[dis|en]able_txrx() calls
In et131x_netdev.c, a series of calls to enable and diasble the rx/tx engine and queue are being used in several different places. Create two functions to encapsulate these calls, and replace many calls with just the one. Signed-off-by: Mark Einon <mark.einon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/et131x/et131x.h')
-rw-r--r--drivers/staging/et131x/et131x.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/et131x/et131x.h b/drivers/staging/et131x/et131x.h
index f52fa182987..6f8fef61244 100644
--- a/drivers/staging/et131x/et131x.h
+++ b/drivers/staging/et131x/et131x.h
@@ -83,6 +83,8 @@ void et1310_setup_device_for_unicast(struct et131x_adapter *adapter);
/* et131x_netdev.c */
struct net_device *et131x_device_alloc(void);
+void et131x_enable_txrx(struct net_device *netdev);
+void et131x_disable_txrx(struct net_device *netdev);
/* et1310_pm.c */
void et1310_enable_phy_coma(struct et131x_adapter *adapter);