• B
    sfc: Associate primary and secondary functions of controller · 0bcf4a64
    Ben Hutchings 提交于
    The primary function of an EF10 controller will share its clock
    device with other functions in the same domain (which we call
    secondary functions).  To this end, we need to associate functions
    on the same controller.
    
    We do not control probe order, so allow primary and secondary
    functions to appear in any order.  Maintain global lists of all
    primary functions and of unassociated secondary functions,
    and a list of secondary functions on each primary function.
    
    Use the VPD serial number to tell whether functions are part of the
    same controller.  VPD will not be readable by virtual functions, so
    this may need to be revisited later.
    Signed-off-by: NBen Hutchings <bhutchings@solarflare.com>
    0bcf4a64
mcdi.c 49.2 KB