AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:
CFG:
PT:0
S:andy.sharp@lsi.com
RQ:
SSV:mhbs.lsil.com
NSV:
SSH:
R:<bill.fisher@lsi.com>,<rendell.fong@lsi.com>
MAID:2
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
X-Sylpheed-End-Special-Headers: 1
Date: Tue, 17 Nov 2009 13:31:22 -0800
From: Andrew Sharp <andy.sharp@lsi.com>
To: Bill Fisher <bill.fisher@lsi.com>, Rendell Fong <rendell.fong@lsi.com>
Subject: compact flash kernel change
Message-ID: <20091117133122.6e090495@ripper.onstor.net>
Organization: LSI
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Just disseminating this to a couple of folks so that you can have it
before it eventually makes its way into the tree.

Apply the following patch from the top of kernel tree directory:




--- a/drivers/pcmcia/yenta_socket.c     2009-11-17 13:28:25.421376443 -0800
+++ b/drivers/pcmcia/yenta_socket.c    2009-11-13 20:50:01.189196000 -0800
@@ -991,6 +991,9 @@
 #else
        config_writel(socket, PCI_BASE_ADDRESS_0, region.start);
 #endif
+       exca_writeb(socket, I365_INTCTL, I365_PC_RESET);
+       msleep(100);
+
        config_writew(socket, PCI_COMMAND,
                        PCI_COMMAND_IO |
                        PCI_COMMAND_MEMORY |
--- a/drivers/ata/pata_pcmcia.c    2009-11-17 13:28:55.769376661 -0800
+++ b/drivers/ata/pata_pcmcia.c
        2009-11-17 11:05:09.018205000 -0800
@@ -287,8 +287,8 @@
                printk(KERN_WARNING DRV_NAME ": second channel not yet supported.\n");
 
        /*
-        *      Having done the PCMCIA plumbing the ATA side is relatively
-        *      sane.
+        *      Having done the PCMCIA plumbing the ATA side is relatively
+        *      sane.
         */
        ret = -ENOMEM;
        host = ata_host_alloc(&pdev->dev, 1);
@@ -297,7 +297,7 @@
        ap = host->ports[0];
 
        ap->ops = &pcmcia_port_ops;
-       ap->pio_mask = 1;               /* ISA so PIO 0 cycles */
+       ap->pio_mask = 4;               /* PIO2 hacktastica *//* ISA so PIO 0 cycles */
        ap->flags |= ATA_FLAG_SLAVE_POSS;
        ap->ioaddr.cmd_addr = io_addr;
        ap->ioaddr.altstatus_addr = ctl_addr;
