diff options
author | Jiri Pirko <jiri@mellanox.com> | 2018-05-18 09:29:01 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-19 16:30:39 -0400 |
commit | 5ec1380a21bb6cd2ba89e31c44dfcc150f9ef792 (patch) | |
tree | 654c2744fe5672d8500e18998f787241a744f340 /drivers/spi/spi-dw-mmio.c | |
parent | b9ffcbaf56d3040efee64d3818688083c29b2a44 (diff) | |
download | linux-stable-5ec1380a21bb6cd2ba89e31c44dfcc150f9ef792.tar.gz linux-stable-5ec1380a21bb6cd2ba89e31c44dfcc150f9ef792.tar.bz2 linux-stable-5ec1380a21bb6cd2ba89e31c44dfcc150f9ef792.zip |
devlink: extend attrs_set for setting port flavours
Devlink ports can have specific flavour according to the purpose of use.
This patch extend attrs_set so the driver can say which flavour port
has. Initial flavours are:
physical, cpu, dsa
User can query this to see right away what is the purpose of each port.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/spi/spi-dw-mmio.c')
0 files changed, 0 insertions, 0 deletions