Return-path: Received: from rv-out-0506.google.com ([209.85.198.227]:28429 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751175AbYHLVtw (ORCPT ); Tue, 12 Aug 2008 17:49:52 -0400 Received: by rv-out-0506.google.com with SMTP id k40so2987926rvb.1 for ; Tue, 12 Aug 2008 14:49:51 -0700 (PDT) Message-ID: <1ba2fa240808121449j4c04039bu2fc9b58129dc6027@mail.gmail.com> (sfid-20080812_234955_886170_1B6F4B85) Date: Wed, 13 Aug 2008 00:49:51 +0300 From: "Tomas Winkler" To: "Jiri Slaby" Subject: Re: iwl + iomap + readl/writel Cc: yi.zhu@intel.com, reinette.chatre@intel.com, linux-wireless , "Linux Kernel Mailing List" In-Reply-To: <48A1F734.7040801@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 References: <48A1F734.7040801@gmail.com> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Tue, Aug 12, 2008 at 11:48 PM, Jiri Slaby wrote: > Hi, > > I spotted that iwl drivers use readl method on an iomap space. IIRC some > archs might return a tag instead of an address expected by readl/writel. > > I think you should either switch to ioread32/iowrite32 or to ioremap. Can you give me reading material on this? Thanks Tomas