head	1.12;
access;
symbols
	RELENG_8_4:1.12.0.2
	RELENG_9_1_0_RELEASE:1.10.2.1.4.2
	RELENG_9_1:1.10.2.1.0.4
	RELENG_9_1_BP:1.10.2.1
	RELENG_8_3_0_RELEASE:1.7.2.3.2.1
	RELENG_8_3:1.7.2.3.0.2
	RELENG_8_3_BP:1.7.2.3
	RELENG_9_0_0_RELEASE:1.10.2.1.2.1
	RELENG_9_0:1.10.2.1.0.2
	RELENG_9_0_BP:1.10.2.1
	RELENG_9:1.10.0.2
	RELENG_9_BP:1.10
	RELENG_8_2_0_RELEASE:1.7.2.2.2.1
	RELENG_8_2:1.7.2.2.0.2
	RELENG_8_2_BP:1.7.2.2
	RELENG_8:1.7.0.2;
locks; strict;
comment	@# @;


1.12
date	2012.11.17.01.52.48;	author svnexp;	state Exp;
branches
	1.12.2.1;
next	1.11;

1.11
date	2012.03.12.21.25.32;	author jmallett;	state Exp;
branches;
next	1.10;

1.10
date	2011.05.11.00.52.41;	author gonzo;	state Exp;
branches
	1.10.2.1;
next	1.9;

1.9
date	2011.04.24.08.58.58;	author mav;	state Exp;
branches;
next	1.8;

1.8
date	2011.01.20.08.15.11;	author jchandra;	state Exp;
branches;
next	1.7;

1.7
date	2010.11.13.22.34.12;	author imp;	state Exp;
branches
	1.7.2.1;
next	1.6;

1.6
date	2010.09.13.16.39.33;	author imp;	state Exp;
branches;
next	1.5;

1.5
date	2010.02.20.06.39.14;	author neel;	state Exp;
branches;
next	1.4;

1.4
date	2010.02.15.23.44.48;	author attilio;	state Exp;
branches;
next	1.3;

1.3
date	2010.02.10.16.30.04;	author attilio;	state Exp;
branches;
next	1.2;

1.2
date	2010.01.12.21.17.36;	author imp;	state Exp;
branches;
next	1.1;

1.1
date	2010.01.09.18.19.31;	author imp;	state Exp;
branches;
next	;

1.12.2.1
date	2012.11.17.01.52.48;	author svnexp;	state dead;
branches;
next	1.12.2.2;

1.12.2.2
date	2013.03.28.13.05.15;	author svnexp;	state Exp;
branches;
next	;

1.10.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.10.2.1.2.1
	1.10.2.1.4.1;
next	1.10.2.2;

1.10.2.2
date	2012.11.17.11.37.15;	author svnexp;	state Exp;
branches;
next	;

1.10.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.10.2.1.2.2;

1.10.2.1.2.2
date	2012.11.17.08.37.11;	author svnexp;	state Exp;
branches;
next	;

1.10.2.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.10.2.1.4.2;

1.10.2.1.4.2
date	2012.11.17.08.48.02;	author svnexp;	state Exp;
branches;
next	;

1.7.2.1
date	2010.11.27.12.26.40;	author jchandra;	state dead;
branches;
next	1.7.2.2;

1.7.2.2
date	2010.11.27.12.26.40;	author jchandra;	state Exp;
branches
	1.7.2.2.2.1;
next	1.7.2.3;

1.7.2.3
date	2011.12.08.00.48.06;	author gonzo;	state Exp;
branches
	1.7.2.3.2.1;
next	1.7.2.4;

1.7.2.4
date	2012.11.17.10.36.54;	author svnexp;	state Exp;
branches;
next	;

1.7.2.2.2.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.7.2.3.2.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.7.2.3.2.2;

1.7.2.3.2.2
date	2012.11.17.08.25.31;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.12
log
@Switching exporter and resync
@
text
@# MALTA -- Kernel config for MALTA boards
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files. 
# If you are in doubt as to the purpose or necessity of a line, check first 
# in NOTES.
#
# $FreeBSD: head/sys/mips/conf/MALTA64 232896 2012-03-12 21:25:32Z jmallett $

ident		MALTA

machine		mips mips64el	# Malta supports both, so it isn't in std.malta

makeoptions	ARCH_FLAGS="-march=mips64 -mabi=64"

options 	YAMON

# Don't build any modules yet.
makeoptions	MODULES_OVERRIDE=""

options 	TICK_USE_YAMON_FREQ=defined
#options 	TICK_USE_MALTA_RTC=defined

include		"../malta/std.malta"

hints		"MALTA.hints"		#Default places to look for devices.

makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols

options 	DDB
options 	KDB

options 	SCHED_4BSD		#4BSD scheduler
options 	INET			#InterNETworking
options 	NFSCL			#Network Filesystem Client
options 	NFS_ROOT		#NFS usable as /, requires NFSCL
options 	PSEUDOFS		#Pseudo-filesystem framework
options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions

options 	FFS			#Berkeley Fast Filesystem
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	UFS_ACL			#Support for access control lists
options 	UFS_DIRHASH		#Improve performance on big directories
options 	ROOTDEVNAME=\"ufs:ada0s1a\"


# Debugging for use in -current
#options 	DEADLKRES		#Enable the deadlock resolver
options 	INVARIANTS		#Enable calls of extra sanity checking
options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
#options 	WITNESS			#Enable checks to detect deadlocks and cycles
#options 	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed

device		loop
device		ether
device		le
device		miibus
device		md
device		uart
@


1.12.2.1
log
@file MALTA64 was added on branch RELENG_8_4 on 2013-03-28 13:05:15 +0000
@
text
@d1 69
@


1.12.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 70
# MALTA -- Kernel config for MALTA boards
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files. 
# If you are in doubt as to the purpose or necessity of a line, check first 
# in NOTES.
#
# $FreeBSD: releng/8.4/sys/mips/conf/MALTA64 228338 2011-12-08 00:48:06Z gonzo $

ident		MALTA

makeoptions	ARCH_FLAGS="-march=mips64 -mabi=64"
makeoptions	MIPS_LITTLE_ENDIAN=defined
makeoptions	LDSCRIPT_NAME=	ldscript.mips.64

options 	YAMON

# Don't build any modules yet.
makeoptions	MODULES_OVERRIDE=""

options 	TICK_USE_YAMON_FREQ=defined
#options 	TICK_USE_MALTA_RTC=defined

include		"../malta/std.malta"

options		ISA_MIPS64

hints		"MALTA.hints"		#Default places to look for devices.

makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols

options 	DDB
options 	KDB

options 	SCHED_4BSD		#4BSD scheduler
options 	INET			#InterNETworking
options 	NFSCLIENT		#Network Filesystem Client
options 	NFS_ROOT		#NFS usable as /, requires NFSCLIENT
options 	PSEUDOFS		#Pseudo-filesystem framework
options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions

options 	FFS			#Berkeley Fast Filesystem
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	UFS_ACL			#Support for access control lists
options 	UFS_DIRHASH		#Improve performance on big directories
options 	ROOTDEVNAME=\"ufs:ad0s1a\"


# Debugging for use in -current
options 	INVARIANTS		#Enable calls of extra sanity checking
options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
#options 	WITNESS			#Enable checks to detect deadlocks and cycles
#options 	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed

device		loop
device		ether
device		le
device		miibus
device		md
device		uart
@


1.11
log
@SVN rev 232896 on 2012-03-12 21:25:32Z by jmallett

o) Use ABI, not ISA_* options, to determine whether to compile bits if libkern
   required for the ABI the kernel is being built for.
   XXX This is implemented in a kind-of nasty way that involves including source
       files, but it's still an improvement.
o) Retire ISA_* options since they're unused and were always wrong.
@
text
@d18 1
a18 1
# $FreeBSD$
@


1.10
log
@SVN rev 221753 on 2011-05-11 00:52:41Z by gonzo

Use new option names for NFS client and NFS server

See UPDATING entry for 20110427
@
text
@a35 2
options		ISA_MIPS64

@


1.10.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.10.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d18 1
a18 1
# $FreeBSD: stable/9/sys/mips/conf/MALTA64 221753 2011-05-11 00:52:41Z gonzo $
@


1.10.2.1.4.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.10.2.1.4.2
log
@Switch importer
@
text
@d18 1
a18 1
# $FreeBSD: releng/9.1/sys/mips/conf/MALTA64 221753 2011-05-11 00:52:41Z gonzo $
@


1.10.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.10.2.1.2.2
log
@Switch importer
@
text
@d18 1
a18 1
# $FreeBSD: releng/9.0/sys/mips/conf/MALTA64 221753 2011-05-11 00:52:41Z gonzo $
@


1.9
log
@SVN rev 220982 on 2011-04-24 08:58:58Z by mav

Switch the GENERIC kernels for all architectures to the new CAM-based ATA
stack. It means that all legacy ATA drivers are disabled and replaced by
respective CAM drivers. If you are using ATA device names in /etc/fstab or
other places, make sure to update them respectively (adX -> adaY,
acdX -> cdY, afdX -> daY, astX -> saY, where 'Y's are the sequential
numbers for each type in order of detection, unless configured otherwise
with tunables, see cam(4)).

ataraid(4) functionality is now supported by the RAID GEOM class.
To use it you can load geom_raid kernel module and use graid(8) tool
for management. Instead of /dev/arX device names, use /dev/raid/rX.
@
text
@d47 2
a48 2
options 	NFSCLIENT		#Network Filesystem Client
options 	NFS_ROOT		#NFS usable as /, requires NFSCLIENT
@


1.8
log
@SVN rev 217626 on 2011-01-20 08:15:11Z by jchandra

ldscript and conf cleanup for MIPS

- Remove sys/conf/ldscript.mips.64 and sys/conf/ldscript.mips.n32 and use
  ldscript.mips for all ABIs. The default OUTPUT_FORMAT of the toolchain
  is correct.
- Remove LDSCRIPT_NAME entires from XLR n32 and n64 conf files.
- Remove TARGET_BIG_ENDIAN from XLR conf files.
- Fix machine entry in XLRN32
@
text
@d56 1
a56 1
options 	ROOTDEVNAME=\"ufs:ad0s1a\"
@


1.7
log
@SVN rev 215270 on 2010-11-13 22:34:12Z by imp

Remove the 'machine mips' from DEFAULTS.  Put the proper 'machine mips
mipsel' or 'machine mips mipseb' into the config file (with a few 64's
tossed in for good measure).  This will let us build the proper
kernels with different worlds as part of make universe.
@
text
@a24 1
makeoptions	LDSCRIPT_NAME=	ldscript.mips.mips64
@


1.7.2.1
log
@file MALTA64 was added on branch RELENG_8 on 2010-11-27 12:29:01 +0000
@
text
@d1 72
@


1.7.2.2
log
@SVN rev 215938 on 2010-11-27 12:26:40Z by jchandra

Merge MIPS platform support to 8-STABLE.

This commit merges the MIPS platform changes that was now stable in
-CURRENT into 8-STABLE. The MIPS changesets are too many (~400) to list
here. But the changesets merged in this commit that affect other platforms
are summarized below:

r204635 : (changes to sys/dev/hwpmc, lib/libpmc, sys/sys/pmc.h)
Add support for hwpmc(4) on the MIPS 24K, 32 bit, embedded processor.

r205845: (changes to sys/modules/Makefile)
Fix for building modules on mips and arm.

r204031: (changes to sys/kern/link_elf_obj.c)
printf fix, as part of kernel module support for MIPS.

r206404: (changes to sys/arm/include/bus.h)
Add BUS_SPACE_UNRESTRICTED and define it to be ~0, just like all the
other platforms - for arm and mips.

r206819: (changes to sys/vm/)
Add VMFS_TLB_ALIGNED_SPACE option and kmem_alloc_nofault_space(), which
is used to allocate kernel stack address on MIPS.

r208165, r211087: (sys/kern/subr_smp.c, sys/kern/sched_ule.c)
Enable ULE scheduler for MIPS, Fix for an issue in SMP when 32 cpus are
enabled.

r208659: (sys/{ia64/ia64,mips/mips,sun4v/sun4v}/pmap.c)
Simplify the inner loop of get_pv_entry()

r208794: (changes to sys/vm/)
Make vm_contig_grow_cache() extern, and use it when vm_phys_alloc_contig()
fails to allocate MIPS page table pages.

r210327:  (changes to sys/vm/)
Support for MIPS page table page allocation.  Add a new function 'vm_page_t
vm_page_alloc_freelist(int flind, int order, int req)' to vm/vm_page.c to
allocate a page from a specified freelist, and other related changes.

Reviewed by:	alc(vm changes only)
Approved by:	kib(re), alc(vm), imp(mips), jmallett(mips), gnn(mips pmc)
@
text
@a0 70
# MALTA -- Kernel config for MALTA boards
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files. 
# If you are in doubt as to the purpose or necessity of a line, check first 
# in NOTES.
#
# $FreeBSD$

ident		MALTA

makeoptions	ARCH_FLAGS="-march=mips64 -mabi=64"
makeoptions	MIPS_LITTLE_ENDIAN=defined
makeoptions	LDSCRIPT_NAME=	ldscript.mips.mips64

options 	YAMON

# Don't build any modules yet.
makeoptions	MODULES_OVERRIDE=""

options 	TICK_USE_YAMON_FREQ=defined
#options 	TICK_USE_MALTA_RTC=defined

include		"../malta/std.malta"

options		ISA_MIPS64

hints		"MALTA.hints"		#Default places to look for devices.

makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols

options 	DDB
options 	KDB

options 	SCHED_4BSD		#4BSD scheduler
options 	INET			#InterNETworking
options 	NFSCLIENT		#Network Filesystem Client
options 	NFS_ROOT		#NFS usable as /, requires NFSCLIENT
options 	PSEUDOFS		#Pseudo-filesystem framework
options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions

options 	FFS			#Berkeley Fast Filesystem
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	UFS_ACL			#Support for access control lists
options 	UFS_DIRHASH		#Improve performance on big directories
options 	ROOTDEVNAME=\"ufs:ad0s1a\"


# Debugging for use in -current
options 	INVARIANTS		#Enable calls of extra sanity checking
options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
#options 	WITNESS			#Enable checks to detect deadlocks and cycles
#options 	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed

device		loop
device		ether
device		le
device		miibus
device		md
device		uart
@


1.7.2.3
log
@SVN rev 228338 on 2011-12-08 00:48:06Z by gonzo

Unbreak MALTA64 build by providing proper ldscript name
@
text
@d24 1
a24 1
makeoptions	LDSCRIPT_NAME=	ldscript.mips.64
@


1.7.2.4
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d18 1
a18 1
# $FreeBSD: stable/8/sys/mips/conf/MALTA64 228338 2011-12-08 00:48:06Z gonzo $
@


1.7.2.3.2.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.7.2.3.2.2
log
@Switch importer
@
text
@d18 1
a18 1
# $FreeBSD: releng/8.3/sys/mips/conf/MALTA64 228338 2011-12-08 00:48:06Z gonzo $
@


1.7.2.2.2.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.6
log
@SVN rev 212560 on 2010-09-13 16:39:33Z by imp

TARGET_64BIT isn't needed anymore, GC it (partial merge from tbemd).
@
text
@d22 2
a24 1
makeoptions	MIPS_LITTLE_ENDIAN=defined
@


1.5
log
@SVN rev 204108 on 2010-02-20 06:39:14Z by neel

Get rid of unused options: KERNPHYSADDR, KERNVIRTADDR, PHYSADDR, PHYS_ADDR_64BIT

Discussed with: gonzo, imp
@
text
@a23 1
makeoptions	TARGET_64BIT=t
@


1.4
log
@SVN rev 203938 on 2010-02-15 23:44:48Z by attilio

Adjust style (following the already existing rules) for the newly
introduced option DEADLKRES.

Reported by:	danfe, julian, avg
@
text
@a31 1
options 	KERNVIRTADDR=0x80100000
@


1.3
log
@SVN rev 203758 on 2010-02-10 16:30:04Z by attilio

Add the options DEADLKRES (introducing the deadlock resolver thread) in
the 'debugging' section of any HEAD kernel and enable for the mainstream
ones, excluding the embedded architectures.
It may, of course, enabled on a case-by-case basis.

Sponsored by:	Sandvine Incorporated
Requested by:	emaste
Discussed with:	kib
@
text
@d62 1
a62 1
#options	DEADLKRES		#Enable the deadlock resolver
@


1.2
log
@SVN rev 202173 on 2010-01-12 21:17:36Z by imp

Place proper svn:keywords tag on all these files.  They were created
somehow without them on projects/mips, and that mistake was propigated
over to head.

Submitted by:	rpaulo@@
@
text
@d62 1
@


1.1
log
@SVN rev 201916 on 2010-01-09 18:19:31Z by imp

Merge from projects/mips to head by hand:

Copy over MALTA64, the 64-bit varianat of the malta board...
@
text
@@

