Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 245337
b: refs/heads/master
c: 1c65335
h: refs/heads/master
i:
  245335: 64aab33
v: v3
  • Loading branch information
Sergei Shtylyov authored and Roland Dreier committed May 12, 2011
1 parent 9bc76ad commit e346486
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: ec03d6777a9e2b76917ef6d3fc8a01e174bcb9b1
refs/heads/master: 1c65335714e99864a438b0d757c8736d3c6e7d79
5 changes: 1 addition & 4 deletions trunk/drivers/infiniband/hw/qib/qib_pcie.c
Original file line number Diff line number Diff line change
Expand Up @@ -526,11 +526,8 @@ static int qib_tune_pcie_coalesce(struct qib_devdata *dd)
*/
devid = parent->device;
if (devid >= 0x25e2 && devid <= 0x25fa) {
u8 rev;

/* 5000 P/V/X/Z */
pci_read_config_byte(parent, PCI_REVISION_ID, &rev);
if (rev <= 0xb2)
if (parent->revision <= 0xb2)
bits = 1U << 10;
else
bits = 7U << 10;
Expand Down

0 comments on commit e346486

Please sign in to comment.