From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755022AbZBVXnI (ORCPT ); Sun, 22 Feb 2009 18:43:08 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754102AbZBVXmu (ORCPT ); Sun, 22 Feb 2009 18:42:50 -0500 Received: from palinux.external.hp.com ([192.25.206.14]:42264 "EHLO mail.parisc-linux.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756670AbZBVXmt (ORCPT ); Sun, 22 Feb 2009 18:42:49 -0500 Date: Sun, 22 Feb 2009 16:42:31 -0700 From: Matthew Wilcox To: "Eric W. Biederman" Cc: Prakash Punnoor , Robert Hancock , Yinghai Lu , Jesse Barnes , Andrew Morton , david@lang.hm, linux-kernel , linux-scsi@vger.kernel.org, DL-MPTFusionLinux@lsi.com, linux-pci@vger.kernel.org Subject: Re: [PATCH] pci: enable MSI on 8132 Message-ID: <20090222234231.GB16891@parisc-linux.org> References: <499FD623.1010105@kernel.org> <49A04F1E.7020006@gmail.com> <200902221308.55053.prakash@punnoor.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Feb 22, 2009 at 04:54:54AM -0800, Eric W. Biederman wrote: > + pci_write_config_dword(dev, pos + HT_MSI_ADDR_LO, > + (HT_MSI_FIXED_ADDR & HT_MSI_FIXED_ADDR)); Presumably you meant "(HT_MSI_FIXED_ADDR & 0xffffffff)" here? Not that it makes any difference, since it'll be implicitly truncated. > + pci_write_config_dword(dev, pos + HT_MSI_ADDR_HI, > + (HT_MSI_FIXED_ADDR >> 32)); > + } -- Matthew Wilcox Intel Open Source Technology Centre "Bill, look, we understand that you're interested in selling us this operating system, but compare it to ours. We can't possibly take such a retrograde step."