summaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorVadim Pasternak <vadimp@nvidia.com>2023-02-08 09:33:26 +0300
committerHans de Goede <hdegoede@redhat.com>2023-02-13 14:07:50 +0300
commit26e118ea98cf5ec0b53198e643d5fa8d99b73b49 (patch)
tree0032f53f2edcee55e08dc2923b7ee516a42220cc /include/linux/platform_data
parent233fd7e44cd7363ede8025619291b98475024c30 (diff)
downloadlinux-26e118ea98cf5ec0b53198e643d5fa8d99b73b49.tar.xz
platform/mellanox: mlxreg-hotplug: Allow more flexible hotplug events configuration
Currently hotplug configuration in logic device assumes that all items are provided with no holes. Thus, any group of hotplug events, associated with the specific status/event/mask registers is configured in those registers successively from bit zero to bit #n (#n < 8). This logic is changed int order to allow non-successive definition to support configuration with the skipped bits – for example bits 3, 5, 7 in status/event/mask registers can be associated with hotplug events, while others can be skipped. Signed-off-by: Vadim Pasternak <vadimp@nvidia.com> Reviewed-by: Michael Shych <michaelsh@nvidia.com> Link: https://lore.kernel.org/r/20230208063331.15560-10-vadimp@nvidia.com Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions