Re: 2.6.18-rc1 fails to boot on E250

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> "maz" == Marc Zyngier <maz@xxxxxxxxxxxxxxx> writes:

maz> Would have to swap between 0x1fff1400000 and 0x1fff1400040. I'll try
maz> to come up with a patch if I can spare some time tonight.

I tried the following patch, without much success.  Looks like
*nothing* hits the serial console if '-p' isn't set on the command
line. I still suspect that this patch is valid though. Oh well...

Off to some more head scratching.

	M.

[SPARC64] Fix sunsab ports ordering

Register second SAB port before the first one, as serial A is wired to
it, and expected to appear as ttyS0.

Signed-off-by: Marc Zyngier <maz@xxxxxxxxxxxxxxx>

diff --git a/drivers/serial/sunsab.c b/drivers/serial/sunsab.c
index 979497f..cb55d81 100644
--- a/drivers/serial/sunsab.c
+++ b/drivers/serial/sunsab.c
@@ -1061,8 +1061,8 @@ static int __devinit sab_probe(struct of
 		return err;
 	}
 
-	uart_add_one_port(&sunsab_reg, &up[0].port);
 	uart_add_one_port(&sunsab_reg, &up[1].port);
+	uart_add_one_port(&sunsab_reg, &up[0].port);
 
 	dev_set_drvdata(&op->dev, &up[0]);
 

-- 
And if you don't know where you're going, any road will take you there...
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux