commit | 7fabca4d9183a449676648b93307e29299595866 | [log] [tgz] |
---|---|---|
author | Mark Einon <mark.einon@gmail.com> | Sun Sep 25 19:17:55 2011 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Mon Sep 26 17:39:16 2011 -0700 |
tree | de9aa3e146070c25ae25051bc7f28cbb0214c86b | |
parent | 268420aa840ce6d5c18035ce6d7ebc4244b2cb1f [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>