Commit Graph

74018 Commits

Author SHA1 Message Date
markm
673f6ef6d9 Style fixes; whitespace and header order. 2002-04-28 12:21:31 +00:00
markm
2df22de47e Fix VCS inclusion and tidy up #includes. 2002-04-28 12:19:30 +00:00
markm
d4767a7bb1 Cast to kill warnings. De-register. 2002-04-28 12:17:27 +00:00
markm
0f588b9373 fix warnings; change variable/argument names that mask global names. 2002-04-28 12:15:40 +00:00
markm
9302f8d66b Remove GCC-specific flags and commented out cruft. 2002-04-28 12:14:10 +00:00
markm
38c3f4b69a Some easy const fixes. 2002-04-28 12:12:49 +00:00
markm
62123726bd ANSIfy, VCS inclusions and some very minor style. 2002-04-28 12:09:33 +00:00
markm
df2d11edfa Minor reorder for style. 2002-04-28 12:08:18 +00:00
markm
aa3fa5ac74 Fix some easy warnings; ANSIfy, constify.
Fix VCS inclusion and deregister.
2002-04-28 12:04:20 +00:00
markm
6e62811ca3 ANSIfy functions, and move extern declarations into a shared header
where ${DEITY} intended them to be.
2002-04-28 11:59:43 +00:00
iedowse
679fd48b5c Fix a number of warnings. A gcc preprocessor bug relating to macros
with variable numbers of arguments made this slightly harder than
it should be. Avoid the bug by not doing string concatenation within
the macros, and instead add a new function to syslog or print the
error messages.
2002-04-28 11:59:30 +00:00
gj
5df4184529 Add the Dynalink IS64PPH+ as a supported card.
Reported by:	znerd
2002-04-28 11:52:53 +00:00
markm
06bdac1d86 Fix VCS inclusions. 2002-04-28 11:52:43 +00:00
markm
82e411fc67 More low hanging warnings fruit; ANSIfy, de-register, constify. 2002-04-28 11:51:03 +00:00
gj
75dd89a561 Change instances of avma1pp2- to ifpi2- in printf's since the name
of the driver should be emitted.

This was already changed in the code committed to RELENG_4.
2002-04-28 11:47:10 +00:00
markm
a62032343e Fix some low-hanging fruit in the warnings department; ANSIfy functions,
sort out some const issues.
2002-04-28 11:44:30 +00:00
markm
2720780e6c Easy warns fixes; use const, mark unused function parameters. Remove
unused includes.
2002-04-28 11:16:43 +00:00
markm
68f25a87ca Remove GCC-specific flags. 2002-04-28 11:15:47 +00:00
markm
f7c4d20a39 Trivial warnings fixes; staticise and use unsigned.
Use __FBSDID().
2002-04-28 11:13:20 +00:00
markm
f7a5378f71 Use __FBSDID, ANSIfy functions, fix const string. 2002-04-28 11:00:34 +00:00
markm
1b4a05fc90 Use __FBSDID(), ANSIfy headings, use const/unsigned in minor but
appropriate places.
2002-04-28 10:56:09 +00:00
markm
e93fa004d7 Style only; format function declarations, sort header includes, and
use __FBSDID().
2002-04-28 10:49:15 +00:00
iedowse
3bdd57c657 Oops, remove references to NLOCKED and NWANTED, now that they no
longer exist.
2002-04-28 10:24:38 +00:00
bde
b0e53bd01f Removed unused forward struct declaration. 2002-04-28 09:51:45 +00:00
marcel
bc591195cf Add mca.c. 2002-04-28 08:43:47 +00:00
scottl
85f27c3d3e Nuke -g 2002-04-28 06:38:38 +00:00
alc
dc5b6882d3 o Introduce and use vm_map_trylock() to replace several direct uses
of lockmgr().
 o Add missing synchronization to vmspace_swap_count(): Obtain a read lock
   on the vm_map before traversing it.
2002-04-28 06:07:54 +00:00
anholt
1fc70fcb77 Hook the DRM up to the build and add it to NOTES.
Approved by:	des
2002-04-28 04:58:40 +00:00
bmah
b6d822715d Add DFE-530TX+ to rl(4) list.
Submitted by:	Karl Heller <kheller2@mac.com>
2002-04-28 04:49:19 +00:00
jake
2b67a5630b Add code to emulate arithmetic, comparison and conversion operations
on long double, which are not implemented in hardware on any UltraSPARC
chip that I know of.  This just calls into the existing floating point
emulator, which is still needed to emulate other floating point operations
in certain conditions.  Without this gcc has to generate the quad floating
point instructions directly, which sometimes causes internal compiler
errors.

Reviewed by:	tmm
2002-04-28 02:36:36 +00:00
imp
60035f87f3 Alphabetize descriptions and remove the "PCI" from the desciptions.
Suggested by: brooks
2002-04-28 02:04:28 +00:00
grog
a8a9a0dc87 Add partition type for IBM's JFS.
Submitted by:	Hiten Pandya <hiten@uk.FreeBSD.org>
2002-04-28 01:52:17 +00:00
gad
b200c6709f Add many prototypes and ANSI-ize 'patch. Not a complete job of it, but it gets
our patch to look a little more like NetBSD's, and has the nice characteristic
that the object code is exactly the same after the change as before it (even in
patch.c and pch.c, which have pesky 'assert' statements in them).

Reviewed by:	/sbin/md5 on i386, alpha, sparc64
MFC after:	3 days
2002-04-28 01:33:45 +00:00
gad
69091a8284 Add FreeBSD id's to these files, in advance of a separate update.
MFC after:	3 days
2002-04-28 01:26:40 +00:00
peter
0507c68d3a Oops. Previous commit was to fix the problem which was noticed by tmm. 2002-04-28 00:17:26 +00:00
peter
0feba1c376 We do not necessarily need to map/unmap pages to zero parts of them.
On systems where physical memory is also direct mapped (alpha, sparc,
ia64 etc) this is slightly harmful.
2002-04-28 00:15:48 +00:00
bmah
91d576b0c5 New release notes: isdn4bsd Q.931 subaddressing.
Updated release notes:  IPFilter 3.4.27 (+ MFC), isdn4bsd 1.0.2.

Fix up some confusion about ifpi(4) and ifpi2(4).
2002-04-28 00:09:42 +00:00
bmah
5bcb2ee069 Add devices supported by aue(4), cue(4), kue(4), an(4), wi(4)
drivers.  Minor fix for ray(4).

Based on:

	src/etc/defaults/pccard.conf	1.236
	src/sys/dev/usb/if_aue.c	1.57
	src/sys/dev/usb/if_cue.c	1.28
	src/sys/dev/usb/if_kue.c	1.40
	src/sys/dev/usb/usbdevs		1.88
2002-04-28 00:01:12 +00:00
iedowse
08fc3f3e82 Avoid the user-visible effect of setting SA_NOCLDWAIT when the
SIGCHLD handler is SIG_IGN. This is a reimplementation of the
problematic revision 1.131 of kern_exit.c. To avoid accessing process
UPAGES, we set a new procsig flag when the SIGCHLD handler is SIG_IGN
and use that instead.
2002-04-27 22:41:41 +00:00
peter
cc7a68c868 Finish fixing hints. Remember the use_kenv state for the next run.
Otherwise we fall back to using the static hints the next time around.
We still have the leftover fallback code there which meant that we skipped
the use_hints checking on the second and subsequent calls.  Also, be a bit
more careful about walking off the end of the envp array.

I've extracted this from a larger diff.  I hope I didn't miss anything...
2002-04-27 22:32:57 +00:00
peter
c204fdd4f3 Partial fix for hints
Obtained from:  mux
2002-04-27 22:25:13 +00:00
iedowse
9f30a58b28 Remove a stale comment saying that the vnode lock must be the first
element in the structure pointed to by vp->v_data; the vnode lock
is now within the vnode structure itself.
2002-04-27 22:20:33 +00:00
iedowse
bae478cc81 Remove the nfs_{lock,unlock,islocked} functions and the associated
definitions; they have been unused and #if 0'd out since the Lite/2
merge and we are unlikely to want them in the future.
2002-04-27 22:10:16 +00:00
alc
d8a0954909 o Begin documenting the (existing) locking protocol on the vm_map
in the same style as sys/proc.h.
 o Undo the de-inlining of several trivial, MPSAFE methods on the vm_map.
   (Contrary to the commit message for vm_map.h revision 1.66 and vm_map.c
   revision 1.206, de-inlining these methods increased the kernel's size.)
2002-04-27 22:01:37 +00:00
des
1186b74661 Obliterate the new password as well as the old, even if though it's hashed. 2002-04-27 21:58:23 +00:00
jake
a1a94cce5c Emulate ldq and stq (load/store long double) instructions. GCC has started
using these to load long doubles, but they aren't implemented in hardware
on (at least) UltraSPARC I and II machines.
Emulate popc in the user trap handler as well.
Re-arrange slightly to make support functions more accessible.

Reviewed by:	tmm
2002-04-27 21:56:28 +00:00
anholt
60ee831d3e Add makefiles for DRM modules
Approved by:	des
2002-04-27 20:55:03 +00:00
anholt
682fe32ace Add the code for the DRM, based on the code from the drm-kmod port.
This is not hooked up yet, that will come later.

Approved by:	des
2002-04-27 20:47:57 +00:00
eric
6818945234 Move ID tag. 2002-04-27 19:57:22 +00:00
alc
b4f776aff8 For what it's worth, fix the compilation of an I386_CPU-only kernel
now that certain warnings are fatal.
2002-04-27 18:13:35 +00:00