Eugene Crosser | b4d72c0 | 2014-01-14 15:54:11 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright IBM Corp. 2013 |
| 3 | * Author(s): Eugene Crosser <eugene.crosser@ru.ibm.com> |
| 4 | */ |
| 5 | |
| 6 | #ifndef __QETH_L2_H__ |
| 7 | #define __QETH_L2_H__ |
| 8 | |
| 9 | #include "qeth_core.h" |
| 10 | |
Julian Wiedmann | 2d2ebb3 | 2017-05-10 19:07:52 +0200 | [diff] [blame] | 11 | extern const struct attribute_group *qeth_l2_attr_groups[]; |
| 12 | |
Eugene Crosser | b4d72c0 | 2014-01-14 15:54:11 +0100 | [diff] [blame] | 13 | int qeth_l2_create_device_attributes(struct device *); |
| 14 | void qeth_l2_remove_device_attributes(struct device *); |
| 15 | void qeth_l2_setup_bridgeport_attrs(struct qeth_card *card); |
| 16 | |
Lakhvich Dmitriy | 5f78e29 | 2016-06-16 16:18:58 +0200 | [diff] [blame] | 17 | struct qeth_mac { |
| 18 | u8 mac_addr[OSA_ADDR_LEN]; |
| 19 | u8 is_uc:1; |
| 20 | u8 disp_flag:2; |
| 21 | struct hlist_node hnode; |
| 22 | }; |
| 23 | |
Eugene Crosser | b4d72c0 | 2014-01-14 15:54:11 +0100 | [diff] [blame] | 24 | #endif /* __QETH_L2_H__ */ |