Commit graph

53734 commits

Author SHA1 Message Date
Archie Cobbs 3918c80b80 Now almost all Ethernet drivers support bridging.
Noticed by:	gallatin
2000-11-10 16:58:13 +00:00
David E. O'Brien 77765d0b13 Add comment about a requirement in using a 64-bit `long' on i386. 2000-11-10 16:56:38 +00:00
David E. O'Brien a5f3753fed Link with libgcc_pic when building shared objects.
(note we should not just use GCC's default LIBGCC_SPEC as it doesn't use
the PIC version when linking shared)

Recomended by:	jdp
PR:	21983
2000-11-10 16:54:45 +00:00
Jeroen Ruigrok van der Werven b2a80a67da Document that the 3c905C-TX is supported aside from Dell equipment. 2000-11-10 15:35:37 +00:00
Josef Karthauser 34944d4885 Define a new special type: buildopts.
This allows build flags to be specified for a particular program from
within the crunch.conf file, eg:

	prog ppp
	special ppp buildopts -DNOKLDLOAD -DNOINET6 -DNONAT -DNOATM

This adds '-DNOKLDLOAD -DNOINET6 -DNONAT -DNOATM' to make targets
related to ppp when determining which object files to build and
when calculating dependencies and building the targets.
2000-11-10 15:21:37 +00:00
Bruce Evans 3a715f43c6 Quick fix for not writing group descriptor group, inode bitmaps or
block bitmaps before unmount() completes.  They were written using
bdwrite(), so they were normally written less than 32 seconds after
unmount(), but this is too late if the media is removed or the system
is rebooted soon after unmount().  sync()ing before unmount() didn't
help, because ext2fs uses buggy private caching for these blocks --
it doesn't even bdwrite() them until they are uncached or the filesystem
is unmounted.  sync()ing after unmount() didn't help, because sync()
only applies to (vnodes for) mounted filesystems.

PR:		22726
2000-11-10 14:54:15 +00:00
Ruslan Ermilov 20279a10b2 Fixed typo: .ar -> .Ar. 2000-11-10 14:40:50 +00:00
Yoshihiro Takahashi a79d3d2428 The fe driver does not support pnp devices. 2000-11-10 14:05:47 +00:00
MIHIRA Sanpei Yoshiro 906b64d5b6 add Melco WLI-PCM 2000-11-10 13:02:38 +00:00
MIHIRA Sanpei Yoshiro 7782a74560 add Nokia Card Phone 2.0 (gsm900/dcs1800 HSCSD terminal)
and this PC-Card has function ID as modem, pccard.conf entry
is not needed.

Submitted by:	(Roger Hardiman <roger@freebsd.org>)
2000-11-10 12:43:49 +00:00
MIHIRA Sanpei Yoshiro 9a438d25dd Add MELCO IGM-PCM56KH
Submitted by:	HIDETOSHI Imai <hidepin@infonets.hiroshima-u.ac.jp>
		bsd-nomads:14735
2000-11-10 12:38:21 +00:00
MIHIRA Sanpei Yoshiro 9dd91da202 add Xircom 10/100 Network PC Card adapter.(rev.1.149)
add BUFFALO LPC3-CLX

Submitted by:	Takashi Ikeda <ccikeda@moon.aichi-u.ac.jp>
2000-11-10 12:35:26 +00:00
Dirk Froemberg 59cc881262 Fix to=auto in bootptab.
PR:		misc/5574
Submitted by:	Bart Robinson <lomew@marker.cs.utah.edu>
Reviewed by:	wollman
2000-11-10 12:19:53 +00:00
Ruslan Ermilov 25214d26b5 Fixed typo in description of ENABLE_SUIDPERL. 2000-11-10 10:46:11 +00:00
Sheldon Hearn 25f1a2e9f9 Miscellaneous content fixes:
* xref sysctl
* do not mark kern.ipc.mbuf_wait up as a function argument.
* do not mix case of function argument names
* a mbuf -> an mbuf
* if -> whether
* typos
2000-11-10 10:22:49 +00:00
Sheldon Hearn e73145f651 Whitespace only: fix hard sentence breaks now, before people really
get stuck into this page.
2000-11-10 10:08:34 +00:00
Jun Kuriyama ecefc8cf96 Make numeric shortcut key behaving correctly in "Installation Media" menu.
Approved by:	jkh
2000-11-10 09:50:22 +00:00
Jordan K. Hubbard 3a335eb7a7 Set BATCH and PACKAGE_BUILDING to environment before exec()ing pkg_add
in order to suppress onwonted package interaction.

Submitted by:   steve
2000-11-10 09:34:06 +00:00
Dag-Erling Smørgrav e828ada709 Use the documented (and historical) defaults. Centralize the decision logic
in order to avoid this bug in the future.

Submitted by:	se
2000-11-10 08:43:40 +00:00
Benno Rice fb75554e54 Beginnings of the powerpc machine dependant includes.
Reviewed by:	obrien
Obtained from:	NetBSD
2000-11-10 08:06:50 +00:00
Benno Rice 4cc1860f9b OpenFirmware/PowerPC loader, part 2.
As of this patchset, the loader builds (under NetBSD/macppc), boots, interacts
and talks to BOOTP/NFS servers.

(main.c was moved from boot/ofw/libofw to boot/ofw/common but has no revision
 history)

Reviewed by:	obrien
2000-11-10 06:39:58 +00:00
Benno Rice f1fb6c2132 Give the network device a print method.
Reviewed by:	obrien
2000-11-10 06:37:43 +00:00
Benno Rice 5b98b64392 OpenFirmware/PowerPC loader, part 2.
This brings the loader up to the point where I can compile it under
NetBSD/macppc and have it boot, interact and talk to NFS servers.

sys/boot/ofw/libofw/main.c has been deleted (it has no revision history) and
replaced with sys/boot/ofw/common/main.c

Reviewed by:	obrien
2000-11-10 06:29:42 +00:00
Benno Rice a2a9c8c79e Disable the end guard for now.
The test for failing the end guard was always triggering (and was reported as
such in compiler warnings).  This is a temporary band-aid until I can work
out what's really going on.

Reviewed by:	obrien
2000-11-10 06:15:24 +00:00
Benno Rice 2ef2c53036 Make setjmp work our way, as opposed to NetBSD's.
This file needs commenting still.

Submitted by:	luoqi
Reviewed by:	obrien
2000-11-10 06:10:28 +00:00
Benno Rice 71bb073d45 Don't always enable debugging for the network device code.
Reviewed by:	obrien
2000-11-10 06:06:55 +00:00
David E. O'Brien 912209a5b2 Install `chflags' in the root partition, NOT /usr where it is not available
in single user mode.
2000-11-10 05:31:52 +00:00
John Baldwin c5f3b30e68 Replace non-existent 'mtx_t' typedef'd type with 'struct mtx'. 2000-11-10 01:51:55 +00:00
Daniel Eischen ed21d82204 Sync gdb thread support with recent changes to the threads library.
Approved by:	obrien
2000-11-10 00:36:01 +00:00
Alfred Perlstein ce900f0398 Manpage incorrectly states that STAILQ_REMOVE_HEAD takes an arg
called 'elm'.  It doesn't take an arg 'elm', it simply removes the
element at the head of the list.
2000-11-09 23:34:39 +00:00
John Baldwin 6286dfe072 Update this patch to apply to the latest XFree86 3.x port. 2000-11-09 21:26:28 +00:00
John Baldwin 8fb9f960ff Correct some old comments. 2000-11-09 21:25:58 +00:00
John Baldwin bcd0e8ce0e Add in a few extra documents built by the latest XFree86 3.x port. 2000-11-09 21:22:42 +00:00
Julian Elischer 4a3a6ee4c8 Add more sample code having read the daemnnews article (August 2000) 2000-11-09 18:55:44 +00:00
Hajimu UMEMOTO d80315aa1a backout my previous commit (KAME PR 296). foo != TUNNEL will
forbid "ANY" SA from being used for tnunel mode.

Reported by:	Chris Cason <casonc@netplex.aussie.org>
2000-11-09 17:55:17 +00:00
Pierre Beyssac 256de9e9ec Add missing delay after card reset.
This fixes randoms lockups when probing the card at boot time, when
more than 1 similar card is found in the machine.

Reviewed by:	semenu
2000-11-09 17:25:49 +00:00
Matt Jacob 259515a1ec Fix typo in END macro (END'ed enable twice)
PR:		22713
Submitted by:	Bernd Walter <ticso@cicely5.cicely.de>
2000-11-09 17:01:21 +00:00
David E. O'Brien 7472e09468 Found remaining -kthread option that [sort of] supported using the
LinuxThreads port.  Dike it out as it was removed from freebsd.h on
19-July-2000 as this option depended on bits not part of the base system
and required people to install the LinuxThreads port in a manner
non-consistent with the workings of our Ports Collection.

Requested by:	jasone
2000-11-09 15:50:22 +00:00
Garrett Wollman 6e3793050f Fix a reference to ``Standard C'' to refer specifically to the 1990 version;
the requirement it describes is not in C99.
2000-11-09 15:42:05 +00:00
Hellmuth Michaelis b51f30edab Fix i4b netgraph interface to not kernel panic at boot time
Make code compile and work for FreeBSD 4.x as well as FreeBSD 5.x
Submitted by: Michael Reifenberger <root@nihil.plaut.de>
2000-11-09 12:27:31 +00:00
Mike Smith edcb5775ec Implement a trivial but effective interface for obtaining the kernel's
device tree and resource manager contents.  This is the kernel side of
the upcoming libdevinfo, which will expose this information to userspace
applications in a trivial fashion.

Remove the now-obsolete DEVICE_SYSCTLS code.
2000-11-09 10:21:23 +00:00
Adrian Chadd 9934b00e84 Remove the block/char device distinction. badsect only worked on bdevs,
and then mapped /dev/foo into /dev/rfoo to get to the character device.
This isn't needed anymore.

Reviewed by: ps
2000-11-09 09:03:19 +00:00
Marcel Moolenaar 806d7daafe Make MINSIGSTKSZ machine dependent, and have the sigaltstack
syscall compare against a variable sv_minsigstksz in struct
sysentvec as to properly take the size of the machine- and
ABI dependent struct sigframe into account.

The SVR4 and iBCS2 modules continue to have a minsigstksz of
8192 to preserve behavior. The real values (if different) are
not known at this time. Other ABI modules use the real
values.

The native MINSIGSTKSZ is now defined as follows:

Arch		MINSIGSTKSZ
----		-----------
alpha		    4096
i386		    2048
ia64		   12288

Reviewed by: mjacob
Suggested by: bde
2000-11-09 08:25:48 +00:00
Marcel Moolenaar 2da829a0c8 Sync with Alpha:
Do not use sysent.c, proto.h and syscall.h in source tree;
use auto-generated versions.
2000-11-09 07:27:55 +00:00
Mitsuru IWASAKI 7a503f5ce5 Move old aml interpreter code to amldb/aml/. This will be used for our
reference and comparison with ACPICA aml interpreter's behavior.
2000-11-09 06:24:45 +00:00
Takanori Watanabe c69ab48d38 Farewell our code. We will switch acpica code from Intel.
This code has help us comprehence ACPI spec .

Contributors of this code is as follows(except for FreeBSD commiter):
Yasuo Yokoyama,
Munehiro Matsuda,
and ALL acpi-jp@jp.freebsd.org people.

Thanks.

R.I.P.
2000-11-09 05:09:52 +00:00
Daniel Eischen b5a8a15c2f Don't needlessly poll file descriptors when there are no
file descriptors needing to be polled (Doh!).  Reported
by Dan Nelson <dnelson@emsphone.com>.

Don't install and start the scheduling timer until the
first thread is created.  This prevents the overhead of
having a periodic scheduling signal in a single threaded
program.  Reported by Dan Nelson <dnelson@emsphone.com>.

Allow builtin longjmps out of application installed
signal handlers without the need perform any post-handler
cleanup:

  o Change signal handling to save the threads interrupted
    context on the stack.  The threads current context is
    now always stored in the same place (in the pthread).
    If and when a signal handler returns, the interrupted
    context is copied back to the storage area in the pthread.

  o Before calling invoking a signal handler for a thread,
    back the thread out of any internal waiting queues
    (mutex, CV, join, etc) to which it belongs.

Rework uthread_info.c a bit to make it easier to change
the format of a thread dump.

Use an alternal signal stack for the thread library's
signal handler.  This allows us to fiddle with the main
threads stack without fear of it being in use.

Reviewed by:	jasone
2000-11-09 05:08:26 +00:00
Jeroen Ruigrok van der Werven 6913c296f7 Change .Os FreeBSD 5.0 to .Os FreeBSD.
PR:		22684
Submitted by:	Akinori YAMADA <yamada-a@nextcom.co.jp>
2000-11-09 05:05:17 +00:00
Daniel Eischen 9a6b83bf3b Prevent the thread-safe version of kevent from getting
into an infinite loop when a timeout value is supplied
and the timeout expires.

Reported by:	Dan Nelson <dnelson@emsphone.com>
Reviewed by:	jasone, jlemon
2000-11-09 05:00:06 +00:00
Steve Price a5a18d3cbb Since the 'when built' phrase is talking about the 'source file' we
should be using the word 'creates' instead.
2000-11-09 02:31:02 +00:00