devices/e1000/e1000_hw-2.6.28-ethercat.c
changeset 2589 2b9c78543663
parent 2051 3a066ec73fb2
equal deleted inserted replaced
2415:af21f0bdc7c9 2589:2b9c78543663
    29 /* e1000_hw.c
    29 /* e1000_hw.c
    30  * Shared functions for accessing and configuring the MAC
    30  * Shared functions for accessing and configuring the MAC
    31  */
    31  */
    32 
    32 
    33 
    33 
    34 #include "e1000_hw-2.6.27-ethercat.h"
    34 #include "e1000_hw-2.6.28-ethercat.h"
    35 
    35 
    36 static s32 e1000_swfw_sync_acquire(struct e1000_hw *hw, u16 mask);
    36 static s32 e1000_swfw_sync_acquire(struct e1000_hw *hw, u16 mask);
    37 static void e1000_swfw_sync_release(struct e1000_hw *hw, u16 mask);
    37 static void e1000_swfw_sync_release(struct e1000_hw *hw, u16 mask);
    38 static s32 e1000_read_kmrn_reg(struct e1000_hw *hw, u32 reg_addr, u16 *data);
    38 static s32 e1000_read_kmrn_reg(struct e1000_hw *hw, u32 reg_addr, u16 *data);
    39 static s32 e1000_write_kmrn_reg(struct e1000_hw *hw, u32 reg_addr, u16 data);
    39 static s32 e1000_write_kmrn_reg(struct e1000_hw *hw, u32 reg_addr, u16 data);