diff options
Diffstat (limited to 'drivers/net/sfc/phy.h')
-rw-r--r-- | drivers/net/sfc/phy.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/sfc/phy.h b/drivers/net/sfc/phy.h index b3b79472421..11d148cd844 100644 --- a/drivers/net/sfc/phy.h +++ b/drivers/net/sfc/phy.h | |||
@@ -13,14 +13,14 @@ | |||
13 | /**************************************************************************** | 13 | /**************************************************************************** |
14 | * 10Xpress (SFX7101) PHY | 14 | * 10Xpress (SFX7101) PHY |
15 | */ | 15 | */ |
16 | extern struct efx_phy_operations falcon_sfx7101_phy_ops; | 16 | extern const struct efx_phy_operations falcon_sfx7101_phy_ops; |
17 | 17 | ||
18 | extern void tenxpress_set_id_led(struct efx_nic *efx, enum efx_led_mode mode); | 18 | extern void tenxpress_set_id_led(struct efx_nic *efx, enum efx_led_mode mode); |
19 | 19 | ||
20 | /**************************************************************************** | 20 | /**************************************************************************** |
21 | * AMCC/Quake QT202x PHYs | 21 | * AMCC/Quake QT202x PHYs |
22 | */ | 22 | */ |
23 | extern struct efx_phy_operations falcon_qt202x_phy_ops; | 23 | extern const struct efx_phy_operations falcon_qt202x_phy_ops; |
24 | 24 | ||
25 | /* These PHYs provide various H/W control states for LEDs */ | 25 | /* These PHYs provide various H/W control states for LEDs */ |
26 | #define QUAKE_LED_LINK_INVAL (0) | 26 | #define QUAKE_LED_LINK_INVAL (0) |
@@ -39,7 +39,7 @@ extern void falcon_qt202x_set_led(struct efx_nic *p, int led, int state); | |||
39 | /**************************************************************************** | 39 | /**************************************************************************** |
40 | * Transwitch CX4 retimer | 40 | * Transwitch CX4 retimer |
41 | */ | 41 | */ |
42 | extern struct efx_phy_operations falcon_txc_phy_ops; | 42 | extern const struct efx_phy_operations falcon_txc_phy_ops; |
43 | 43 | ||
44 | #define TXC_GPIO_DIR_INPUT 0 | 44 | #define TXC_GPIO_DIR_INPUT 0 |
45 | #define TXC_GPIO_DIR_OUTPUT 1 | 45 | #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); | |||
50 | /**************************************************************************** | 50 | /**************************************************************************** |
51 | * Siena managed PHYs | 51 | * Siena managed PHYs |
52 | */ | 52 | */ |
53 | extern struct efx_phy_operations efx_mcdi_phy_ops; | 53 | extern const struct efx_phy_operations efx_mcdi_phy_ops; |
54 | 54 | ||
55 | extern int efx_mcdi_mdio_read(struct efx_nic *efx, unsigned int bus, | 55 | extern int efx_mcdi_mdio_read(struct efx_nic *efx, unsigned int bus, |
56 | unsigned int prtad, unsigned int devad, | 56 | unsigned int prtad, unsigned int devad, |