pata_sil680 is broken on Linkstation amd Kurobox HG machines since 2.6.24. Work around the breakage until a real fix is found. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> --- On Tue, 26 Feb 2008, Benjamin Herrenschmidt wrote:How about the one below? I'd really like to get it in for 2.6.25 to avoid a second broken stable kernel on these machines. Ben, please verify that your cell machines still work. Thanks Guennadi diff --git a/drivers/ata/pata_sil680.c b/drivers/ata/pata_sil680.c index 503245a..75179ff 100644 --- a/drivers/ata/pata_sil680.c +++ b/drivers/ata/pata_sil680.c @@ -335,9 +335,12 @@ static int __devinit sil680_init_one(struct pci_dev *pdev, }; const struct ata_port_info *ppi[] = { &info, NULL }; static int printed_version; +#ifdef CONFIG_PPC64 struct ata_host *host; void __iomem *mmio_base; - int rc, try_mmio; + int rc; +#endif + int try_mmio; if (!printed_version++) dev_printk(KERN_DEBUG, &pdev->dev, "version " DRV_VERSION "\n"); @@ -350,7 +353,8 @@ static int __devinit sil680_init_one(struct pci_dev *pdev, return -ENODEV; } - if (!try_mmio) +#ifdef CONFIG_PPC64 + if (!try_mmio || !machine_is(cell)) goto use_ioports; /* Try to acquire MMIO resources and fallback to PIO if @@ -396,6 +400,7 @@ static int __devinit sil680_init_one(struct pci_dev *pdev, &sil680_sht); use_ioports: +#endif return ata_pci_init_one(pdev, ppi); } --
| Artem Bityutskiy | [PATCH 10/44 take 2] [UBI] debug unit implementation |
| Andrea Arcangeli | [PATCH 00 of 11] mmu notifier #v16 |
| David Brown | Re: Linux 2.6.21-rc2 |
| Ingo Molnar | [patch] softlockup watchdog: fix Xen bogosity |
git: | |
| Johannes Schindelin | Re: [PATCH 1/4] Move redo merge code in a function |
| Jeff Garzik | Re: cleaner/better zlib sources? |
| Nguyen Thai Ngoc Duy | Re: I don't want the .git directory next to my code. |
| Junio C Hamano | Re: [PATCH 2/2] git-gc: skip stashes when expiring reflogs |
| David Higgs | Re: Using the C programming language |
| Chris Bullock | OpenBSD isakmpd and pf vs Cisco PIX or ASA |
| Chris S | Re: No text cursor on OpenBSD/i386 4.1 |
| Richard Stallman | Real men don't attack straw men |
| mgrjtb | GCC 2.2.2 |
| Jojie R. T. | Re: SLS |
| Peter MacDonald | demand paging: proposal |
| C Wayne Huling | Re: Can males come from... |
| Battery Maximizer Software | 9 hours ago | Linux kernel |
| windows folder creation surprise | 10 hours ago | Windows |
| Problem in scim in Fedora 9 | 12 hours ago | Linux general |
| Firewall | 1 day ago | OpenBSD |
| IP layer send packet | 1 day ago | Linux kernel |
| dtrace for linux available | 2 days ago | Linux kernel |
| Unable to mount ramdisk image using UBoot while upgrading to 2.6.15 kernel for a MPC8540 based target | 2 days ago | Linux kernel |
| RealTek RTL8169 - can't connect | 2 days ago | NetBSD |
| vsftpd Upload Problems | 2 days ago | Linux general |
| creating con folder in desktop | 3 days ago | Windows |
