Re: 2.5.75-mm1 yenta-socket lsPCI IRQ reads incorrect

From: Michael Frank (mflt1@micrologica.com.hk)
Date: Mon Jul 14 2003 - 04:28:24 EST


On Monday 14 July 2003 13:41, Michael Frank wrote:
>
> Dunno if this is hardware readback fault or driver issue.
>

Very funny - suspend/resume is not implemented ;)

static int yenta_suspend(struct pcmcia_socket *sock)
{
        struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket);

        yenta_set_socket(sock, &dead_socket);

        /* Disable interrupts */
        cb_writel(socket, CB_SOCKET_MASK, 0x0);

        /*
         * This does not work currently. The controller
         * loses too much information during D3 to come up
         * cleanly. We should probably fix yenta_init()
         * to update all the critical registers, notably
         * the IO and MEM bridging region data.. That is
         * something that pci_set_power_state() should
         * probably know about bridges anyway.
         *
        pci_set_power_state(socket->dev, 3);
         */

        return 0;
}

Regards
Michael

-- 
Powered by linux-2.5.75-mm1. Compiled with gcc-2.95-3 - mature and rock solid

My current linux related activities: - 2.5 yenta_socket testing - Test development and testing of swsusp for 2.4/2.5 and ACPI S3 of 2.5 kernel - Everyday usage of 2.5 kernel

More info on 2.5 kernel: http://www.codemonkey.org.uk/post-halloween-2.5.txt More info on swsusp: http://sourceforge.net/projects/swsusp/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 15 2003 - 22:00:50 EST