From 834fd53eabb313a8c8d1ed92ecb66a1314146bf7 Mon Sep 17 00:00:00 2001 From: Karl Bongers Date: Thu, 29 Jan 2009 18:37:38 +0100 Subject: [PATCH] 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-format-patch failed