Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123517
b: refs/heads/master
c: a4cd1a3
h: refs/heads/master
i:
  123515: 160adb5
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Dec 29, 2008
1 parent b47d2f7 commit 237ac96
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: 6b5cde3629701258004b94cde75dd1089b556b02
refs/heads/master: a4cd1a344818b4aa7149b851dc61f0447dc398bc
6 changes: 5 additions & 1 deletion trunk/drivers/ide/gayle.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ static void __init gayle_setup_ports(hw_regs_t *hw, unsigned long base,
hw->chipset = ide_generic;
}

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

/*
* Probe for a Gayle IDE interface (and optionally for an IDE doubler)
*/
Expand Down Expand Up @@ -178,7 +182,7 @@ static int __init gayle_init(void)
hws[i] = &hw[i];
}

rc = ide_host_add(NULL, hws, NULL);
rc = ide_host_add(&gayle_port_info, hws, NULL);
if (rc)
release_mem_region(res_start, res_n);

Expand Down

0 comments on commit 237ac96

Please sign in to comment.