From: Karl Bongers Date: Thu, 29 Jan 2009 17:37:38 +0000 (+0100) Subject: USB: isp1760: Fix probe in PCI glue code X-Git-Tag: v2.6.27.15~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=834fd53eabb313a8c8d1ed92ecb66a1314146bf7;p=pandora-kernel.git USB: isp1760: Fix probe in PCI glue code This is the backported version of the upstream commit Stefan Bader did the backport Contains fixes so probe on x86 PCI runs, apparently I'm first to try this. Several fixes to memory access to probe host scratch register. Previously would bug check on chip_addr var used uninitialized. Scratch reg write failed in one instance due to 16-bit initial access mode, so added "& 0x0000ffff" to the readl as fix. Includes some general cleanup - remove global vars, organize memory map resource use. Signed-off-by: Karl Bongers Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Stefan Bader Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed