[PATCH] SGI Hotplug: Incorrect power status
commit466ee36b62b4b294ecf68a2eee2e18c6ff8c9be4
authorMike Habeck <habeck@sgi.com>
Sat, 6 May 2006 14:01:59 +0000 (6 09:01 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 19 Jun 2006 21:13:23 +0000 (19 14:13 -0700)
tree4dd5ed1ad7a0d1081f687ea535e05f9ea838b08c
parent82d5f4aaf182c306d2c2ef4d3a89d0fb8e386aa8
[PATCH] SGI Hotplug: Incorrect power status

This is a repost of a patch submitted by Prarit Bhargava on 01-19-06 that
never got integrated.

The get_power_status function is currently reporting a bitwise mapping of
the slot if the slot is powered on.  It should return 1 if powered on and
0 if powered off.

Signed-off-by: Mike Habeck <habeck@sgi.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/sgi_hotplug.c