lkml.org 
[lkml]   [2011]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 2/6] staging: et131x: Add link status to adapter struct
    Date
    This will be used to determine if the link state has changed when the phydev
    informs the et131x that a change has occurred (in et131x_adjust_link)

    Signed-off-by: Mark Einon <mark.einon@gmail.com>
    ---
    drivers/staging/et131x/et131x_adapter.h | 3 +++
    1 files changed, 3 insertions(+), 0 deletions(-)

    diff --git a/drivers/staging/et131x/et131x_adapter.h b/drivers/staging/et131x/et131x_adapter.h
    index 78f2894..fabc2c5 100644
    --- a/drivers/staging/et131x/et131x_adapter.h
    +++ b/drivers/staging/et131x/et131x_adapter.h
    @@ -147,6 +147,9 @@ struct et131x_adapter {
    /* Flags that indicate current state of the adapter */
    u32 flags;

    + /* local link state, to determine if a state change has occurred */
    + int link;
    +
    /* Configuration */
    u8 rom_addr[ETH_ALEN];
    u8 addr[ETH_ALEN];
    --
    1.7.6


    \
     
     \ /
      Last update: 2011-09-25 20:23    [W:0.020 / U:0.908 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site