Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 102095
b: refs/heads/master
c: dccdf52
h: refs/heads/master
i:
  102093: 87cdd60
  102091: d38f7a4
  102087: cfa4d76
  102079: 10de535
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Jul 16, 2008
1 parent bbdf47d commit 0f7f594
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 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: f333f92bf9040fb63d13c184295629c7a0ff449f
refs/heads/master: dccdf527379dc2fe8a4efc5c75601d1d4035a750
8 changes: 6 additions & 2 deletions trunk/drivers/ide/legacy/ide-cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,11 @@ static const struct ide_port_ops idecs_port_ops = {
.quirkproc = ide_undecoded_slave,
};

static const struct ide_port_info idecs_port_info = {
.port_ops = &idecs_port_ops,
.host_flags = IDE_HFLAG_NO_DMA,
};

static ide_hwif_t *idecs_register(unsigned long io, unsigned long ctl,
unsigned long irq, struct pcmcia_device *handle)
{
Expand Down Expand Up @@ -188,11 +193,10 @@ static ide_hwif_t *idecs_register(unsigned long io, unsigned long ctl,
i = hwif->index;

ide_init_port_hw(hwif, &hw);
hwif->port_ops = &idecs_port_ops;

idx[0] = i;

ide_device_add(idx, NULL);
ide_device_add(idx, &idecs_port_info);

if (hwif->present)
return hwif;
Expand Down

0 comments on commit 0f7f594

Please sign in to comment.