devices/e1000/e1000_hw-2.6.28-ethercat.c
branchstable-1.5
changeset 2583 fe5687a0a322
parent 2051 3a066ec73fb2
equal deleted inserted replaced
2582:87e502828b3f 2583:fe5687a0a322
    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);