commit | 40e4fe4ce115c409c3e2fbb247085103ef1cc755 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Thu Apr 25 15:59:45 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri Apr 26 01:52:02 2019 -0400 |
tree | bad9c42265ee5187263de8c2a118c2def41fe7d7 | |
parent | 925f5afedb93f7c80958c6bf7ce6cc31542076dc [diff] |
netdevsim: move device registration and related code to bus.c Move netdevsim device registration into bus.c and alongside with that the related sysfs attributes. Introduce new struct nsim_bus_dev to represent a netdevsim device on netdevsim bus. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>