• Ben Hutchings's avatar
    sfc: Only bind to EF10 functions with the LinkCtrl and Trusted flags · ecb1c9cc
    Ben Hutchings authored
    Although we do not yet enable multiple PFs per port, it is possible
    that a board will be reconfigured to enable them while the driver has
    not yet been updated to fully support this.
    
    The most obvious problem is that multiple functions may try to set
    conflicting link settings.  But we will also run into trouble if the
    firmware doesn't consider us fully trusted.  So, abort probing unless
    both the LinkCtrl and Trusted flags are set for this function.
    Signed-off-by: default avatarBen Hutchings <bhutchings@solarflare.com>
    ecb1c9cc
mcdi.c 45.2 KB