aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/net_driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/sfc/net_driver.h')
-rw-r--r--drivers/net/sfc/net_driver.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/drivers/net/sfc/net_driver.h b/drivers/net/sfc/net_driver.h
index 6b05d69429ee..e1df589dff60 100644
--- a/drivers/net/sfc/net_driver.h
+++ b/drivers/net/sfc/net_driver.h
@@ -399,11 +399,11 @@ enum efx_led_mode {
399 * @type: Board model type 399 * @type: Board model type
400 * @major: Major rev. ('A', 'B' ...) 400 * @major: Major rev. ('A', 'B' ...)
401 * @minor: Minor rev. (0, 1, ...) 401 * @minor: Minor rev. (0, 1, ...)
402 * @init: Initialisation function 402 * @init: Allocate resources and initialise peripheral hardware
403 * @init_leds: Sets up board LEDs. May be called repeatedly. 403 * @init_phy: Do board-specific PHY initialisation
404 * @set_id_led: Set state of identifying LED or revert to automatic function 404 * @set_id_led: Set state of identifying LED or revert to automatic function
405 * @monitor: Board-specific health check function 405 * @monitor: Board-specific health check function
406 * @fini: Cleanup function 406 * @fini: Shut down hardware and free resources
407 * @hwmon_client: I2C client for hardware monitor 407 * @hwmon_client: I2C client for hardware monitor
408 * @ioexp_client: I2C client for power/port control 408 * @ioexp_client: I2C client for power/port control
409 */ 409 */
@@ -412,10 +412,7 @@ struct efx_board {
412 int major; 412 int major;
413 int minor; 413 int minor;
414 int (*init) (struct efx_nic *nic); 414 int (*init) (struct efx_nic *nic);
415 /* As the LEDs are typically attached to the PHY, LEDs 415 void (*init_phy) (struct efx_nic *efx);
416 * have a separate init callback that happens later than
417 * board init. */
418 void (*init_leds)(struct efx_nic *efx);
419 void (*set_id_led) (struct efx_nic *efx, enum efx_led_mode mode); 416 void (*set_id_led) (struct efx_nic *efx, enum efx_led_mode mode);
420 int (*monitor) (struct efx_nic *nic); 417 int (*monitor) (struct efx_nic *nic);
421 void (*fini) (struct efx_nic *nic); 418 void (*fini) (struct efx_nic *nic);