blob: 0d59f9a45ea9e3c52ba4eee9cbc7b37b433dd449 [file] [log] [blame]
Eugene Crosserb4d72c02014-01-14 15:54:11 +01001/*
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 Wiedmann2d2ebb32017-05-10 19:07:52 +020011extern const struct attribute_group *qeth_l2_attr_groups[];
12
Eugene Crosserb4d72c02014-01-14 15:54:11 +010013int qeth_l2_create_device_attributes(struct device *);
14void qeth_l2_remove_device_attributes(struct device *);
15void qeth_l2_setup_bridgeport_attrs(struct qeth_card *card);
16
Lakhvich Dmitriy5f78e292016-06-16 16:18:58 +020017struct 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 Crosserb4d72c02014-01-14 15:54:11 +010024#endif /* __QETH_L2_H__ */