Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 91690
b: refs/heads/master
c: bc04327
h: refs/heads/master
v: v3
  • Loading branch information
Tim Yamin authored and Greg Kroah-Hartman committed Apr 21, 2008
1 parent 3d7fa25 commit 39408e6
Show file tree
Hide file tree
Showing 2 changed files with 13 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: 94e6108803469a37ee1e3c92dafdd1d59298602f
refs/heads/master: bc043274560f398225dad7f0e24c6a7610d3c08a
13 changes: 12 additions & 1 deletion trunk/drivers/pci/quirks.c
Original file line number Diff line number Diff line change
Expand Up @@ -1648,13 +1648,24 @@ static void __devinit quirk_via_cx700_pci_parking_caching(struct pci_dev *dev)
/* Turn off PCI Bus Parking */
pci_write_config_byte(dev, 0x76, b ^ 0x40);

dev_info(&dev->dev,
"Disabling VIA CX700 PCI parking\n");
}
}

if (pci_read_config_byte(dev, 0x72, &b) == 0) {
if (b != 0) {
/* Turn off PCI Master read caching */
pci_write_config_byte(dev, 0x72, 0x0);

/* Set PCI Master Bus time-out to "1x16 PCLK" */
pci_write_config_byte(dev, 0x75, 0x1);

/* Disable "Read FIFO Timer" */
pci_write_config_byte(dev, 0x77, 0x0);

dev_info(&dev->dev,
"Disabling VIA CX700 PCI parking/caching\n");
"Disabling VIA CX700 PCI caching\n");
}
}
}
Expand Down

0 comments on commit 39408e6

Please sign in to comment.