aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/igb/e1000_hw.h
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2009-02-06 18:17:26 -0500
committerDavid S. Miller <davem@davemloft.net>2009-02-07 05:43:05 -0500
commita8d2a0c27f84bdbf54b7e1c1a52ef7b8b7196dbc (patch)
tree0c1a666348dd94797740a0788a025764a303f54e /drivers/net/igb/e1000_hw.h
parent40a70b3889ea50daa10a7f3468920c1f5483155d (diff)
igb: rename phy ops
This patch renames write_phy_reg to write_reg and read_phy_reg to read_reg. It seems redundant to call out phy in an operation that is part of the phy_ops struct. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/igb/e1000_hw.h')
-rw-r--r--drivers/net/igb/e1000_hw.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/igb/e1000_hw.h b/drivers/net/igb/e1000_hw.h
index 06f72ae6a2c2..5acb8497cd64 100644
--- a/drivers/net/igb/e1000_hw.h
+++ b/drivers/net/igb/e1000_hw.h
@@ -422,18 +422,18 @@ struct e1000_mac_operations {
422}; 422};
423 423
424struct e1000_phy_operations { 424struct e1000_phy_operations {
425 s32 (*acquire_phy)(struct e1000_hw *); 425 s32 (*acquire)(struct e1000_hw *);
426 s32 (*check_reset_block)(struct e1000_hw *); 426 s32 (*check_reset_block)(struct e1000_hw *);
427 s32 (*force_speed_duplex)(struct e1000_hw *); 427 s32 (*force_speed_duplex)(struct e1000_hw *);
428 s32 (*get_cfg_done)(struct e1000_hw *hw); 428 s32 (*get_cfg_done)(struct e1000_hw *hw);
429 s32 (*get_cable_length)(struct e1000_hw *); 429 s32 (*get_cable_length)(struct e1000_hw *);
430 s32 (*get_phy_info)(struct e1000_hw *); 430 s32 (*get_phy_info)(struct e1000_hw *);
431 s32 (*read_phy_reg)(struct e1000_hw *, u32, u16 *); 431 s32 (*read_reg)(struct e1000_hw *, u32, u16 *);
432 void (*release_phy)(struct e1000_hw *); 432 void (*release)(struct e1000_hw *);
433 s32 (*reset_phy)(struct e1000_hw *); 433 s32 (*reset)(struct e1000_hw *);
434 s32 (*set_d0_lplu_state)(struct e1000_hw *, bool); 434 s32 (*set_d0_lplu_state)(struct e1000_hw *, bool);
435 s32 (*set_d3_lplu_state)(struct e1000_hw *, bool); 435 s32 (*set_d3_lplu_state)(struct e1000_hw *, bool);
436 s32 (*write_phy_reg)(struct e1000_hw *, u32, u16); 436 s32 (*write_reg)(struct e1000_hw *, u32, u16);
437}; 437};
438 438
439struct e1000_nvm_operations { 439struct e1000_nvm_operations {