Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 137623
b: refs/heads/master
c: ee1464a
h: refs/heads/master
i:
  137621: c219329
  137619: 30bc154
  137615: 13b62de
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Mar 27, 2009
1 parent 1040daf commit eb05453
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: e518e58779d946f01bf93428be8791d5f07b4984
refs/heads/master: ee1464a4e8883304d6408ddceb4e966068afa2be
6 changes: 5 additions & 1 deletion trunk/drivers/ide/ide-pnp.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ static struct pnp_device_id idepnp_devices[] = {
{.id = ""}
};

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

static int idepnp_probe(struct pnp_dev *dev, const struct pnp_device_id *dev_id)
{
struct ide_host *host;
Expand Down Expand Up @@ -60,7 +64,7 @@ static int idepnp_probe(struct pnp_dev *dev, const struct pnp_device_id *dev_id)
hw.irq = pnp_irq(dev, 0);
hw.chipset = ide_generic;

rc = ide_host_add(NULL, hws, &host);
rc = ide_host_add(&ide_pnp_port_info, hws, &host);
if (rc)
goto out;

Expand Down

0 comments on commit eb05453

Please sign in to comment.