[PATCH] shpchp: fix improper reference to Slot Avail Regsister
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Thu, 24 Nov 2005 04:44:01 +0000 (13:44 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 9 Jan 2006 20:13:16 +0000 (12:13 -0800)
commit6558b6ab145ceead45632e4214cd5ef14f48f412
tree9316df4d5e28567a4e6f6da4c4cc73b0d98acb0d
parente00e57efa3448b18c0deedce32732e28683cb73d
[PATCH] shpchp: fix improper reference to Slot Avail Regsister

The hpc_get_max_bus_speed() function of the SHPCHP driver seems to
refer wrong bits in the "Slot Avail Register I" and "Slot Avail
Register II". This patch fixes this bug. And this also cleanup the
code.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/shpchp_hpc.c