xgbe.h (732f2ab7afb975755dcfbdcbe6eafe42e8cdc1d4) | xgbe.h (d7445d1f0506fe26a877fac8dcdff7f4eff1328e) |
---|---|
1/* 2 * AMD 10Gb Ethernet driver 3 * 4 * This file is available to you under your choice of the following two 5 * licenses: 6 * 7 * License 1: GPLv2 8 * --- 494 unchanged lines hidden (view full) --- 503 504enum xgbe_xpcs_access { 505 XGBE_XPCS_ACCESS_V1 = 0, 506 XGBE_XPCS_ACCESS_V2, 507}; 508 509enum xgbe_an_mode { 510 XGBE_AN_MODE_CL73 = 0, | 1/* 2 * AMD 10Gb Ethernet driver 3 * 4 * This file is available to you under your choice of the following two 5 * licenses: 6 * 7 * License 1: GPLv2 8 * --- 494 unchanged lines hidden (view full) --- 503 504enum xgbe_xpcs_access { 505 XGBE_XPCS_ACCESS_V1 = 0, 506 XGBE_XPCS_ACCESS_V2, 507}; 508 509enum xgbe_an_mode { 510 XGBE_AN_MODE_CL73 = 0, |
511 XGBE_AN_MODE_CL73_REDRV, |
|
511 XGBE_AN_MODE_CL37, 512 XGBE_AN_MODE_CL37_SGMII, 513 XGBE_AN_MODE_NONE, 514}; 515 516enum xgbe_an { 517 XGBE_AN_READY = 0, 518 XGBE_AN_PAGE_RECEIVED, --- 283 unchanged lines hidden (view full) --- 802 enum xgbe_mode (*cur_mode)(struct xgbe_prv_data *); 803 804 /* Retrieve current auto-negotiation mode */ 805 enum xgbe_an_mode (*an_mode)(struct xgbe_prv_data *); 806 807 /* Configure auto-negotiation settings */ 808 int (*an_config)(struct xgbe_prv_data *); 809 | 512 XGBE_AN_MODE_CL37, 513 XGBE_AN_MODE_CL37_SGMII, 514 XGBE_AN_MODE_NONE, 515}; 516 517enum xgbe_an { 518 XGBE_AN_READY = 0, 519 XGBE_AN_PAGE_RECEIVED, --- 283 unchanged lines hidden (view full) --- 803 enum xgbe_mode (*cur_mode)(struct xgbe_prv_data *); 804 805 /* Retrieve current auto-negotiation mode */ 806 enum xgbe_an_mode (*an_mode)(struct xgbe_prv_data *); 807 808 /* Configure auto-negotiation settings */ 809 int (*an_config)(struct xgbe_prv_data *); 810 |
811 /* Set/override auto-negotiation advertisement settings */ 812 unsigned int (*an_advertising)(struct xgbe_prv_data *); 813 |
|
810 /* Process results of auto-negotiation */ 811 enum xgbe_mode (*an_outcome)(struct xgbe_prv_data *); 812 813 /* Pre/Post KR training enablement support */ 814 void (*kr_training_pre)(struct xgbe_prv_data *); 815 void (*kr_training_post)(struct xgbe_prv_data *); 816}; 817 --- 301 unchanged lines hidden (view full) --- 1119 /* MDIO/PHY related settings */ 1120 unsigned int phy_started; 1121 void *phy_data; 1122 struct xgbe_phy phy; 1123 int mdio_mmd; 1124 unsigned long link_check; 1125 struct completion mdio_complete; 1126 | 814 /* Process results of auto-negotiation */ 815 enum xgbe_mode (*an_outcome)(struct xgbe_prv_data *); 816 817 /* Pre/Post KR training enablement support */ 818 void (*kr_training_pre)(struct xgbe_prv_data *); 819 void (*kr_training_post)(struct xgbe_prv_data *); 820}; 821 --- 301 unchanged lines hidden (view full) --- 1123 /* MDIO/PHY related settings */ 1124 unsigned int phy_started; 1125 void *phy_data; 1126 struct xgbe_phy phy; 1127 int mdio_mmd; 1128 unsigned long link_check; 1129 struct completion mdio_complete; 1130 |
1131 unsigned int kr_redrv; 1132 |
|
1127 char an_name[IFNAMSIZ + 32]; 1128 struct workqueue_struct *an_workqueue; 1129 1130 int an_irq; 1131 struct work_struct an_irq_work; 1132 1133 /* Auto-negotiation state machine support */ 1134 unsigned int an_int; --- 106 unchanged lines hidden --- | 1133 char an_name[IFNAMSIZ + 32]; 1134 struct workqueue_struct *an_workqueue; 1135 1136 int an_irq; 1137 struct work_struct an_irq_work; 1138 1139 /* Auto-negotiation state machine support */ 1140 unsigned int an_int; --- 106 unchanged lines hidden --- |