diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2008-06-10 00:02:10 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2008-06-10 00:02:10 +0000 |
commit | 5f42a25d75da60714ac574d155927a71f5146c3b (patch) | |
tree | ab2333503575f45694de731c997db3dd045d4aa6 /sys/arch/sparc64/conf | |
parent | f09b80b8041b6dc0d6ea840aa88fe0235bef0282 (diff) |
Add cmp(4), a dummy driver to make attaching CMT cpus easier.
Diffstat (limited to 'sys/arch/sparc64/conf')
-rw-r--r-- | sys/arch/sparc64/conf/GENERIC | 4 | ||||
-rw-r--r-- | sys/arch/sparc64/conf/GENERIC.MP | 3 | ||||
-rw-r--r-- | sys/arch/sparc64/conf/files.sparc64 | 6 |
3 files changed, 10 insertions, 3 deletions
diff --git a/sys/arch/sparc64/conf/GENERIC b/sys/arch/sparc64/conf/GENERIC index 3ddf593e3f3..e92ee9a98e1 100644 --- a/sys/arch/sparc64/conf/GENERIC +++ b/sys/arch/sparc64/conf/GENERIC @@ -1,4 +1,4 @@ -# $OpenBSD: GENERIC,v 1.203 2008/05/25 07:48:46 brad Exp $ +# $OpenBSD: GENERIC,v 1.204 2008/06/10 00:02:09 kettenis Exp $ # # For further information on compiling OpenBSD kernels, see the config(8) # man page. @@ -30,6 +30,8 @@ config bsd swap generic # Main bus and CPU .. all systems. mainbus0 at root cpu0 at mainbus0 +cmp* at mainbus0 +cpu0 at cmp? # Bus types found on SPARC systems. sbus* at mainbus0 diff --git a/sys/arch/sparc64/conf/GENERIC.MP b/sys/arch/sparc64/conf/GENERIC.MP index da7d6b4075a..d0ce3793311 100644 --- a/sys/arch/sparc64/conf/GENERIC.MP +++ b/sys/arch/sparc64/conf/GENERIC.MP @@ -1,4 +1,4 @@ -# $OpenBSD: GENERIC.MP,v 1.1 2007/10/17 21:31:13 kettenis Exp $ +# $OpenBSD: GENERIC.MP,v 1.2 2008/06/10 00:02:09 kettenis Exp $ include "arch/sparc64/conf/GENERIC" @@ -6,3 +6,4 @@ option MULTIPROCESSOR #option MP_LOCKDEBUG cpu* at mainbus? +cpu* at cmp? diff --git a/sys/arch/sparc64/conf/files.sparc64 b/sys/arch/sparc64/conf/files.sparc64 index 70f9b5270af..f687c16acc5 100644 --- a/sys/arch/sparc64/conf/files.sparc64 +++ b/sys/arch/sparc64/conf/files.sparc64 @@ -1,4 +1,4 @@ -# $OpenBSD: files.sparc64,v 1.105 2008/04/21 04:50:22 deraadt Exp $ +# $OpenBSD: files.sparc64,v 1.106 2008/06/10 00:02:09 kettenis Exp $ # $NetBSD: files.sparc64,v 1.50 2001/08/10 20:53:50 eeh Exp $ # maxpartitions must be first item in files.${ARCH} @@ -149,6 +149,10 @@ device cpu attach cpu at mainbus file arch/sparc64/sparc64/cpu.c +device cmp: mainbus +attach cmp at mainbus +file arch/sparc64/dev/cmp.c cmp + device auxio attach auxio at ebus with auxio_ebus attach auxio at sbus with auxio_sbus |