• Alex Elder's avatar
    net: ipa: define BCR values using an enum · 21ab2078
    Alex Elder authored
    The backward compatibility register (BCR) has a set of bit flags
    that indicate ways in which the IPA hardware should operate in a
    backward compatible way.  The register is not supported starting
    with IPA v4.5, and where it is supported, defined bits all have the
    same numeric value.
    
    Redefine these flags using an enumerated type, with each member's
    value representing the bit position that encodes it in the BCR.
    This replaces all of the single-bit field masks previously defined.
    Signed-off-by: default avatarAlex Elder <elder@linaro.org>
    Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
    21ab2078
ipa_data-v3.5.1.c 9.58 KB