Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 28265
b: refs/heads/master
c: d49f2c4
h: refs/heads/master
i:
  28263: ef8a318
v: v3
  • Loading branch information
Kenji Kaneshige authored and Greg Kroah-Hartman committed Jun 19, 2006
1 parent ed082d3 commit 3406e89
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 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: e7138723692e43b7d43578746ad21bf194847527
refs/heads/master: d49f2c49c39bbd0cb2069fe11c1630c709061037
11 changes: 10 additions & 1 deletion trunk/drivers/pci/hotplug/shpchp_hpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ static void hpc_release_ctlr(struct controller *ctrl)
struct php_ctlr_state_s *php_ctlr = ctrl->hpc_ctlr_handle;
struct php_ctlr_state_s *p, *p_prev;
int i;
u32 slot_reg;
u32 slot_reg, serr_int;

DBG_ENTER_ROUTINE

Expand All @@ -822,6 +822,15 @@ static void hpc_release_ctlr(struct controller *ctrl)

cleanup_slots(ctrl);

/*
* Mask SERR and System Interrut generation
*/
serr_int = shpc_readl(ctrl, SERR_INTR_ENABLE);
serr_int |= (GLOBAL_INTR_MASK | GLOBAL_SERR_MASK |
COMMAND_INTR_MASK | ARBITER_SERR_MASK);
serr_int &= ~SERR_INTR_RSVDZ_MASK;
shpc_writel(ctrl, SERR_INTR_ENABLE, serr_int);

if (shpchp_poll_mode) {
del_timer(&php_ctlr->int_poll_timer);
} else {
Expand Down

0 comments on commit 3406e89

Please sign in to comment.