Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S270332AbUJUCk1 (ORCPT ); Wed, 20 Oct 2004 22:40:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S270627AbUJUCkV (ORCPT ); Wed, 20 Oct 2004 22:40:21 -0400 Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:61879 "EHLO www.linux.org.uk") by vger.kernel.org with ESMTP id S270332AbUJUCh0 (ORCPT ); Wed, 20 Oct 2004 22:37:26 -0400 Message-ID: <417720D6.1030908@pobox.com> Date: Wed, 20 Oct 2004 22:37:10 -0400 From: Jeff Garzik User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040922 X-Accept-Language: en-us, en MIME-Version: 1.0 To: viro@parcelfarce.linux.theplanet.co.uk CC: Linus Torvalds , John Cherry , Matthew Dharm , Kernel Mailing List , "linux-ide@vger.kernel.org" Subject: Re: Linux v2.6.9... (compile stats) References: <1098196575.4320.0.camel@cherrybomb.pdx.osdl.net> <20041019161834.GA23821@one-eyed-alien.net> <1098310286.3381.5.camel@cherrybomb.pdx.osdl.net> <20041020224106.GM23987@parcelfarce.linux.theplanet.co.uk> <41770307.5060304@pobox.com> <20041021015522.GH23987@parcelfarce.linux.theplanet.co.uk> <41771813.8090204@pobox.com> <20041021022442.GI23987@parcelfarce.linux.theplanet.co.uk> In-Reply-To: <20041021022442.GI23987@parcelfarce.linux.theplanet.co.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 901 Lines: 25 viro@parcelfarce.linux.theplanet.co.uk wrote: > IDGI. Why do you insist on releasing these guys in library code? Even Because there are two distinct and separate models of port mapping/usage: 1) A bunch of separate IO address spaces (PIO). The "mapping" is currently done in ata_pci_init_native_mode() and ata_pci_init_legacy_mode() 2) One single linear address space (MMIO). The mapping is done in the low-level driver. #1 is in the library because the logic is duplicated _precisely_, across multiple host controllers, according to a hardware specification. Thus, if the mapping is done in the library core, so should the unmapping. Jeff - 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/