Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 137630
b: refs/heads/master
c: 09a3e79
h: refs/heads/master
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Mar 27, 2009
1 parent e0c4c92 commit f0d1a2a
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 13 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: e354c1d8033d97a97a38a1b2cffa1bc285b92ad4
refs/heads/master: 09a3e79187c56842d509430267ece5b82216baee
6 changes: 1 addition & 5 deletions trunk/drivers/ide/buddha.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ static void __init buddha_setup_ports(hw_regs_t *hw, unsigned long base,
}

static const struct ide_port_info buddha_port_info = {
.host_flags = IDE_HFLAG_NO_DMA,
.host_flags = IDE_HFLAG_MMIO | IDE_HFLAG_NO_DMA,
};

/*
Expand Down Expand Up @@ -176,10 +176,6 @@ static int __init buddha_init(void)

board = z->resource.start;

/*
* FIXME: we now have selectable mmio v/s iomio transports.
*/

if(type != BOARD_XSURF) {
if (!request_mem_region(board+BUDDHA_BASE1, 0x800, "IDE"))
continue;
Expand Down
3 changes: 2 additions & 1 deletion trunk/drivers/ide/falconide.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ static const struct ide_port_info falconide_port_info = {
.get_lock = falconide_get_lock,
.release_lock = falconide_release_lock,
.tp_ops = &falconide_tp_ops,
.host_flags = IDE_HFLAG_NO_DMA | IDE_HFLAG_SERIALIZE,
.host_flags = IDE_HFLAG_MMIO | IDE_HFLAG_SERIALIZE |
IDE_HFLAG_NO_DMA,
};

static void __init falconide_setup_ports(hw_regs_t *hw)
Expand Down
6 changes: 2 additions & 4 deletions trunk/drivers/ide/gayle.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ static void __init gayle_setup_ports(hw_regs_t *hw, unsigned long base,
}

static const struct ide_port_info gayle_port_info = {
.host_flags = IDE_HFLAG_SERIALIZE | IDE_HFLAG_NO_DMA,
.host_flags = IDE_HFLAG_MMIO | IDE_HFLAG_SERIALIZE |
IDE_HFLAG_NO_DMA,
};

/*
Expand Down Expand Up @@ -163,9 +164,6 @@ static int __init gayle_init(void)
irqport = (unsigned long)ZTWO_VADDR(GAYLE_IRQ_1200);
ack_intr = gayle_ack_intr_a1200;
}
/*
* FIXME: we now have selectable modes between mmio v/s iomio
*/

res_start = ((unsigned long)phys_base) & ~(GAYLE_NEXT_PORT-1);
res_n = GAYLE_IDEREG_SIZE;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/ide/macide.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ static void __init macide_setup_ports(hw_regs_t *hw, unsigned long base,
}

static const struct ide_port_info macide_port_info = {
.host_flags = IDE_HFLAG_NO_DMA,
.host_flags = IDE_HFLAG_MMIO | IDE_HFLAG_NO_DMA,
};

static const char *mac_ide_name[] =
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/ide/q40ide.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ static const struct ide_tp_ops q40ide_tp_ops = {

static const struct ide_port_info q40ide_port_info = {
.tp_ops = &q40ide_tp_ops,
.host_flags = IDE_HFLAG_NO_DMA,
.host_flags = IDE_HFLAG_MMIO | IDE_HFLAG_NO_DMA,
};

/*
Expand Down

0 comments on commit f0d1a2a

Please sign in to comment.