public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* execute sn2 early console setup only on sn2s
@ 2005-08-30 20:34 Greg Edwards
  2005-08-30 20:45 ` Andreas Schwab
  2005-08-30 20:56 ` Greg Edwards
  0 siblings, 2 replies; 3+ messages in thread
From: Greg Edwards @ 2005-08-30 20:34 UTC (permalink / raw)
  To: linux-ia64

Encapsulate the sn2 early console setup in a platform check.
HP reported this causing some problems with console setup on some of
their boxes.

Signed-off-by: Greg Edwards <edwardsg@sgi.com>


Index: git-linus/arch/ia64/kernel/setup.c
=================================--- git-linus.orig/arch/ia64/kernel/setup.c	2005-08-30 15:13:11.399460142 -0500
+++ git-linus/arch/ia64/kernel/setup.c	2005-08-30 15:15:53.959188707 -0500
@@ -288,7 +288,7 @@ early_console_setup (char *cmdline)
 	int earlycons = 0;
 
 #ifdef CONFIG_SERIAL_SGI_L1_CONSOLE
-	{
+	if (ia64_platform_is("sn2")) {
 		extern int sn_serial_console_early_setup(void);
 		if (!sn_serial_console_early_setup())
 			earlycons++;

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: execute sn2 early console setup only on sn2s
  2005-08-30 20:34 execute sn2 early console setup only on sn2s Greg Edwards
@ 2005-08-30 20:45 ` Andreas Schwab
  2005-08-30 20:56 ` Greg Edwards
  1 sibling, 0 replies; 3+ messages in thread
From: Andreas Schwab @ 2005-08-30 20:45 UTC (permalink / raw)
  To: linux-ia64

Greg Edwards <edwardsg@sgi.com> writes:

> Index: git-linus/arch/ia64/kernel/setup.c
> =================================> --- git-linus.orig/arch/ia64/kernel/setup.c	2005-08-30 15:13:11.399460142 -0500
> +++ git-linus/arch/ia64/kernel/setup.c	2005-08-30 15:15:53.959188707 -0500
> @@ -288,7 +288,7 @@ early_console_setup (char *cmdline)
>  	int earlycons = 0;
>  
>  #ifdef CONFIG_SERIAL_SGI_L1_CONSOLE
> -	{
> +	if (ia64_platform_is("sn2")) {
>  		extern int sn_serial_console_early_setup(void);
>  		if (!sn_serial_console_early_setup())
>  			earlycons++;

The first thing sn_serial_console_early_setup does is to check for sn2.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: execute sn2 early console setup only on sn2s
  2005-08-30 20:34 execute sn2 early console setup only on sn2s Greg Edwards
  2005-08-30 20:45 ` Andreas Schwab
@ 2005-08-30 20:56 ` Greg Edwards
  1 sibling, 0 replies; 3+ messages in thread
From: Greg Edwards @ 2005-08-30 20:56 UTC (permalink / raw)
  To: linux-ia64

On Tue, Aug 30, 2005 at 10:45:18PM +0200, Andreas Schwab wrote:
| Greg Edwards <edwardsg@sgi.com> writes:
| 
| > Index: git-linus/arch/ia64/kernel/setup.c
| > =================================| > --- git-linus.orig/arch/ia64/kernel/setup.c	2005-08-30 15:13:11.399460142 -0500
| > +++ git-linus/arch/ia64/kernel/setup.c	2005-08-30 15:15:53.959188707 -0500
| > @@ -288,7 +288,7 @@ early_console_setup (char *cmdline)
| >  	int earlycons = 0;
| >  
| >  #ifdef CONFIG_SERIAL_SGI_L1_CONSOLE
| > -	{
| > +	if (ia64_platform_is("sn2")) {
| >  		extern int sn_serial_console_early_setup(void);
| >  		if (!sn_serial_console_early_setup())
| >  			earlycons++;
| 
| The first thing sn_serial_console_early_setup does is to check for sn2.

Ugg.  Completely forget this.  I was getting this confused with a
different SuSE tree.  ;)

Greg

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-08-30 20:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-30 20:34 execute sn2 early console setup only on sn2s Greg Edwards
2005-08-30 20:45 ` Andreas Schwab
2005-08-30 20:56 ` Greg Edwards

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox