summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2006-10-24 00:44:40 +0000
committerimp <imp@FreeBSD.org>2006-10-24 00:44:40 +0000
commit4a849e1038ae978e444cecdff690d4aba5f4b050 (patch)
tree76acb51b5aca8dbf69159609c8f8c7470d4d039a /usr.sbin/config
parent340936b70bdb4f940477575096982f8c30f45acd (diff)
downloadFreeBSD-src-4a849e1038ae978e444cecdff690d4aba5f4b050.zip
FreeBSD-src-4a849e1038ae978e444cecdff690d4aba5f4b050.tar.gz
Document multiple hints lines.
Tweak machine description to more accurately reflect second argument being the cpu architecture. Note correspondence with MACHINE and MACHINE_ARCH.
Diffstat (limited to 'usr.sbin/config')
-rw-r--r--usr.sbin/config/config.522
1 files changed, 18 insertions, 4 deletions
diff --git a/usr.sbin/config/config.5 b/usr.sbin/config/config.5
index c562308..f523b7d 100644
--- a/usr.sbin/config/config.5
+++ b/usr.sbin/config/config.5
@@ -146,6 +146,8 @@ The file
.Ar filename
must conform to the syntax specified by
.Xr device.hints 5 .
+Multiple hints lines are allowed.
+The resulting hints will be the files concatenated in the order of appearance.
.\" -------- IDENT --------
.Pp
.It Ic ident Ar name
@@ -164,7 +166,7 @@ and return to the current file after
is successfully processed.
.\" -------- MACHINE --------
.Pp
-.It Ic machine Ar arch Op Ar basearch
+.It Ic machine Ar arch Op Ar cpuarch
Specifies the architecture of the machine the kernel is being
compiled for.
Legal values for
@@ -174,12 +176,16 @@ include:
.Bl -tag -width ".Cm powerpc" -compact
.It Cm alpha
The DEC Alpha architecture.
+.It Cm arm
+The ARM architecture.
.It Cm amd64
The AMD x86-64 architecture.
.It Cm i386
The Intel x86 based PC architecture.
.It Cm ia64
The Intel IA64 architecture.
+.It Cm mips
+The MIPS architecture.
.It Cm pc98
The PC98 architecture.
.It Cm powerpc
@@ -189,15 +195,23 @@ The Sun Sparc64 architecture.
.El
.Pp
If argument
-.Ar basearch
+.Ar cpuarch
is specified, it points
.Xr config 8
-to the base architecture of the machine.
+to the cpu architecture of the machine.
Currently the
.Cm pc98
-architecture requires its base architecture
+architecture requires its cpu architecture
to be set to
.Cm i386 .
+When
+.Ar cpuarch
+is not specified, it is assumed to be the same as
+.Ar arch .
+.Ar arch
+corresponds to MACHINE.
+.Ar cpuarch
+corresponds to MACHINE_ARCH.
.Pp
A kernel configuration file may have only one
.Ic machine
OpenPOWER on IntegriCloud