|
@@ -13,14 +13,14 @@
|
|
/****************************************************************************
|
|
/****************************************************************************
|
|
* 10Xpress (SFX7101) PHY
|
|
* 10Xpress (SFX7101) PHY
|
|
*/
|
|
*/
|
|
-extern struct efx_phy_operations falcon_sfx7101_phy_ops;
|
|
|
|
|
|
+extern const struct efx_phy_operations falcon_sfx7101_phy_ops;
|
|
|
|
|
|
extern void tenxpress_set_id_led(struct efx_nic *efx, enum efx_led_mode mode);
|
|
extern void tenxpress_set_id_led(struct efx_nic *efx, enum efx_led_mode mode);
|
|
|
|
|
|
/****************************************************************************
|
|
/****************************************************************************
|
|
* AMCC/Quake QT202x PHYs
|
|
* AMCC/Quake QT202x PHYs
|
|
*/
|
|
*/
|
|
-extern struct efx_phy_operations falcon_qt202x_phy_ops;
|
|
|
|
|
|
+extern const struct efx_phy_operations falcon_qt202x_phy_ops;
|
|
|
|
|
|
/* These PHYs provide various H/W control states for LEDs */
|
|
/* These PHYs provide various H/W control states for LEDs */
|
|
#define QUAKE_LED_LINK_INVAL (0)
|
|
#define QUAKE_LED_LINK_INVAL (0)
|
|
@@ -39,7 +39,7 @@ extern void falcon_qt202x_set_led(struct efx_nic *p, int led, int state);
|
|
/****************************************************************************
|
|
/****************************************************************************
|
|
* Transwitch CX4 retimer
|
|
* Transwitch CX4 retimer
|
|
*/
|
|
*/
|
|
-extern struct efx_phy_operations falcon_txc_phy_ops;
|
|
|
|
|
|
+extern const struct efx_phy_operations falcon_txc_phy_ops;
|
|
|
|
|
|
#define TXC_GPIO_DIR_INPUT 0
|
|
#define TXC_GPIO_DIR_INPUT 0
|
|
#define TXC_GPIO_DIR_OUTPUT 1
|
|
#define TXC_GPIO_DIR_OUTPUT 1
|
|
@@ -50,7 +50,7 @@ extern void falcon_txc_set_gpio_val(struct efx_nic *efx, int pin, int val);
|
|
/****************************************************************************
|
|
/****************************************************************************
|
|
* Siena managed PHYs
|
|
* Siena managed PHYs
|
|
*/
|
|
*/
|
|
-extern struct efx_phy_operations efx_mcdi_phy_ops;
|
|
|
|
|
|
+extern const struct efx_phy_operations efx_mcdi_phy_ops;
|
|
|
|
|
|
extern int efx_mcdi_mdio_read(struct efx_nic *efx, unsigned int bus,
|
|
extern int efx_mcdi_mdio_read(struct efx_nic *efx, unsigned int bus,
|
|
unsigned int prtad, unsigned int devad,
|
|
unsigned int prtad, unsigned int devad,
|