Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 119508
b: refs/heads/master
c: 03f6084
h: refs/heads/master
v: v3
  • Loading branch information
Phil Sutter authored and Jeff Garzik committed Dec 1, 2008
1 parent c95f131 commit 44e6ea4
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 9f14786e27908a176f0568cf2132558efef71b31
refs/heads/master: 03f60840fa462e92220b093f778b2426ceab23af
4 changes: 3 additions & 1 deletion trunk/drivers/ata/pata_rb532_cf.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,12 @@ static void rb532_pata_exec_command(struct ata_port *ap,
rb532_pata_finish_io(ap);
}

static void rb532_pata_data_xfer(struct ata_device *adev, unsigned char *buf,
static unsigned int rb532_pata_data_xfer(struct ata_device *adev, unsigned char *buf,
unsigned int buflen, int write_data)
{
struct ata_port *ap = adev->link->ap;
void __iomem *ioaddr = ap->ioaddr.data_addr;
int retlen = buflen;

if (write_data) {
for (; buflen > 0; buflen--, buf++)
Expand All @@ -89,6 +90,7 @@ static void rb532_pata_data_xfer(struct ata_device *adev, unsigned char *buf,
}

rb532_pata_finish_io(adev->link->ap);
return retlen;
}

static void rb532_pata_freeze(struct ata_port *ap)
Expand Down

0 comments on commit 44e6ea4

Please sign in to comment.