Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 167759
b: refs/heads/master
c: c2494ac
h: refs/heads/master
i:
  167757: 1865725
  167755: 013baf3
  167751: 96c21f5
  167743: 17ce7af
v: v3
  • Loading branch information
Keith Mannthey authored and Linus Torvalds committed Oct 29, 2009
1 parent 5a32713 commit e91ad0e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: 0616fb003d4f799c4be62275242fc7ff9a968f84
refs/heads/master: c2494ace990c5d37cfe66911b85d28e6945eadfc
7 changes: 4 additions & 3 deletions trunk/drivers/edac/i5000_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1173,7 +1173,7 @@ static void i5000_get_mc_regs(struct mem_ctl_info *mci)
pci_read_config_word(pvt->branch_1, where,
&pvt->b1_mtr[slot_row]);
debugf2("MTR%d where=0x%x B1 value=0x%x\n", slot_row,
where, pvt->b0_mtr[slot_row]);
where, pvt->b1_mtr[slot_row]);
} else {
pvt->b1_mtr[slot_row] = 0;
}
Expand Down Expand Up @@ -1232,7 +1232,7 @@ static int i5000_init_csrows(struct mem_ctl_info *mci)
struct csrow_info *p_csrow;
int empty, channel_count;
int max_csrows;
int mtr;
int mtr, mtr1;
int csrow_megs;
int channel;
int csrow;
Expand All @@ -1251,9 +1251,10 @@ static int i5000_init_csrows(struct mem_ctl_info *mci)

/* use branch 0 for the basis */
mtr = pvt->b0_mtr[csrow >> 1];
mtr1 = pvt->b1_mtr[csrow >> 1];

/* if no DIMMS on this row, continue */
if (!MTR_DIMMS_PRESENT(mtr))
if (!MTR_DIMMS_PRESENT(mtr) && !MTR_DIMMS_PRESENT(mtr1))
continue;

/* FAKE OUT VALUES, FIXME */
Expand Down

0 comments on commit e91ad0e

Please sign in to comment.