patch-2.4.0-test9 linux/arch/sparc64/kernel/central.c
Next file: linux/arch/sparc64/kernel/entry.S
Previous file: linux/arch/sparc64/kernel/auxio.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Tue Oct 3 09:24:41 2000
- Orig file:
v2.4.0-test8/linux/arch/sparc64/kernel/central.c
- Orig date:
Mon Dec 20 22:05:52 1999
diff -u --recursive --new-file v2.4.0-test8/linux/arch/sparc64/kernel/central.c linux/arch/sparc64/kernel/central.c
@@ -1,4 +1,4 @@
-/* $Id: central.c,v 1.13 1999/12/01 10:44:43 davem Exp $
+/* $Id: central.c,v 1.14 2000/09/21 06:25:14 anton Exp $
* central.c: Central FHC driver for Sunfire/Starfire/Wildfire.
*
* Copyright (C) 1997, 1999 David S. Miller (davem@redhat.com)
@@ -15,6 +15,7 @@
#include <asm/page.h>
#include <asm/fhc.h>
+#include <asm/starfire.h>
struct linux_central *central_bus = NULL;
struct linux_fhc *fhc_list = NULL;
@@ -254,9 +255,8 @@
cnode = prom_finddevice("/central");
if(cnode == 0 || cnode == -1) {
- extern void starfire_check(void);
-
- starfire_check();
+ if (this_is_starfire)
+ starfire_cpu_setup();
return;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)