• Evgeniy Polyakov's avatar
    [PATCH] w1: reconnect feature. · 6adf87bd
    Evgeniy Polyakov authored
    I've created reconnect feature - if on start there are no registered families
    all new devices will have defailt family, later when driver for appropriate
    family is loaded, slaves, which were faound earlier, will still have defult
    family instead of right one. Reconnect feature will force control thread to run
    through all master devices and all slaves found and search for slaves with
    default family id and try to reconnect them.
    
    It does not store newly registered family and does not check only those slaves
    which have reg_num.family the same as being registered one - all slaves with
    default family are reconnected.
    Signed-off-by: default avatarEvgeniy Polyakov <johnpol@2ka.mipt.ru>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    6adf87bd
ds_w1_bridge.c 3.8 KB