diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2011-10-29 02:33:30 +0100 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2011-11-01 16:50:58 +0000 |
commit | 37897ca86845ac9f8df16ca424477baa3ac8c389 (patch) | |
tree | 5152407cc257e06f5fa14b88bfcc5c1719da0d33 /ixgb.c | |
parent | 3393b8366dbfa7717e41072481d34a48a2f426b3 (diff) | |
download | ethtool-37897ca86845ac9f8df16ca424477baa3ac8c389.tar.gz |
Encapsulate command context in a structure
Replace the fd and ifr arguments to each sub-command handler with
struct cmd_context. Change send_ioctl() to take a pointer to
this context and a pointer to the ethtool_cmd or other structure.
Use send_ioctl() consistently.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'ixgb.c')
0 files changed, 0 insertions, 0 deletions