Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 137624
b: refs/heads/master
c: 0e78a54
h: refs/heads/master
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Mar 27, 2009
1 parent eb05453 commit fea3710
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: ee1464a4e8883304d6408ddceb4e966068afa2be
refs/heads/master: 0e78a54fbd574be9da7a49190f7927a656a936c0
6 changes: 5 additions & 1 deletion trunk/drivers/ide/buddha.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ static void __init buddha_setup_ports(hw_regs_t *hw, unsigned long base,
hw->chipset = ide_generic;
}

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

/*
* Probe for a Buddha or Catweasel IDE interface
*/
Expand Down Expand Up @@ -224,7 +228,7 @@ static int __init buddha_init(void)
hws[i] = &hw[i];
}

ide_host_add(NULL, hws, NULL);
ide_host_add(&buddha_port_info, hws, NULL);
}

return 0;
Expand Down

0 comments on commit fea3710

Please sign in to comment.