Commit Graph

54793 Commits

Author SHA1 Message Date
Jake Burkholder
1b00f92039 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 Cobbs
894fbb6682 Fix typo.
Submitted by:	Ben Smithurst <csxbcs@comp.leeds.ac.uk>
2000-12-08 21:01:47 +00:00
Mike Smith
e0b349e634 Staticise some malloc pools
Submitted by:	phk
2000-12-08 20:48:33 +00:00
Jason Evans
aabafca098 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
Poul-Henning Kamp
959b7375ed Staticize some malloc M_ instances. 2000-12-08 20:09:00 +00:00
Jake Burkholder
cc3f51b537 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 Cobbs
54e4933bad 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 Cobbs
1725b22ad2 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
John Baldwin
31ae9b450a 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
Poul-Henning Kamp
2a0436783d staticize. 2000-12-08 15:07:24 +00:00
Noriaki Mitsunaga
e3f875caff 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
Noriaki Mitsunaga
5e469ffaee The drivers ncv, nsp and stg are already merged to -stable. 2000-12-08 12:52:42 +00:00
Ruslan Ermilov
7bceeb9859 mdoc(7) police: Once again, remove single-space hard sentence breaks. 2000-12-08 12:42:24 +00:00
Alexander Langer
f5009c10dc strunvis(3) and unvis(3) are the same files. 2000-12-08 12:35:06 +00:00
Ruslan Ermilov
f226ddbc0b mdoc(7) police: once again, remove the hard sentence breaks. 2000-12-08 12:25:05 +00:00
Alexander Langer
e7db1cd82e 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
David E. O'Brien
50f822d553 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
Nick Hibma
64e3d839ec Remove a warning.
Reported by:	phk
2000-12-08 10:44:15 +00:00
Jake Burkholder
600272dedf 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 Burkholder
ce7d82114d 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
Mike Smith
aa3f504fb9 Resolve conflicts from the 20001201 merge. 2000-12-08 09:22:18 +00:00
Mike Smith
a68cef92af 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
Mike Smith
f6402773ea Update to the 20001201 ACPI CA snapshot. 2000-12-08 09:20:40 +00:00
Jake Burkholder
fc2befbb10 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
Mike Smith
0ae554237c - 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 Burkholder
96d57f35b2 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
Poul-Henning Kamp
06b6617e0b Kill some bogus "register" keywords.
Go Ansi on the functions.
2000-12-08 06:57:39 +00:00
John Baldwin
5e028585be 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
Paul Saab
3894088f17 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 Moolenaar
d5b14b2a37 Add "empty" makefile. Cross-building fails without it. 2000-12-08 04:08:09 +00:00
Marcel Moolenaar
d50575082a Add Linuxulator manpage. Derived from i386 version. 2000-12-08 02:52:26 +00:00
Marcel Moolenaar
f9e5924cbe 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
John Baldwin
0f43ee1793 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 Cobbs
fa5e41c85d Add missing #include. 2000-12-08 00:49:37 +00:00
Matthew Dillon
a41ce5d30b Only call bwillwrite() for vnodes. Do not penalize devices or pipes. 2000-12-07 23:45:57 +00:00
Bill Paul
15f43fcb0b 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
Poul-Henning Kamp
5e1aea9fd7 Hide intrstate in the #ifdef where it belongs. 2000-12-07 22:38:22 +00:00
Poul-Henning Kamp
7891600907 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
Poul-Henning Kamp
69d683d52a Add needed include of <sys/devicestat.h> 2000-12-07 22:31:13 +00:00
Poul-Henning Kamp
45b031c5e4 Move extern tsc_present outside function to quelch a warning. 2000-12-07 22:30:11 +00:00
Poul-Henning Kamp
aac61d609c Add __ucmpdi2 prototype to quelch a warning. 2000-12-07 22:28:20 +00:00
Poul-Henning Kamp
a3671bc8c8 Add back some now needed #include <sys/systm.h>
Fix various warnings while here anyway.
2000-12-07 22:19:06 +00:00
Alexander Langer
8ffced21e8 Build the sym driver as a kernel module. 2000-12-07 21:46:04 +00:00
Wilko Bulte
9d2264913b 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 Bulte
37a049c1b1 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 Smithurst
8afbbd41f4 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
Alexander Langer
8c529b3777 Remove unneeded include of <pci.h>
Approved by:	groudier
2000-12-07 20:58:16 +00:00
Jordan K. Hubbard
a630ff9a60 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
David E. O'Brien
a3cea3dde5 Retire this ancient version of rdist. 2000-12-07 19:24:55 +00:00
David E. O'Brien
ee0610eb99 put localdir first 2000-12-07 16:35:21 +00:00