linux-mips
[Top] [All Lists]

Re: No PCI_AUTO in 2.6...

To: ralf@linux-mips.org
Subject: Re: No PCI_AUTO in 2.6...
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Thu, 16 Dec 2004 11:17:46 +0900 (JST)
Cc: macro@linux-mips.org, wlacey@goldenhindresearch.com, linux-mips@linux-mips.org
In-reply-to: <20041215184213.GB32491@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20041215164036.GC30130@linux-mips.org> <Pine.LNX.4.58L.0412151648460.2706@blysk.ds.pg.gda.pl> <20041215184213.GB32491@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
>>>>> On Wed, 15 Dec 2004 19:42:13 +0100, Ralf Baechle <ralf@linux-mips.org> 
>>>>> said:
>> I know and I consider it a bug.  The correct way would be setting
>> the start at 0 and if avoiding the first kB of space was necessary,
>> setting PCIBIOS_MIN_IO to 0x1000.

ralf> PCIBIOS_MIN_IO is the same value for all busses.  That can turn
ralf> out a bit kludgy so I'm not much of a friend of it.

BTW, yenta_socket driver uses PCIBIOS_MIN_IO and PCIBIOS_MIN_MEM, so
these variables should be exported?

--- linux-mips/arch/mips/pci/pci.c      2004-12-13 09:39:09.000000000 +0900
+++ linux/arch/mips/pci/pci.c   2004-12-13 10:02:32.000000000 +0900
@@ -294,6 +294,8 @@
 
 #ifdef CONFIG_HOTPLUG
 EXPORT_SYMBOL(pcibios_resource_to_bus);
+EXPORT_SYMBOL(PCIBIOS_MIN_IO);
+EXPORT_SYMBOL(PCIBIOS_MIN_MEM);
 #endif
 
 char *pcibios_setup(char *str)

---
Atsushi Nemoto

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