2 * Copyright (c) 2014-2015 Hisilicon Limited.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
13 #include "hns_dsaf_mac.h"
25 GMAC_10000M_SGMII /* 10GE */
28 enum hns_gmac_duplex_mdoe {
29 GMAC_HALF_DUPLEX_MODE = 0,
33 struct hns_gmac_port_mode_cfg {
34 enum hns_port_mode port_mode;
39 u32 an_enable; /*auto-nego enable */
44 #define ETH_GMAC_DUMP_NUM 96
45 #endif /* __HNS_GMAC_H__ */