• Alex Elder's avatar
    net: ipa: identify resource groups · 47f71d6e
    Alex Elder authored
    Define a new ipa_resource_group_id enumerated type, whose members
    have numeric values that match the resource group number used when
    programming the hardware.  Each platform supports a different number
    of source and destination resource groups, so define the type
    separately for each platform in its configuration data file.
    
    Use these new symbolic values when specifying the resource group an
    endpoint is associated with.  And use them to index the limits
    arrays for source and destination resources, making it clearer how
    these values are used.
    Signed-off-by: default avatarAlex Elder <elder@linaro.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    47f71d6e
ipa_data-sc7180.c 7.46 KB