lkml.org 
[lkml]   [2010]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 06/11] Removing dead ETRAX_RS485_LTC1387
    ETRAX_RS485_LTC1387 doesn't exist in Kconfig, therefore removing all
    references for it from the source code.

    Signed-off-by: Christoph Egger <siccegge@cs.fau.de>
    ---
    drivers/serial/crisv10.c | 12 ------------
    1 files changed, 0 insertions(+), 12 deletions(-)

    diff --git a/drivers/serial/crisv10.c b/drivers/serial/crisv10.c
    index 426fed8..84e5357 100644
    --- a/drivers/serial/crisv10.c
    +++ b/drivers/serial/crisv10.c
    @@ -1393,12 +1393,6 @@ e100_enable_rs485(struct tty_struct *tty, struct serial_rs485 *r)
    #if defined(CONFIG_ETRAX_RS485_ON_PA)
    *R_PORT_PA_DATA = port_pa_data_shadow |= (1 << rs485_pa_bit);
    #endif
    -#if defined(CONFIG_ETRAX_RS485_LTC1387)
    - REG_SHADOW_SET(R_PORT_G_DATA, port_g_data_shadow,
    - CONFIG_ETRAX_RS485_LTC1387_DXEN_PORT_G_BIT, 1);
    - REG_SHADOW_SET(R_PORT_G_DATA, port_g_data_shadow,
    - CONFIG_ETRAX_RS485_LTC1387_RXEN_PORT_G_BIT, 1);
    -#endif

    info->rs485.flags = r->flags;
    if (r->delay_rts_before_send >= 1000)
    @@ -3860,12 +3854,6 @@ rs_close(struct tty_struct *tty, struct file * filp)
    #if defined(CONFIG_ETRAX_RS485_ON_PA)
    *R_PORT_PA_DATA = port_pa_data_shadow &= ~(1 << rs485_pa_bit);
    #endif
    -#if defined(CONFIG_ETRAX_RS485_LTC1387)
    - REG_SHADOW_SET(R_PORT_G_DATA, port_g_data_shadow,
    - CONFIG_ETRAX_RS485_LTC1387_DXEN_PORT_G_BIT, 0);
    - REG_SHADOW_SET(R_PORT_G_DATA, port_g_data_shadow,
    - CONFIG_ETRAX_RS485_LTC1387_RXEN_PORT_G_BIT, 0);
    -#endif
    }
    #endif

    --
    1.7.0.4


    \
     
     \ /
      Last update: 2010-07-09 15:53    [W:0.042 / U:59.068 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site