RE: [PATCH/2.6.17-rc4 10/10] bugs fix for marvell SATA on powerp c pl atform
From: Zang Roy-r61911 <hidden>
Date: 2006-05-19 04:06:40
Also in:
linux-ide, lkml
From: Zang Roy-r61911 <hidden>
Date: 2006-05-19 04:06:40
Also in:
linux-ide, lkml
Jeff Garzik wrote:quoted
Benjamin Herrenschmidt wrote:quoted
On Thu, 2006-05-18 at 12:03 +0800, Zang Roy-r61911 wrote:..quoted
quoted
quoted
@@ -1567,13 +1570,18 @@ static void mv5_read_preamp(struct mv_ho static void mv5_enable_leds(struct mv_host_priv *hpriv,void __iomemquoted
quoted
*mmio)quoted
{ u32 tmp; - +#ifndef CONFIG_PPC writel(0, mmio + MV_GPIO_PORT_CTL); +#endifYou'll have to do better here too... I don't wee why whencompiled onquoted
quoted
PPC, this driver should "magically" not clear thosebits... At the veryquoted
quoted
least, you should test the machine type if you want to do something specific to your platform, but first, you'll have toconvince Jeff whyquoted
quoted
this change has to be done in the first place and if thereis a betterquoted
quoted
way to handle it.Correct... it does seem some bugs were found, but #ifdefpowerpc isquoted
certainly out of the question. We want the driver to work without ifdefs on all platforms.Yup. I have a powerpc platform here with PCI-X, and a PCI-X Marvell card to try in it. So I'll pick up these changes and try to integrate them a little more nicely in my internal updated driver, and then pass it on to Jeff. Cheers