Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44522
b: refs/heads/master
c: f13c152
h: refs/heads/master
v: v3
  • Loading branch information
Sergei Shtylyov authored and Linus Torvalds committed Dec 13, 2006
1 parent 419fe9d commit 560823b
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 26c068daf089aa21844236c97d05049b9497cc0a
refs/heads/master: f13c152684a7f99ead26525270ed3e28a1d2467f
6 changes: 3 additions & 3 deletions trunk/drivers/ide/pci/hpt366.c
Original file line number Diff line number Diff line change
Expand Up @@ -1035,14 +1035,14 @@ static void __devinit hpt37x_clocking(ide_hwif_t *hwif)
* First try reading the register in which the HighPoint BIOS
* saves f_CNT value before reprogramming the DPLL from its
* default setting (which differs for the various chips).
* NOTE: This register is only accessible via I/O space.
*
* In case the signature check fails, we'll have to resort to
* reading the f_CNT register itself in hopes that nobody has
* touched the DPLL yet...
*/
pci_read_config_dword(dev, 0x70, &temp);
temp = inl(pci_resource_start(dev, 4) + 0x90);
if ((temp & 0xFFFFF000) != 0xABCDE000) {
int i;

printk(KERN_WARNING "HPT37X: no clock data saved by BIOS\n");

/* Calculate the average value of f_CNT */
Expand Down

0 comments on commit 560823b

Please sign in to comment.