linux-mips
[Top] [All Lists]

[MIPS, 2.6.16, PATCH] Fix SWARM onboard IDE probing

To: linux-mips@linux-mips.org
Subject: [MIPS, 2.6.16, PATCH] Fix SWARM onboard IDE probing
From: Thiemo Seufer <ths@networkno.de>
Date: Mon, 25 Feb 2008 19:17:49 +0000
Cc: ralf@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.17+20080114 (2008-01-14)
linux-2.6.16-stable misses the IDE probing fix which is already applied
to later stable branches (from linux-2.6.17-stable onwards). It is
needed to access the SWARM onboard IDE device.


Signed-off-by: Thiemo Seufer <ths@networkno.de>

diff --git a/drivers/ide/mips/swarm.c b/drivers/ide/mips/swarm.c
index 66f6064..f75d34e 100644
--- a/drivers/ide/mips/swarm.c
+++ b/drivers/ide/mips/swarm.c
@@ -127,6 +127,7 @@ static int __devinit swarm_ide_probe(struct device *dev)
        memcpy(hwif->io_ports, hwif->hw.io_ports, sizeof(hwif->io_ports));
        hwif->irq = hwif->hw.irq;
 
+       probe_hwif_init(hwif);
        dev_set_drvdata(dev, hwif);
 
        return 0;

<Prev in Thread] Current Thread [Next in Thread>