|
|
@@ -201,6 +201,12 @@ struct qeth_vnicc_info {
|
|
|
bool rx_bcast_enabled;
|
|
|
};
|
|
|
|
|
|
+static inline int qeth_is_adp_supported(struct qeth_ipa_info *ipa,
|
|
|
+ enum qeth_ipa_setadp_cmd func)
|
|
|
+{
|
|
|
+ return (ipa->supported_funcs & func);
|
|
|
+}
|
|
|
+
|
|
|
static inline int qeth_is_ipa_supported(struct qeth_ipa_info *ipa,
|
|
|
enum qeth_ipa_funcs func)
|
|
|
{
|
|
|
@@ -214,9 +220,7 @@ static inline int qeth_is_ipa_enabled(struct qeth_ipa_info *ipa,
|
|
|
}
|
|
|
|
|
|
#define qeth_adp_supported(c, f) \
|
|
|
- qeth_is_ipa_supported(&c->options.adp, f)
|
|
|
-#define qeth_adp_enabled(c, f) \
|
|
|
- qeth_is_ipa_enabled(&c->options.adp, f)
|
|
|
+ qeth_is_adp_supported(&c->options.adp, f)
|
|
|
#define qeth_is_supported(c, f) \
|
|
|
qeth_is_ipa_supported(&c->options.ipa4, f)
|
|
|
#define qeth_is_enabled(c, f) \
|