2014-01-14 22:54:11 +08:00
|
|
|
/*
|
|
|
|
* Copyright IBM Corp. 2013
|
|
|
|
* Author(s): Eugene Crosser <eugene.crosser@ru.ibm.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __QETH_L2_H__
|
|
|
|
#define __QETH_L2_H__
|
|
|
|
|
|
|
|
#include "qeth_core.h"
|
|
|
|
|
2017-05-11 01:07:52 +08:00
|
|
|
extern const struct attribute_group *qeth_l2_attr_groups[];
|
|
|
|
|
2014-01-14 22:54:11 +08:00
|
|
|
int qeth_l2_create_device_attributes(struct device *);
|
|
|
|
void qeth_l2_remove_device_attributes(struct device *);
|
|
|
|
void qeth_l2_setup_bridgeport_attrs(struct qeth_card *card);
|
|
|
|
|
2016-06-16 22:18:58 +08:00
|
|
|
struct qeth_mac {
|
|
|
|
u8 mac_addr[OSA_ADDR_LEN];
|
|
|
|
u8 is_uc:1;
|
|
|
|
u8 disp_flag:2;
|
|
|
|
struct hlist_node hnode;
|
|
|
|
};
|
|
|
|
|
2014-01-14 22:54:11 +08:00
|
|
|
#endif /* __QETH_L2_H__ */
|