]> git.baikalelectronics.ru Git - kernel.git/commit
USB: Rework the OHCI quirk mecanism as suggested by David
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 14 Dec 2006 19:53:55 +0000 (06:53 +1100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Feb 2007 23:44:31 +0000 (15:44 -0800)
commit29b5a43c3d2e4dc039a13adec9e88019678371e2
tree2c348bc94868413cab3dbdc6cdc65777ff1520b9
parent48283ba85b18592e6b32ac1bad974836aba1cdf4
USB: Rework the OHCI quirk mecanism as suggested by David

This patch applies David Brownell's suggestion for reworking the
OHCI quirk mechanism via a table of PCI IDs. It adapts the existing
quirks to use that mechanism.

This also moves the quirks to reset() as suggested by the comment
in there. This is necessary as we need to have the endian properly
set before we try to init the controller.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ohci-pci.c