]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/usb/host/uhci-hcd.h
USB: UHCI: Support non-PCI host controllers
authorJan Andersson <jan@gaisler.com>
Fri, 6 May 2011 10:00:17 +0000 (12:00 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 7 May 2011 01:24:01 +0000 (18:24 -0700)
commitd3219d1c4c9ab7cd959f8f294420faf5f936cf55
treed2ddd049bd7f872cda2050d94868f22a9a2f2b35
parent9faa091a409851ac6b3812164d53644074bc89b1
USB: UHCI: Support non-PCI host controllers

This patch is part of a series that extend the UHCI HCD to support
non-PCI host controllers.

This patch also extends the uhci_{read,write}* functions to allow accesses
to registers not mapped into PCI I/O space. This extension also includes
the addition of a void __iomem pointer to the uhci structure.

A new Kconfig option is added to signal that the system has a non-PCI HC.
If this Kconfig option is set, uhci-hcd.c will include generic reset functions
for systems that do not make use of keyboard and mouse legacy support. PCI
controllers will still always use the reset functions from pci-quirks

This patch is followed by a patch that adds bus glue for the first non-PCI
UHCI HC.

Signed-off-by: Jan Andersson <jan@gaisler.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/Kconfig
drivers/usb/host/uhci-hcd.c
drivers/usb/host/uhci-hcd.h