Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172855
b: refs/heads/master
c: 10a9c96
h: refs/heads/master
i:
  172853: e90a3a0
  172851: 08c4930
  172847: f574b53
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz authored and Jeff Garzik committed Dec 3, 2009
1 parent 23212b5 commit 83f52b5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f3b1cf40d4012351d793793b2965aca57cc9fdd5
refs/heads/master: 10a9c969222de5302cff0bb41dd7f114f9aa8e5d
3 changes: 3 additions & 0 deletions trunk/drivers/ata/pata_hpt37x.c
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,9 @@ static int hpt37x_cable_detect(struct ata_port *ap)

pci_read_config_byte(pdev, 0x5B, &scr2);
pci_write_config_byte(pdev, 0x5B, scr2 & ~0x01);

udelay(10); /* debounce */

/* Cable register now active */
pci_read_config_byte(pdev, 0x5A, &ata66);
/* Restore state */
Expand Down
3 changes: 3 additions & 0 deletions trunk/drivers/ata/pata_hpt3x2n.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ static int hpt3x2n_cable_detect(struct ata_port *ap)

pci_read_config_byte(pdev, 0x5B, &scr2);
pci_write_config_byte(pdev, 0x5B, scr2 & ~0x01);

udelay(10); /* debounce */

/* Cable register now active */
pci_read_config_byte(pdev, 0x5A, &ata66);
/* Restore state */
Expand Down

0 comments on commit 83f52b5

Please sign in to comment.