Commit Graph

54834 Commits

Author SHA1 Message Date
jake
04d87ade7d Revert the previous change I made to cpu_switch. It doesn't help as
much as I thought it would and according to bde was a pessimization.
2000-12-08 21:31:52 +00:00
archie
780612af39 Fix typo.
Submitted by:	Ben Smithurst <csxbcs@comp.leeds.ac.uk>
2000-12-08 21:01:47 +00:00
msmith
c31badd9c4 Staticise some malloc pools
Submitted by:	phk
2000-12-08 20:48:33 +00:00
jasone
2decea552f Do not check for existence of ${_dir}/kern/ , because for modules that set
.PATH to ${.CURDIR}/[...]/kern , the "exists" expression will fail for the
form exists(${.CURDIR}/[...]/kern/).  This appears to be happening because
make is searching for the argument to "exists" by using .PATH rather than a
relative search, because .PATH and the argument match at the beginning.
Additionally, make appears to consider a path that starts with ${.CURDIR}
as relative, even though it expands to an absolute path.

The reason that most people aren't seeing this problem is that the absolute
paths of /usr/src/sys and /sys are also searched, so as long as the kernel
source can be found in at least one of those places, no problems surface.
This problem was inadvertently introduced on 1 December 2000, with the
addition of the sysvipc modules.
2000-12-08 20:36:32 +00:00
phk
3daded5af8 Staticize some malloc M_ instances. 2000-12-08 20:09:00 +00:00
jake
436cd9dc79 Fix a jump to the wrong label, <sigh>. Put a period at the end of a
sentence in a comment.

Submitted by:	bde
2000-12-08 19:53:37 +00:00
archie
d258c45e27 Fixes to the Aironet driver to clear up some WEP issues.
"Security notes" section to the man page added by me.

PR:		23097
Submitted by:	Doug Ambrisko <ambrisko@whistle.com>
2000-12-08 19:02:35 +00:00
archie
c6980f23f7 Fixes to the Aironet driver to clear up some WEP issues.
PR:		23097
Submitted by:	Doug Ambrisko <ambrisko@whistle.com>
2000-12-08 19:00:10 +00:00
jhb
68ea95d525 Argh, revert the clobber changes. Since %ecx and %edx aren't call safe,
calling the C functions mtx_enter_hard() and mtx_exit_hard() clobbers them.
Note that %eax is also not call safe, but it is already clobbered due to
cmpxchg.  However, now we are back to not compiling again, so these macros
are still left disabled for now.
2000-12-08 18:21:06 +00:00
phk
f289303a1a staticize. 2000-12-08 15:07:24 +00:00
non
beb96829c0 Remove conflicts between unsinged char *s and int s.
It was possible cause of kernel panic.

Pointed Out by: phk@FreeBSD.ORG
2000-12-08 13:50:20 +00:00
non
f6f4518945 The drivers ncv, nsp and stg are already merged to -stable. 2000-12-08 12:52:42 +00:00
ru
072614416a mdoc(7) police: Once again, remove single-space hard sentence breaks. 2000-12-08 12:42:24 +00:00
alex
07ac2aa05b strunvis(3) and unvis(3) are the same files. 2000-12-08 12:35:06 +00:00
ru
4495c97d82 mdoc(7) police: once again, remove the hard sentence breaks. 2000-12-08 12:25:05 +00:00
alex
0ef524977c There are four types of encoding now, not three. Most of them use the
backslash as a special char, but not all.
2000-12-08 12:17:53 +00:00
obrien
4ceb41e792 Run weekly a little bit later to give more time for daily to complete
(since it starts later now).
2000-12-08 10:55:33 +00:00
n_hibma
349f6741fd Remove a warning.
Reported by:	phk
2000-12-08 10:44:15 +00:00
jake
f296878e2b Remove unused declarations for spending and sdelayed, and remove unused
#defines for bits corresponding to pending interrupts.  Yay threads!
2000-12-08 10:39:00 +00:00
jake
8960651fa1 Whitespace. Make the indentation for MPASS and MPASS2 consistent and
slightly more sane.  Make the arguments to the nop MPASS2 match those
of the functional one.  Change 4 spaces to a tab.  Don't indeent a
label so its easier to see.
2000-12-08 09:51:13 +00:00
msmith
131561da3d Resolve conflicts from the 20001201 merge. 2000-12-08 09:22:18 +00:00
msmith
fa6a4ed39b This commit was generated by cvs2svn to compensate for changes in r69746,
which included commits to RCS files with non-trunk default branches.
2000-12-08 09:20:40 +00:00
msmith
f4b6d0429c Update to the 20001201 ACPI CA snapshot. 2000-12-08 09:20:40 +00:00
jake
33455a0b7c Add macros MPASS3 and MPASS4, which take the file and line number
as parameters.  Use them in the mutex inlines so that the file and
line numbers are those of the caller instead of always in this file.
2000-12-08 09:17:16 +00:00
msmith
49d56dc77b - Convert a lot of homebrew debugging output to use the ACPI CA debugging
infrastructure.  It's not perfect, but it's a lot better than what
   we've been using so far.  The following rules apply to this:
    o BSD component names should be capitalised
    o Layer names should be taken from the non-CA set for now.  We
      may elect to add some new BSD-specific layers later.

 - Make it possible to turn off selective debugging flags or layers
   by listing them in debug.acpi.layer or debug.acpi.level prefixed
   with !.

 - Fully implement support for avoiding nodes in the ACPI namespace.
   Nodes may be listed in the debug.acpi.avoid environment variable;
   these nodes and all their children will be ignored (although still
   scanned over) by ACPI functions which scan the namespace.  Multiple
   nodes can be specified, separated by whitespace.

 - Implement support for selectively disabling ACPI subsystem components
   via the debug.acpi.disable environment variable.  The following
   components can be disabled:
    o bus	creation/scanning of the ACPI 'bus'
    o children	attachment of children to the ACPI 'bus'
    o button	the acpi_button control-method button driver
    o ec	the acpi_ec embedded-controller driver
    o isa	acpi replacement of PnP BIOS for ISA device discovery
    o lid	the control-method lid switch driver
    o pci	pci root-bus discovery
    o processor CPU power/speed management
    o thermal	system temperature detection and control
    o timer	ACPI timecounter
   Multiple components may be disabled by specifying their name(s)
   separated by whitespace.

 - Add support for ioctl registration.  ACPI subsystem components may
   register ioctl handlers with the /dev/acpi generic ioctl handler,
   allowing us to avoid the need for a multitude of /dev/acpi* control
   devices, etc.
2000-12-08 09:16:20 +00:00
jake
13f15382e1 Change the calling conventions of the MTX_ENTER macro to match
that of MTX_EXIT.  Don't assume that the reg parameter to MTX_ENTER
holds curproc, load it explicitly.  Put semi-colons at the end of
the macros to be more consistent and so its harder to forget them
when these change.
2000-12-08 08:49:36 +00:00
phk
fdca31a3ca Kill some bogus "register" keywords.
Go Ansi on the functions.
2000-12-08 06:57:39 +00:00
jhb
0112a72372 Well, the previous commit wasn't entirely correct either. For now, just
disable the optimized mutex micro-operations for the non-I386_CPU case
and fall back to the C stubs that call the atomic_foo() inlines.
2000-12-08 05:03:34 +00:00
ps
b12e68a7aa When TFTP tries to open a file, it is expecting struct open_file
member f_devdata to be a pointer to a socket number.  When currdev
is "pxe", that assumption is correct.  When currdev is "disk*", that
assumption is incorrect.

Submitted by:	Jim Browne <jbrowne@jbrowne.com>
2000-12-08 05:02:12 +00:00
marcel
16ebb63a22 Add "empty" makefile. Cross-building fails without it. 2000-12-08 04:08:09 +00:00
marcel
22464cd82b Add Linuxulator manpage. Derived from i386 version. 2000-12-08 02:52:26 +00:00
marcel
700f276567 The osfulator can be compiled-in now:
o  add kernel option to the synopsis.
o  remove "only as module" from bugs.

Reviewed by: sheldonh
2000-12-08 02:49:01 +00:00
jhb
8e0f047d6c Add comments to the proc structure to describe how each member will be
locked.  This list is subject to change, but hopefully many changes will
not have to be made.
2000-12-08 00:58:54 +00:00
archie
891a0cbb2b Add missing #include. 2000-12-08 00:49:37 +00:00
dillon
165470e60a Only call bwillwrite() for vnodes. Do not penalize devices or pipes. 2000-12-07 23:45:57 +00:00
wpaul
a028ff4331 When I converted this driver, I neglected to deal with packet alignment.
We must force payload alignment to a longword boundary to make the
alpha happy. This should stop the driver from trapping on the alpha
when the interface is ifconfig'ed (actually, when the first frame is
received).
2000-12-07 23:30:51 +00:00
phk
45bded2159 Hide intrstate in the #ifdef where it belongs. 2000-12-07 22:38:22 +00:00
phk
df3d4500e2 Don't use a private malloc(9) type for something this M_DEVBUFish.
Noticed long time ago by:	bde
2000-12-07 22:33:12 +00:00
phk
b277c8ed3e Add needed include of <sys/devicestat.h> 2000-12-07 22:31:13 +00:00
phk
4e3fe03ddc Move extern tsc_present outside function to quelch a warning. 2000-12-07 22:30:11 +00:00
phk
f9f73e6b33 Add __ucmpdi2 prototype to quelch a warning. 2000-12-07 22:28:20 +00:00
phk
1d9fe3085a Add back some now needed #include <sys/systm.h>
Fix various warnings while here anyway.
2000-12-07 22:19:06 +00:00
alex
84436167ac Build the sym driver as a kernel module. 2000-12-07 21:46:04 +00:00
wilko
a9ee65c0e4 Document 'untested' status of ExtIO module on AS2100. Even when we
don't know if these things were ever produced.
2000-12-07 21:35:50 +00:00
wilko
565370b792 Document support for AlphaServer 2100A.
Thanks to: gallatin & Compaq for open-sourcing bits of Tru64 UNIX
Tested by: wilko
2000-12-07 21:13:39 +00:00
ben
415872a488 Explicitly document the fact that securelevel > 0 means that kernel modules
may not be (un)loaded.

PR:		23350
Submitted by:	Gordon Tetlow <gordont@bluemtn.net>
2000-12-07 21:09:22 +00:00
alex
4fbbf32dd6 Remove unneeded include of <pci.h>
Approved by:	groudier
2000-12-07 20:58:16 +00:00
jkh
aea1611f4a Fix bug where minimal dist selection didn't check off the right
menu item.

Noticed by:	Dan "Sheepdip" Langille <dan@freebsddiary.org>
2000-12-07 20:04:35 +00:00
obrien
dd7824aa93 Retire this ancient version of rdist. 2000-12-07 19:24:55 +00:00
obrien
393833f5c6 put localdir first 2000-12-07 16:35:21 +00:00