Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 66089
b: refs/heads/master
c: b5515d8
h: refs/heads/master
i:
  66087: 486787f
v: v3
  • Loading branch information
Grant Likely authored and Jens Axboe committed Oct 10, 2007
1 parent 9551bdf commit 4883022
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: 34e1b83413d91999416443f31c276095f9937aa6
refs/heads/master: b5515d86f2efd4dd3516c16c17c1a611a5800b19
10 changes: 5 additions & 5 deletions trunk/drivers/block/xsysace.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ struct ace_device {

/* Details of hardware device */
unsigned long physaddr;
void *baseaddr;
void __iomem *baseaddr;
int irq;
int bus_width; /* 0 := 8 bit; 1 := 16 bit */
struct ace_reg_ops *reg_ops;
Expand Down Expand Up @@ -227,20 +227,20 @@ struct ace_reg_ops {
/* 8 Bit bus width */
static u16 ace_in_8(struct ace_device *ace, int reg)
{
void *r = ace->baseaddr + reg;
void __iomem *r = ace->baseaddr + reg;
return in_8(r) | (in_8(r + 1) << 8);
}

static void ace_out_8(struct ace_device *ace, int reg, u16 val)
{
void *r = ace->baseaddr + reg;
void __iomem *r = ace->baseaddr + reg;
out_8(r, val);
out_8(r + 1, val >> 8);
}

static void ace_datain_8(struct ace_device *ace)
{
void *r = ace->baseaddr + 0x40;
void __iomem *r = ace->baseaddr + 0x40;
u8 *dst = ace->data_ptr;
int i = ACE_FIFO_SIZE;
while (i--)
Expand All @@ -250,7 +250,7 @@ static void ace_datain_8(struct ace_device *ace)

static void ace_dataout_8(struct ace_device *ace)
{
void *r = ace->baseaddr + 0x40;
void __iomem *r = ace->baseaddr + 0x40;
u8 *src = ace->data_ptr;
int i = ACE_FIFO_SIZE;
while (i--)
Expand Down

0 comments on commit 4883022

Please sign in to comment.