From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <17992.64515.797925.855510@cargo.ozlabs.ibm.com> Date: Tue, 15 May 2007 10:17:07 +1000 From: Paul Mackerras To: Segher Boessenkool Subject: Re: [RFC/PATCH] powerpc: Rewrite IO allocation & mapping on powerpc64 In-Reply-To: <246be0d2277753c0c0b61d0f4131c092@kernel.crashing.org> References: <20070514075415.7999BDDEC8@ozlabs.org> <246be0d2277753c0c0b61d0f4131c092@kernel.crashing.org> Cc: Anton Blanchard , linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Segher Boessenkool writes: > This is wrong -- there are systems with ISA that > also have PCI devices that require 16-bit legacy > I/O windows (e.g., systems with the AMD8111 chip, > like Maple). If they are PCI devices and their drivers use a pci_dev's resources to get to the device's I/O resources, then they are fine. The only reason for reserving the low 64k is to cater for drivers that use a hard-coded port number, e.g. video drivers using the VGA port numbers. We have been gradually getting rid of the hard coded port numbers in drivers but I don't think they're all gone yet. Paul.