]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
b4d72c08 EC |
2 | /* |
3 | * Copyright IBM Corp. 2013 | |
4 | * Author(s): Eugene Crosser <eugene.crosser@ru.ibm.com> | |
5 | */ | |
6 | ||
7 | #ifndef __QETH_L2_H__ | |
8 | #define __QETH_L2_H__ | |
9 | ||
10 | #include "qeth_core.h" | |
11 | ||
2d2ebb3e JW |
12 | extern const struct attribute_group *qeth_l2_attr_groups[]; |
13 | ||
b4d72c08 EC |
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); | |
17 | ||
5f78e29c LD |
18 | struct qeth_mac { |
19 | u8 mac_addr[OSA_ADDR_LEN]; | |
20 | u8 is_uc:1; | |
21 | u8 disp_flag:2; | |
22 | struct hlist_node hnode; | |
23 | }; | |
24 | ||
b4d72c08 | 25 | #endif /* __QETH_L2_H__ */ |