Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165975
b: refs/heads/master
c: d9fb42a
h: refs/heads/master
i:
  165973: de4cff6
  165971: 1e1ac99
  165967: 3ccbaed
v: v3
  • Loading branch information
Kenji Kaneshige authored and Jesse Barnes committed Sep 17, 2009
1 parent 8b9ec93 commit 302b2dd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 07a09694de556f307b1c5035cdf0f17c6243d1cd
refs/heads/master: d9fb42a845f8e56d91017462650ba41e854f5552
11 changes: 0 additions & 11 deletions trunk/drivers/pci/hotplug/pciehp.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,17 +117,6 @@ struct controller {
#define POWERON_STATE 3
#define POWEROFF_STATE 4

/* Error messages */
#define INTERLOCK_OPEN 0x00000002
#define ADD_NOT_SUPPORTED 0x00000003
#define CARD_FUNCTIONING 0x00000005
#define ADAPTER_NOT_SAME 0x00000006
#define NO_ADAPTER_PRESENT 0x00000009
#define NOT_ENOUGH_RESOURCES 0x0000000B
#define DEVICE_TYPE_NOT_SUPPORTED 0x0000000C
#define WRONG_BUS_FREQUENCY 0x0000000D
#define POWER_FAILURE 0x0000000E

/* Field definitions in Slot Capabilities Register */
#define ATTN_BUTTN_PRSN 0x00000001
#define PWR_CTRL_PRSN 0x00000002
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/pci/hotplug/pciehp_ctrl.c
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ static int board_added(struct slot *p_slot)
/* Check for a power fault */
if (pciehp_query_power_fault(p_slot)) {
ctrl_dbg(ctrl, "Power fault detected\n");
retval = POWER_FAILURE;
retval = -EIO;
goto err_exit;
}

Expand Down

0 comments on commit 302b2dd

Please sign in to comment.