1
0
Fork 0
alistair23-linux/drivers/usb
Dave Jiang 11bac80004 mm, fs: reduce fault, page_mkwrite, and pfn_mkwrite to take only vmf
->fault(), ->page_mkwrite(), and ->pfn_mkwrite() calls do not need to
take a vma and vmf parameter when the vma already resides in vmf.

Remove the vma parameter to simplify things.

[arnd@arndb.de: fix ARM build]
  Link: http://lkml.kernel.org/r/20170125223558.1451224-1-arnd@arndb.de
Link: http://lkml.kernel.org/r/148521301778.19116.10840599906674778980.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Cc: Theodore Ts'o <tytso@mit.edu>
Cc: Darrick J. Wong <darrick.wong@oracle.com>
Cc: Matthew Wilcox <mawilcox@microsoft.com>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Jan Kara <jack@suse.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-02-24 17:46:54 -08:00
..
atm Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
c67x00 c67x00-hcd: use USB_DT_HUB 2015-04-03 19:03:16 +02:00
chipidea usb: chipidea: msm: Fix return value check in ci_hdrc_msm_probe() 2017-02-03 16:48:47 +08:00
class usb: cdc-wdm: remove logically dead code 2017-02-15 10:35:15 -08:00
common usb: ulpi: Support device discovery via DT 2017-01-20 11:24:06 +08:00
core Merge 4.10-rc7 into usb-next 2017-02-06 09:32:06 +01:00
dwc2 USB: changes for v4.11 2017-01-26 15:36:28 +01:00
dwc3 USB: changes for v4.11 2017-01-26 15:36:28 +01:00
early drivers: usb: early: remove unused code 2017-02-08 07:43:47 +01:00
gadget USB/PHY patches for 4.11-rc1 2017-02-22 11:15:59 -08:00
host ohci-hub: fix typo in dbg_port macro 2017-02-10 12:20:57 +01:00
image usb: microtek: Use "foo *bar" instead of "foo * bar". 2016-06-07 22:18:39 -07:00
isp1760 usb: isp1760: constify usb_gadget_ops structures 2017-01-19 10:34:45 +01:00
misc usb: misc: add USB251xB/xBi Hi-Speed Hub Controller Driver 2017-02-14 09:33:49 -08:00
mon mm, fs: reduce fault, page_mkwrite, and pfn_mkwrite to take only vmf 2017-02-24 17:46:54 -08:00
mtu3 usb: mtu3: remove redundant dev_err call in get_ssusb_rscs() 2017-02-09 13:34:18 +01:00
musb usb: musb: add code comment for clarification 2017-02-14 10:24:51 -08:00
phy usb: phy: ab8500: remove unused ab8500_eyediagram_workaroud() 2017-01-26 10:51:27 +02:00
renesas_usbhs usb: renesas_usbhs: Replace the deprecated extcon API 2017-01-24 11:04:14 +02:00
serial USB/PHY patches for 4.11-rc1 2017-02-22 11:15:59 -08:00
storage usb: storage: sddr09: Remove a set-but-not-used variable 2017-01-25 10:52:43 +01:00
usbip drivers: usb: usbip: Add missing break statement to switch 2017-02-09 13:34:18 +01:00
wusbcore wusbcore: Fix one more crypto-on-the-stack bug 2017-01-10 17:03:42 +01:00
Kconfig usb: Add MediaTek USB3 DRD driver 2016-10-27 17:02:41 +02:00
Makefile usb: Add MediaTek USB3 DRD driver 2016-10-27 17:02:41 +02:00
README
usb-skeleton.c usb: usb-skeleton: don't print on ENOMEM 2016-08-30 19:17:39 +02:00

README

To understand all the Linux-USB framework, you'll use these resources:

    * This source code.  This is necessarily an evolving work, and
      includes kerneldoc that should help you get a current overview.
      ("make pdfdocs", and then look at "usb.pdf" for host side and
      "gadget.pdf" for peripheral side.)  Also, Documentation/usb has
      more information.

    * The USB 2.0 specification (from www.usb.org), with supplements
      such as those for USB OTG and the various device classes.
      The USB specification has a good overview chapter, and USB
      peripherals conform to the widely known "Chapter 9".

    * Chip specifications for USB controllers.  Examples include
      host controllers (on PCs, servers, and more); peripheral
      controllers (in devices with Linux firmware, like printers or
      cell phones); and hard-wired peripherals like Ethernet adapters.

    * Specifications for other protocols implemented by USB peripheral
      functions.  Some are vendor-specific; others are vendor-neutral
      but just standardized outside of the www.usb.org team.

Here is a list of what each subdirectory here is, and what is contained in
them.

core/		- This is for the core USB host code, including the
		  usbfs files and the hub class driver ("hub_wq").

host/		- This is for USB host controller drivers.  This
		  includes UHCI, OHCI, EHCI, and others that might
		  be used with more specialized "embedded" systems.

gadget/		- This is for USB peripheral controller drivers and
		  the various gadget drivers which talk to them.


Individual USB driver directories.  A new driver should be added to the
first subdirectory in the list below that it fits into.

image/		- This is for still image drivers, like scanners or
		  digital cameras.
../input/	- This is for any driver that uses the input subsystem,
		  like keyboard, mice, touchscreens, tablets, etc.
../media/	- This is for multimedia drivers, like video cameras,
		  radios, and any other drivers that talk to the v4l
		  subsystem.
../net/		- This is for network drivers.
serial/		- This is for USB to serial drivers.
storage/	- This is for USB mass-storage drivers.
class/		- This is for all USB device drivers that do not fit
		  into any of the above categories, and work for a range
		  of USB Class specified devices. 
misc/		- This is for all USB device drivers that do not fit
		  into any of the above categories.