diff options
author | Bart Van Assche <bvanassche@acm.org> | 2011-06-18 16:35:42 +0000 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2011-07-18 16:44:30 -0700 |
commit | 10e1b54bbb51ac134c51996022f3bd10579fbd3b (patch) | |
tree | 6b535275efbefb7f32d6bec89c21a05a902f655d /drivers/net/bnx2x/bnx2x_ethtool.c | |
parent | 620917de59eeb934b9f8cf35cc2d95c1ac8ed0fc (diff) |
RDMA: Allow for NULL .modify_device() and .modify_port() methods
These methods don't make sense for iWARP devices, so rather than
forcing them to implement stubs, just return -ENOSYS in the core if
the hardware driver doesn't set .modify_device and/or .modify_port.
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/net/bnx2x/bnx2x_ethtool.c')
0 files changed, 0 insertions, 0 deletions