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)
commit4302a595cd9c6363b495460497ecbda49fa16858
tree2c348bc94868413cab3dbdc6cdc65777ff1520b9
parent0873c76485c126a4df70a6961fd354b21b7987f7
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