1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright IBM Corp. 2013
4 * Author(s): Eugene Crosser <eugene.crosser@ru.ibm.com>
10 #include "qeth_core.h"
12 extern const struct attribute_group
*qeth_l2_attr_groups
[];
14 int qeth_l2_create_device_attributes(struct device
*);
15 void qeth_l2_remove_device_attributes(struct device
*);
16 void qeth_l2_setup_bridgeport_attrs(struct qeth_card
*card
);
18 int qeth_l2_vnicc_set_state(struct qeth_card
*card
, u32 vnicc
, bool state
);
19 int qeth_l2_vnicc_get_state(struct qeth_card
*card
, u32 vnicc
, bool *state
);
20 int qeth_l2_vnicc_set_timeout(struct qeth_card
*card
, u32 timeout
);
21 int qeth_l2_vnicc_get_timeout(struct qeth_card
*card
, u32
*timeout
);
22 bool qeth_l2_vnicc_is_in_use(struct qeth_card
*card
);
25 u8 mac_addr
[ETH_ALEN
];
27 struct hlist_node hnode
;
30 #endif /* __QETH_L2_H__ */