linux-mips
[Top] [All Lists]

Re: yenta_socket

To: linux-mips@linux-mips.org
Subject: Re: yenta_socket
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Tue, 24 May 2005 00:54:47 +0900 (JST)
In-reply-to: <20050523184501.3e733eb3.toch@dfpost.ru>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20050523184501.3e733eb3.toch@dfpost.ru>
Sender: linux-mips-bounce@linux-mips.org
>>>>> On Mon, 23 May 2005 18:45:01 +0400, Dmitriy Tochansky <toch@dfpost.ru> 
>>>>> said:

toch> Im enable cardbus yenta type in kernel config and see the
toch> follow:

toch> yenta 0000:00:11.0: Preassigned resource 0 busy, reconfiguring...
toch> yenta 0000:00:11.0: Preassigned resource 1 busy, reconfiguring...

I think these messages are due to confliction with resource management
codes in drivers/pci/setup-bus.c.  Though I do not see details yet,
this quick workaround might solve this issue.

--- linux-mips/drivers/pcmcia/yenta_socket.c    2005-04-18 00:43:34.000000000 
+0900
+++ linux/drivers/pcmcia/yenta_socket.c 2005-05-04 00:21:38.000000000 +0900
@@ -611,10 +611,12 @@
  */
 static void yenta_allocate_resources(struct yenta_socket *socket)
 {
+#if 0
        yenta_allocate_res(socket, 0, IORESOURCE_MEM|IORESOURCE_PREFETCH);
        yenta_allocate_res(socket, 1, IORESOURCE_MEM);
        yenta_allocate_res(socket, 2, IORESOURCE_IO);
        yenta_allocate_res(socket, 3, IORESOURCE_IO);   /* PCI isn't clever 
enough to use this one yet */
+#endif
 }
 
 
---
Atsushi Nemoto

<Prev in Thread] Current Thread [Next in Thread>