qeth_l2.h 535 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright IBM Corp. 2013
  3. * Author(s): Eugene Crosser <eugene.crosser@ru.ibm.com>
  4. */
  5. #ifndef __QETH_L2_H__
  6. #define __QETH_L2_H__
  7. #include "qeth_core.h"
  8. extern const struct attribute_group *qeth_l2_attr_groups[];
  9. int qeth_l2_create_device_attributes(struct device *);
  10. void qeth_l2_remove_device_attributes(struct device *);
  11. void qeth_l2_setup_bridgeport_attrs(struct qeth_card *card);
  12. struct qeth_mac {
  13. u8 mac_addr[OSA_ADDR_LEN];
  14. u8 is_uc:1;
  15. u8 disp_flag:2;
  16. struct hlist_node hnode;
  17. };
  18. #endif /* __QETH_L2_H__ */