Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45860
b: refs/heads/master
c: a52865c
h: refs/heads/master
v: v3
  • Loading branch information
Alan authored and Jeff Garzik committed Jan 25, 2007
1 parent 9e33b33 commit 69a7f8b
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: 6a40da02be1e1d74eee653c6d181934d35cbca7d
refs/heads/master: a52865c239b1bc4f62e387509b1ad3415e476ee5
6 changes: 3 additions & 3 deletions trunk/drivers/ata/pata_hpt3x2n.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include <linux/libata.h>

#define DRV_NAME "pata_hpt3x2n"
#define DRV_VERSION "0.3"
#define DRV_VERSION "0.3.2"

enum {
HPT_PCI_FAST = (1 << 31),
Expand Down Expand Up @@ -297,11 +297,11 @@ static int hpt3x2n_pair_idle(struct ata_port *ap)
return 0;
}

static int hpt3x2n_use_dpll(struct ata_port *ap, int reading)
static int hpt3x2n_use_dpll(struct ata_port *ap, int writing)
{
long flags = (long)ap->host->private_data;
/* See if we should use the DPLL */
if (reading == 0)
if (writing)
return USE_DPLL; /* Needed for write */
if (flags & PCI66)
return USE_DPLL; /* Needed at 66Mhz */
Expand Down

0 comments on commit 69a7f8b

Please sign in to comment.