Commit Graph

138050 Commits

Author SHA1 Message Date
wiz
4e5ff88a4c Bump date for previous. 2005-06-24 11:39:11 +00:00
peter
fb059bb119 Note that flag -a is obsolete. Thanks to Darrin B. Jewell.
Should fix PR/26883 from Hauke Fath.
2005-06-24 11:28:54 +00:00
skrll
33cefe6116 Regen. 2005-06-24 08:10:26 +00:00
skrll
9b23341147 Add the DeLorme Earthmate GPS. From FreeBSD.
Add the Cypress microcontroller based USB-RS232 Interface
2005-06-24 08:09:31 +00:00
jdc
92c2871701 Make fb a link to fb0.
Add an entry for fb1.
2005-06-24 06:43:40 +00:00
jdc
7a2ed0814d Add an entry for fb1. 2005-06-24 06:43:06 +00:00
jdc
42990f95a3 Attach multiple displays as fb0, fb1, ... so that X can use multiple heads
via the /dev/fbn abstraction.  Framebuffers are attached in probe order.
However, the previous semantics are kept, so that the detected or forced
console will always be fb0.
2005-06-24 06:40:05 +00:00
lukem
50e70cd0ee revert previous for now 2005-06-24 04:33:25 +00:00
lukem
62955ed1ec Revert rev 1.110 and restore the previous "automagic objdir" support;
at least until we clean up the objdir semantics in <bsd.obj.mk> for
NetBSD builds.
2005-06-24 02:53:27 +00:00
rpaulo
ec4e36b7c2 Add support for ASIX AX88140A/AX88141 chipsets using only
the 10/100 MII with inspiration from FreeBSD dc(4) driver.

Tested on i386 and macppc.

Reviewed by Jason Thorpe and ok'ed by Hubert Feyrer.
2005-06-23 23:51:41 +00:00
sekiya
aae1d2ace1 ACPI_PCI_FIXUP -> PCI_INTR_FIXUP 2005-06-23 23:39:40 +00:00
thorpej
73c9fbb0e6 Use ANSI function decls. Apply some static. 2005-06-23 23:15:12 +00:00
christos
b61c2197f1 Revert part of the previous commit. We cannot fix the problem by not waiting.
The problem is that the subshell code is not doing redirections properly.
2005-06-23 23:05:29 +00:00
junyoung
1bd0f2a02e Define BIOSDISK_DEFAULT_SECSIZE in biosdisk_ll.h and replace BIOSDISK_SECSIZE
with it.
2005-06-23 20:20:37 +00:00
junyoung
de90d49d68 Use FS_OPS() macro. 2005-06-23 19:55:21 +00:00
junyoung
17670568fe Use FS_OPS() macro. 2005-06-23 19:44:00 +00:00
briggs
7adbaa630a Match Marvell 88E1111 from Dave Huang in PR kern/30556 2005-06-23 19:21:26 +00:00
briggs
6f82cb15e3 Regen for Marvell 88E1111 2005-06-23 19:19:55 +00:00
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