Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 47950
b: refs/heads/master
c: 9962fd0
h: refs/heads/master
v: v3
  • Loading branch information
Brian Pomerantz authored and Linus Torvalds committed Feb 12, 2007
1 parent fd05745 commit ea867b8
Show file tree
Hide file tree
Showing 2 changed files with 7 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: dfb2a76378f095b0aaa2024ce9a8cfb2ae2354d2
refs/heads/master: 9962fd017becf944d671da498ccaaea570452206
7 changes: 6 additions & 1 deletion trunk/drivers/edac/e752x_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,12 @@ static void e752x_init_csrows(struct mem_ctl_info *mci, struct pci_dev *pdev,
u8 value;
u32 dra, drc, cumul_size;

pci_read_config_dword(pdev, E752X_DRA, &dra);
dra = 0;
for (index=0; index < 4; index++) {
u8 dra_reg;
pci_read_config_byte(pdev, E752X_DRA+index, &dra_reg);
dra |= dra_reg << (index * 8);
}
pci_read_config_dword(pdev, E752X_DRC, &drc);
drc_chan = dual_channel_active(ddrcsr);
drc_drbg = drc_chan + 1; /* 128 in dual mode, 64 in single */
Expand Down

0 comments on commit ea867b8

Please sign in to comment.