lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <VI1PR10MB19658F2B6FDAD88FAA05546591320@VI1PR10MB1965.EURPRD10.PROD.OUTLOOK.COM>
Date:   Mon, 20 Jan 2020 09:30:43 +0000
From:   Vladimir Stankovic <vladimir.stankovic@...playlink.com>
To:     "gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>
CC:     "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "devel@...verdev.osuosl.org" <devel@...verdev.osuosl.org>,
        Petar Kovacevic <petar.kovacevic@...playlink.com>,
        Nikola Simic <nikola.simic@...playlink.com>,
        Stefan Lugonjic <stefan.lugonjic@...playlink.com>,
        Marko Miljkovic <marko.miljkovic@...playlink.com>
Subject: staging: Add MA USB Host driver

MA-USB Host driver provides USB connectivity over an available
network, allowing host device to access remote USB devices attached
to one or more MA USB devices (accessible via network).

This driver has been developed to enable the host to communicate
with DislayLink products supporting MA USB protocol (MA USB device,
in terms of MA USB Specification).

MA-USB protocol used by MA-USB Host driver has been implemented in
accordance with MA USB Specification Release 1.0b.

This driver depends on the functions provided by DisplayLink's
user-space driver.

Signed-off-by: Vladimir Stankovic <vladimir.stankovic@...playlink.com>
---
 drivers/staging/Kconfig                       |    3 +
 drivers/staging/Makefile                      |    1 +
 drivers/staging/mausb_host/Kconfig            |   15 +
 drivers/staging/mausb_host/Makefile           |   30 +
 .../mausb_host/include/common/ma_usb.h        |  851 ++++++++
 .../mausb_host/include/common/mausb_address.h |   38 +
 .../include/common/mausb_driver_status.h      |   20 +
 .../mausb_host/include/common/mausb_event.h   |  228 +++
 drivers/staging/mausb_host/include/hcd/hub.h  |  120 ++
 drivers/staging/mausb_host/include/hcd/vhcd.h |   81 +
 .../mausb_host/include/hpal/data_common.h     |   67 +
 .../staging/mausb_host/include/hpal/data_in.h |   18 +
 .../mausb_host/include/hpal/data_out.h        |   22 +
 .../staging/mausb_host/include/hpal/hpal.h    |  174 ++
 .../mausb_host/include/hpal/isoch_in.h        |   22 +
 .../mausb_host/include/hpal/isoch_out.h       |   21 +
 .../mausb_host/include/hpal/mausb_events.h    |   97 +
 .../include/hpal/network_callbacks.h          |   20 +
 .../mausb_host/include/link/mausb_ip_link.h   |   89 +
 .../include/utils/mausb_data_iterator.h       |   55 +
 .../mausb_host/include/utils/mausb_logs.h     |   35 +
 .../mausb_host/include/utils/mausb_mmap.h     |   22 +
 .../include/utils/mausb_ring_buffer.h         |   53 +
 .../mausb_host/include/utils/mausb_version.h  |   17 +
 drivers/staging/mausb_host/src/hcd/hub.c      | 1801 +++++++++++++++++
 .../staging/mausb_host/src/hcd/module_init.c  |  239 +++
 drivers/staging/mausb_host/src/hcd/vhcd.c     |  216 ++
 .../staging/mausb_host/src/hpal/data_common.c |  139 ++
 drivers/staging/mausb_host/src/hpal/data_in.c |   82 +
 .../staging/mausb_host/src/hpal/data_out.c    |  207 ++
 drivers/staging/mausb_host/src/hpal/hpal.c    | 1327 ++++++++++++
 .../staging/mausb_host/src/hpal/isoch_in.c    |  243 +++
 .../staging/mausb_host/src/hpal/isoch_out.c   |  362 ++++
 .../mausb_host/src/hpal/mausb_events.c        |  661 ++++++
 .../mausb_host/src/hpal/network_callbacks.c   |  162 ++
 .../mausb_host/src/link/mausb_ip_link.c       |  364 ++++
 .../src/utils/mausb_data_iterator.c           |  300 +++
 .../staging/mausb_host/src/utils/mausb_mmap.c |  358 ++++
 .../mausb_host/src/utils/mausb_ring_buffer.c  |  140 ++
 39 files changed, 8700 insertions(+)
 create mode 100644 drivers/staging/mausb_host/Kconfig
 create mode 100644 drivers/staging/mausb_host/Makefile
 create mode 100644 drivers/staging/mausb_host/include/common/ma_usb.h
 create mode 100644 drivers/staging/mausb_host/include/common/mausb_address.h
 create mode 100644 drivers/staging/mausb_host/include/common/mausb_driver_status.h
 create mode 100644 drivers/staging/mausb_host/include/common/mausb_event.h
 create mode 100644 drivers/staging/mausb_host/include/hcd/hub.h
 create mode 100644 drivers/staging/mausb_host/include/hcd/vhcd.h
 create mode 100644 drivers/staging/mausb_host/include/hpal/data_common.h
 create mode 100644 drivers/staging/mausb_host/include/hpal/data_in.h
 create mode 100644 drivers/staging/mausb_host/include/hpal/data_out.h
 create mode 100644 drivers/staging/mausb_host/include/hpal/hpal.h
 create mode 100644 drivers/staging/mausb_host/include/hpal/isoch_in.h
 create mode 100644 drivers/staging/mausb_host/include/hpal/isoch_out.h
 create mode 100644 drivers/staging/mausb_host/include/hpal/mausb_events.h
 create mode 100644 drivers/staging/mausb_host/include/hpal/network_callbacks.h
 create mode 100644 drivers/staging/mausb_host/include/link/mausb_ip_link.h
 create mode 100644 drivers/staging/mausb_host/include/utils/mausb_data_iterator.h
 create mode 100644 drivers/staging/mausb_host/include/utils/mausb_logs.h
 create mode 100644 drivers/staging/mausb_host/include/utils/mausb_mmap.h
 create mode 100644 drivers/staging/mausb_host/include/utils/mausb_ring_buffer.h
 create mode 100644 drivers/staging/mausb_host/include/utils/mausb_version.h
 create mode 100644 drivers/staging/mausb_host/src/hcd/hub.c
 create mode 100644 drivers/staging/mausb_host/src/hcd/module_init.c
 create mode 100644 drivers/staging/mausb_host/src/hcd/vhcd.c
 create mode 100644 drivers/staging/mausb_host/src/hpal/data_common.c
 create mode 100644 drivers/staging/mausb_host/src/hpal/data_in.c
 create mode 100644 drivers/staging/mausb_host/src/hpal/data_out.c
 create mode 100644 drivers/staging/mausb_host/src/hpal/hpal.c
 create mode 100644 drivers/staging/mausb_host/src/hpal/isoch_in.c
 create mode 100644 drivers/staging/mausb_host/src/hpal/isoch_out.c
 create mode 100644 drivers/staging/mausb_host/src/hpal/mausb_events.c
 create mode 100644 drivers/staging/mausb_host/src/hpal/network_callbacks.c
 create mode 100644 drivers/staging/mausb_host/src/link/mausb_ip_link.c
 create mode 100644 drivers/staging/mausb_host/src/utils/mausb_data_iterator.c
 create mode 100644 drivers/staging/mausb_host/src/utils/mausb_mmap.c
 create mode 100644 drivers/staging/mausb_host/src/utils/mausb_ring_buffer.c


View attachment "0001-staging-Add-MA-USB-Host-driver.patch" of type "text/x-patch" (270387 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ