xref: /openbmc/linux/drivers/s390/net/qeth_l2.h (revision 6aa7de05)
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 
11 extern const struct attribute_group *qeth_l2_attr_groups[];
12 
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 
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 
24 #endif /* __QETH_L2_H__ */
25