Commit Graph

54876 Commits

Author SHA1 Message Date
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
ru
e889b5d1c5 Whitespace-only to sync with -stable. 2000-12-07 15:09:48 +00:00
ru
23ad4d15e8 MFS: Silence compilation warnings. 2000-12-07 14:59:11 +00:00
iwasaki
8f13b38780 Create a pmtimer device instance for GENERIC and NEWCARD kernels by default.
Submitted by:	Masayuki FUKUI <fukui@sonic.nm.fujitsu.co.jp>
2000-12-07 14:27:02 +00:00
msmith
b1e81e2e08 Add a PCI vendor/device database, used by pciconf (and available for use
by other tools as well).

Note that omissions and corrections for this file should be resolved
via http://www.yourvote.com/pci, as this is the master source for this
database, rather than by editing this file directly.
2000-12-07 10:56:29 +00:00
msmith
13eab6564f Update to improve handling of verbose PCI vendor/device information.
- Read the database from /usr/share/misc (or wherever else we're pointed)
   rather than compiling it in.
 - Decode the class/subclass fields if requested.
 - Print things in a slightly longer but more readable format.
2000-12-07 10:52:59 +00:00
roger
adc0034302 Add Isochronus transfer mode support required by
USB WebCams, using a patch from Peter Housel.

With this change ugen, and with Peter's 'vid' program
in ports/graphics/vid, we can capture single images from USB Cameras
using the OmniVision OV511 chipset (including some models of the
Creative WebCam 3)

NetBSD merged in Peter's patch to their ugen.c file
several months ago, so this brings us back in line.

Submitted by:	Peter Housel <housel@acm.org>
		http://members.home.com/housel/
Approved by:	Nick Hibma
2000-12-07 10:28:25 +00:00
roger
bf9d4b3605 Non functional change.
Change a few indentations to tabs.
Change the functions to use ANSI sytle parameters.

This lowers the diffs between our copy of ugen.c and NetBSD's copy

Approved by:	Nick Hibma
2000-12-07 10:13:18 +00:00
imp
a1535c430c Add support for compiling ray driver. 2000-12-07 03:16:21 +00:00