Commit 5f4f0bed authored by Dirk Behme's avatar Dirk Behme Committed by Tony Lindgren

[PATCH] ARM: OMAP: CF on OSK broken?

Not sure if this has to be fixed in pcmcia code or our omap_cf.c, but
with patch in attachment I now get:
=> Instert CF card into OSK:
# hda: TOSHIBA THNCF256MDG, CFA DISK drive
ide0 at 0xc2852000-0xc2852007,0xc285200e on irq 222
hda: max request size: 128KiB
hda: 500736 sectors (256 MB) w/2KiB Cache, CHS=978/16/32
hda: cache flushes not supported
    hda: hda1
ide-cs: hda: Vcc = 3.3, Vpp = 0.0
# mount -t vfat /dev/hda1 /mount
    hda: hda1
#
parent 4a8ce2d7
...@@ -121,7 +121,8 @@ static int omap_cf_get_status(struct pcmcia_socket *s, u_int *sp) ...@@ -121,7 +121,8 @@ static int omap_cf_get_status(struct pcmcia_socket *s, u_int *sp)
*sp = SS_READY | SS_DETECT | SS_POWERON | SS_3VCARD; *sp = SS_READY | SS_DETECT | SS_POWERON | SS_3VCARD;
cf = container_of(s, struct omap_cf_socket, socket); cf = container_of(s, struct omap_cf_socket, socket);
s->irq.AssignedIRQ = cf->irq; s->irq.AssignedIRQ = 0;
s->pci_irq = cf->irq;
} else } else
*sp = 0; *sp = 0;
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment