From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.lixom.net (lixom.net [66.141.50.11]) by ozlabs.org (Postfix) with ESMTP id E6ABCDDDE9 for ; Thu, 13 Sep 2007 14:39:04 +1000 (EST) Date: Wed, 12 Sep 2007 23:40:11 -0500 From: Olof Johansson To: lakshminarayana babu Subject: Re: Linuxppc-dev Digest, Vol 37, Issue 84 Message-ID: <20070913044011.GA7706@lixom.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, Sep 13, 2007 at 10:01:36AM +0530, lakshminarayana babu wrote: > i am new to the linux.....can you tell me how to access the pci > configuration space using ioremap function...but it is implicit function > declaration... That is architecture and platform dependent. Some platforms don't even have a memory-mappable interface to configuration space. Instead, please use the abstracted config access functions that the kernel provides. (pci_read_config_word and friends). -Olof