Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 142959
b: refs/heads/master
c: add4d9a
h: refs/heads/master
i:
  142957: 7cfb827
  142955: 4448d89
  142951: 3e86de0
  142943: bedf944
v: v3
  • Loading branch information
Sergei Shtylyov authored and Bartlomiej Zolnierkiewicz committed Apr 8, 2009
1 parent f19965e commit 76934c1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 23 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: 253275c52c8f5848df63f140977ef19800f2dfca
refs/heads/master: add4d9a9838fc9a3b3d1886b6ce96cfc08386e9b
22 changes: 0 additions & 22 deletions trunk/drivers/ide/ide-h8300.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,28 +22,6 @@
(r); \
})

static void mm_outw(u16 d, unsigned long a)
{
__asm__("mov.b %w0,r2h\n\t"
"mov.b %x0,r2l\n\t"
"mov.w r2,@%1"
:
:"r"(d),"r"(a)
:"er2");
}

static u16 mm_inw(unsigned long a)
{
register u16 r __asm__("er0");
__asm__("mov.w @%1,r2\n\t"
"mov.b r2l,%x0\n\t"
"mov.b r2h,%w0"
:"=r"(r)
:"r"(a)
:"er2");
return r;
}

static void h8300_tf_load(ide_drive_t *drive, struct ide_cmd *cmd)
{
ide_hwif_t *hwif = drive->hwif;
Expand Down

0 comments on commit 76934c1

Please sign in to comment.