From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from hera.kernel.org (hera.kernel.org [140.211.167.34]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 1082ADDED9 for ; Thu, 9 Apr 2009 07:14:13 +1000 (EST) Message-ID: <49DD1375.8030400@kernel.org> Date: Wed, 08 Apr 2009 14:13:25 -0700 From: Tejun Heo MIME-Version: 1.0 To: Timur Tabi Subject: Re: "ahci: drop intx manipulation on msi enable" breaks ULI M1575 References: <49DB6914.1030107@freescale.com> <49DBE858.9040004@kernel.org> <1239156559.10104.7.camel@localhost> <49DD1154.3040106@kernel.org> <49DD11D1.7060105@freescale.com> In-Reply-To: <49DD11D1.7060105@freescale.com> Content-Type: text/plain; charset=ISO-8859-1 Cc: linux-ide@vger.kernel.org, Jeff Garzik , Linux PPC Development List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Timur Tabi wrote: > Tejun Heo wrote: > >> Running "lspci -nnvvvxxx" before loading the driver should be enough. > > That might be difficult. My root file system is on my SATA drive. > It'll be a while before I can build an NFS rootfs. > Yeah, right. The following patch should do the trick then. diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index 788bba2..b3f4df7 100644 --- a/drivers/ata/ahci.c +++ b/drivers/ata/ahci.c @@ -2606,6 +2606,12 @@ static int ahci_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) if (!printed_version++) dev_printk(KERN_DEBUG, &pdev->dev, "version " DRV_VERSION "\n"); + { + u16 cmd; + pci_read_config_word(pdev, PCI_COMMAND, &cmd); + printk("XXX PCI_COMMAND=0x%x\n", cmd); + } + /* The AHCI driver can only drive the SATA ports, the PATA driver can drive them all so if both drivers are selected make sure AHCI stays out of the way */ -- tejun