Re: yenta_socket

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> On Mon, 23 May 2005 18:45:01 +0400, Dmitriy Tochansky <toch@xxxxxxxxx> 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


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux