[Intel-wired-lan] virtual-bus[v5]: Implementation of Virtual Bus

Bowers, AndrewX andrewx.bowers at intel.com
Mon Jan 6 20:17:17 UTC 2020


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Ertman, David M
> Sent: Thursday, December 19, 2019 4:19 PM
> To: 'intel-wired-lan at lists.osuosl.org' <intel-wired-lan at lists.osuosl.org>; Patil,
> Kiran <kiran.patil at intel.com>; Kirsher, Jeffrey T
> <jeffrey.t.kirsher at intel.com>
> Subject: [Intel-wired-lan] virtual-bus[v5]: Implementation of Virtual Bus
> 
> virtual-bus[v5]: Implementation of Virtual Bus
> 
> From: Dave Ertman <david.m.ertman at intel.com>
> 
> This is the initial implementation of the Virtual Bus, virtbus_device and
> virtbus_driver.  The virtual bus is a software based bus intended to support
> registering virtbus_devices and virtbus_drivers and provide matching
> between them and probing of the registered drivers.
> 
> The bus will support probe/remove shutdown and suspend/resume
> callbacks.
> 
> Kconfig and Makefile alterations are included
> 
> Signed-off-by: Dave Ertman <david.m.ertman at intel.com>
> Signed-off-by: Kiran Patil <kiran.patil at intel.com>
> ---
>  Documentation/driver-api/virtual_bus.rst |   59 +++++++
>  drivers/bus/Kconfig                      |   11 +
>  drivers/bus/Makefile                     |    1
>  drivers/bus/virtual_bus.c                |  267
> ++++++++++++++++++++++++++++++
>  include/linux/mod_devicetable.h          |    8 +
>  include/linux/virtual_bus.h              |   57 ++++++
>  scripts/mod/devicetable-offsets.c        |    3
>  scripts/mod/file2alias.c                 |    8 +
>  8 files changed, 414 insertions(+)
>  create mode 100644 Documentation/driver-api/virtual_bus.rst
>  create mode 100644 drivers/bus/virtual_bus.c  create mode 100644
> include/linux/virtual_bus.h

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list