Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 137625
b: refs/heads/master
c: 211176c
h: refs/heads/master
i:
  137623: eb05453
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Mar 27, 2009
1 parent fea3710 commit 1e72c83
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 0e78a54fbd574be9da7a49190f7927a656a936c0
refs/heads/master: 211176ccebd2fac1af198eb14308f6cbd7d844e1
6 changes: 5 additions & 1 deletion trunk/drivers/ide/macide.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ static void __init macide_setup_ports(hw_regs_t *hw, unsigned long base,
hw->chipset = ide_generic;
}

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

static const char *mac_ide_name[] =
{ "Quadra", "Powerbook", "Powerbook Baboon" };

Expand Down Expand Up @@ -122,7 +126,7 @@ static int __init macide_init(void)

macide_setup_ports(&hw, base, irq, ack_intr);

return ide_host_add(NULL, hws, NULL);
return ide_host_add(&macide_port_info, hws, NULL);
}

module_init(macide_init);
Expand Down

0 comments on commit 1e72c83

Please sign in to comment.