Commit Graph

137882 Commits

Author SHA1 Message Date
briggs 5d84927b8c Marvell 88E1111 from Dave Huang in PR kern/30556 2005-06-23 19:19:05 +00:00
junyoung 07350a5981 Drop trailing spaces. 2005-06-23 19:14:23 +00:00
thorpej 2f6855b6ca Use ANSI function decls. 2005-06-23 18:46:17 +00:00
thorpej 6e4d6e6cdb Use ANSI decls, liberally apply static. 2005-06-23 18:44:44 +00:00
xtraeme ddd459d409 Add missing '\n' into usage(). 2005-06-23 17:25:31 +00:00
thorpej e871a0392f Remove the last references to M_NAMEI; everything should be using PNBUF_*()
now (for a long time now).  Remove M_NAMEI, and bump the kernel version to
3.99.7 to reflect its removal.
2005-06-23 17:00:30 +00:00
jmmv 92e653c23c Let this build again by removing ieee80211_compat.h's inclusion (which does
not exist any more).
2005-06-23 14:33:33 +00:00
wiz 006993c282 s/PCIBIOS_FIXUP/PCI_FIXUP/ in printf, from Patrick Welche in PR 30583. 2005-06-23 14:20:23 +00:00
peter d8045b5285 Add ".An -nosplit" to avoid getting newlines for every .An macro. 2005-06-23 12:47:38 +00:00
peter d595622625 Add .An -nosplit to the beginning of the section.
Suggested by Thomas Klausner.
2005-06-23 12:01:48 +00:00
peter 96c9cff75c Use .An name Aq email. 2005-06-23 11:00:47 +00:00
junyoung 4367c48d6c cd9660 support for i386 BIOS bootloader. 2005-06-23 07:12:07 +00:00
christos ea7965eb77 cleanup utmp and utmpx support.
- make them symmetric
	- add a function to open the wtmp file explicitly very early in the game
2005-06-23 04:20:41 +00:00
atatat 277396bd87 Bend the 'L', 'M', and 'H' modifiers to work on the size, whereby it
is rounded to the nearest kilobyte, megabyte, or gigabyte.
Implemented at lukem's request since some things can't deal with
overly large numbers when files are really large.

Have to do something like humanize_number(3), but that interface isn't
really what I'm looking for.  I think.  More examination required.
2005-06-23 03:13:24 +00:00
lukem a30f20fce8 make .OBJDIR semantics cleanup 2005-06-23 02:33:19 +00:00
lukem a6a204d392 Deprecate support for automagically setting the .OBJDIR to
./obj.${MACHINE}
	./obj
	/usr/obj/${PWD}

The rules for the default .OBJDIR setting are now simplified to
(and documented as) trying the chdir to the following
(if the appropriate variable is defined):
	${MAKEOBJDIRPREFIX}${.CURDIR}
	${MAKEOBJDIR}
	${.CURDIR}

.OBJDIR can be overridden in the makefile.
<bsd.obj.mk> uses this to provide the "culled" .OBJDIR semantics
for NetBSD's /usr/src builds.

MAKEOBJDIRPREFIX & MAKEOBJDIR still can only be provided
in the environment or on make(1)'s command line.

Per discussion on tech-toolchain.
This should reduce a lot of lossage people have experienced over
the years with various .OBJDIR setups.
2005-06-23 02:31:31 +00:00
christos 4bcc1eddf4 Add ST_MAGICLINKS and sort. 2005-06-23 02:04:08 +00:00
christos 2992e723d5 Sync flags. 2005-06-23 01:59:31 +00:00
fvdl a33a5a18b5 If HOSTPROG is empty, do not pull in libutil, since we do not need it in that
case, and several host platforms do not have libutil. Fixes the build of
these programs as host tools on platforms without libutil.
2005-06-23 00:54:47 +00:00
fvdl b14624e508 Pull in DIP_ADD from sys/ufs/ufs/inode.h and use it, to prevent bad lvalue
assignment warnings/errors from gcc4.
2005-06-23 00:53:16 +00:00
thorpej 65412a2710 Implement expansion of special "magic" strings in symlinks into
system-specific values.  Submitted by Chris Demetriou in Nov 1995 (!)
in PR kern/1781, modified only slighly by me.

This is enabled on a per-mount basis with the MNT_MAGICLINKS mount
flag.  It can be enabled at mountroot() time by building the kernel
with the ROOTFS_MAGICLINKS option.

The following magic strings are supported by the implementation:

	@machine	value of MACHINE for the system
	@machine_arch	value of MACHINE_ARCH for the system
	@hostname	the system host name, as set with sethostname()
	@domainname	the system domain name, as set with setdomainname()
	@kernel_ident	the kernel config file name
	@osrelease	the releaes number of the OS
	@ostype		the name of the OS (always "NetBSD" for NetBSD)

Example usage:

	mkdir /arch/i386/bin
	mkdir /arch/sparc/bin
	ln -s /arch/@machine_arch/bin /bin
2005-06-23 00:30:28 +00:00
christos 306d33d145 Don't wait for a background job in a subshell when we are set to EV_EXIT.
While I am here, call forkshell() explicitly FORK_FOO flags instead of
depending in FORK_FG == 0 and FORK_BG == 1.
2005-06-22 23:32:45 +00:00
sekiya 090f77819b Oops, a unilateral DEBUG define crept in with my last commit. 2005-06-22 22:57:17 +00:00
martin adc4b94498 Remove unused <atomic.h> include; add <sys/device.h> includes where
needed.
2005-06-22 22:07:48 +00:00
manu c8b33aa328 report the right process status 2005-06-22 21:57:30 +00:00
elad 6e7c7658ef Fix logic in verbose printing. 2005-06-22 21:50:27 +00:00
he 0ec45ddeab Fix the toolification of disklabel by using the nbinclude namespace
under HAVE_NBTOOL_CONFIG_H for disktab.h as well.  This means
disktab.h has to be installed in the nbinclude include directory.

(Failure mode: with TOOLDIR as a subdirectory of /usr, the host's disktab.h
got picked up, and not the in-tree copy.)

Reviewed by dyoung.
2005-06-22 21:35:28 +00:00
manu dd3259cec0 NAT-T fix: We treat null ports in SPD as wildcard so that IKE ports
are used instead. This was done on phase 2 initiation from the kernel
(acquire message), but not on phase 2 initiation retries when the
phase 2 had been queued  for a phase 1.
2005-06-22 21:28:18 +00:00
dyoung c3455f1205 De-__P().
Consistently pass 'int *' arguments to parsebootfile.
2005-06-22 20:42:45 +00:00
dyoung 8748cff236 Cosmetic: join line. 2005-06-22 20:40:59 +00:00
junyoung f54b3f436a Fix build breakage. Oops. 2005-06-22 20:36:17 +00:00
manu 5e803980cd Fix siginfo to return the right child's status. 2005-06-22 20:20:30 +00:00
hubertf e5a0b604a9 * Change program logic to not nest needlessly
* Search all acronyms databases, and don't force the user to
   know in which category to look (-t is gone)
 * If an acronym is not found in the database or by whatis(1),
   also check pkg_info(1). Per PR bin/30539 by Geert Hendrickx
   (geert.hendrickx@ua.ac.be)

OK'd by Julio M. Merino Vidal <jmmv>
2005-06-22 20:11:03 +00:00
christos 07c1b4dc67 If the string to be printed is NULL substitute "(null)". Approved by core.
This is a workaround to make gcc's behavior consistent, since gcc can
transform:
    printf("%s\n", s) -> puts(s)
    fprintf(fp, "%s", s) -> fputs(s, fp)
as an optimization.
I've left the _DIAGASSERT's that make sure that s != NULL alone because we
should really still abort in a debugging environment.
2005-06-22 19:45:22 +00:00
sekiya e45d20fa18 Remove unnecessary #includes. 2005-06-22 19:17:35 +00:00
junyoung 6a5baa993c ANSIfy and de-__P. 2005-06-22 17:34:30 +00:00
taca fbf091a5b6 Postfix 2.2.4 released. 2005-06-22 16:51:41 +00:00
junyoung 600b956be0 Remove trailing spaces. 2005-06-22 16:35:58 +00:00
junyoung bacc083333 Do not mix assembly-style comments and C-style comments. 2005-06-22 15:29:48 +00:00
manu 6593739f61 Implent CLONE_PARENT_SETTID, CLONE_CHILD_CLEARTID, and CLONE_CHILD_SETTID
options to clone(). This makes fork() work on amd64.

clone() prototype has changed and the changes is probably revelant on some
other arches.
2005-06-22 15:10:51 +00:00
junyoung 1341f2c732 Fix build breakage. 2005-06-22 15:06:19 +00:00
wiz 08ff3e7e12 Remove duplicate apci at mainbus line, from Nicolas Joly in PR 30564. 2005-06-22 14:10:34 +00:00
christos 8fa006901b Deal with nic.de stupidity. Idea from OpenBSD, but simplified. 2005-06-22 12:17:56 +00:00
peter 26b3362b67 Missing m_freem() in bpf_write. PR/29138. 2005-06-22 10:36:16 +00:00
dyoung 9063402978 Resolve conflicts in importation of 18-May-2005 ath(4) / net80211(9)
from FreeBSD.  Introduce compatibility shims (sys/dev/ic/ath_netbsd.[ch],
sys/net80211/ieee80211_netbsd.[ch]).  Update drivers (an, atu, atw,
awi, ipw, iwi, rtw, wi) for the new net80211(9) API.
2005-06-22 06:14:51 +00:00
junyoung 753f88cef9 Use get_harddrives(). 2005-06-22 06:09:47 +00:00
junyoung c53f251ee6 Add support for cd9660 file system to the i386 BIOS bootloader. 2005-06-22 06:06:34 +00:00
junyoung e7cb351275 Cosmetic changes. 2005-06-22 05:30:13 +00:00
kent 4239255ec0 correct synopsis: "audio* at audiobus?", not "audio* at devicename?"
bump date
2005-06-22 04:30:08 +00:00
kent ea2fd937b5 - cross-reference from/to ac97(4)
- correct synopsis: "audio* at audiobus?" instead of "audio* at devicename?"

bump date
2005-06-22 04:19:09 +00:00