Commit Graph

73837 Commits

Author SHA1 Message Date
Mark Murray
f5b7af34dd Remove GCC-specific flags. 2002-04-28 12:54:24 +00:00
Mark Murray
9e5ff032b5 Fix a const-char vs char issue. 2002-04-28 12:39:12 +00:00
Mark Murray
900d70a0c0 Very minor whitespace nit. 2002-04-28 12:36:56 +00:00
Mark Murray
046f5106a7 Declarations cleanup; make sure externs are in a common header.
Fix declarations, casts and return values.
2002-04-28 12:34:54 +00:00
Mark Murray
ffc6a8e325 warns fixes; ANSIfy, deregister, constify. 2002-04-28 12:28:41 +00:00
Mark Murray
f372d010df Easy warns fixes; constify. 2002-04-28 12:25:03 +00:00
Mark Murray
348870705a Style; line up columns, space things out more consistently. 2002-04-28 12:24:20 +00:00
Mark Murray
81edeb0a44 Style fixes; whitespace and header order. 2002-04-28 12:21:31 +00:00
Mark Murray
635615eb2c Fix VCS inclusion and tidy up #includes. 2002-04-28 12:19:30 +00:00
Mark Murray
241667c457 Cast to kill warnings. De-register. 2002-04-28 12:17:27 +00:00
Mark Murray
e65dd7bc2f fix warnings; change variable/argument names that mask global names. 2002-04-28 12:15:40 +00:00
Mark Murray
2d3f94bf1b Remove GCC-specific flags and commented out cruft. 2002-04-28 12:14:10 +00:00
Mark Murray
fa6d48c068 Some easy const fixes. 2002-04-28 12:12:49 +00:00
Mark Murray
dba464cc27 ANSIfy, VCS inclusions and some very minor style. 2002-04-28 12:09:33 +00:00
Mark Murray
f099c6c361 Minor reorder for style. 2002-04-28 12:08:18 +00:00
Mark Murray
561618799d Fix some easy warnings; ANSIfy, constify.
Fix VCS inclusion and deregister.
2002-04-28 12:04:20 +00:00
Mark Murray
822f14c2ff ANSIfy functions, and move extern declarations into a shared header
where ${DEITY} intended them to be.
2002-04-28 11:59:43 +00:00
Ian Dowse
62e621e89c 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
Gary Jennejohn
85c1d5977c Add the Dynalink IS64PPH+ as a supported card.
Reported by:	znerd
2002-04-28 11:52:53 +00:00
Mark Murray
8feb878d72 Fix VCS inclusions. 2002-04-28 11:52:43 +00:00
Mark Murray
78552e79d1 More low hanging warnings fruit; ANSIfy, de-register, constify. 2002-04-28 11:51:03 +00:00
Gary Jennejohn
3573a23fa1 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
Mark Murray
ff288009d9 Fix some low-hanging fruit in the warnings department; ANSIfy functions,
sort out some const issues.
2002-04-28 11:44:30 +00:00
Mark Murray
e7c7159542 Easy warns fixes; use const, mark unused function parameters. Remove
unused includes.
2002-04-28 11:16:43 +00:00
Mark Murray
c0bef837ba Remove GCC-specific flags. 2002-04-28 11:15:47 +00:00
Mark Murray
d629fa16d5 Trivial warnings fixes; staticise and use unsigned.
Use __FBSDID().
2002-04-28 11:13:20 +00:00
Mark Murray
791e544b6b Use __FBSDID, ANSIfy functions, fix const string. 2002-04-28 11:00:34 +00:00
Mark Murray
a827060a67 Use __FBSDID(), ANSIfy headings, use const/unsigned in minor but
appropriate places.
2002-04-28 10:56:09 +00:00
Mark Murray
fb46863912 Style only; format function declarations, sort header includes, and
use __FBSDID().
2002-04-28 10:49:15 +00:00
Ian Dowse
72d12a7fae Oops, remove references to NLOCKED and NWANTED, now that they no
longer exist.
2002-04-28 10:24:38 +00:00
Bruce Evans
4cfce7a7a6 Removed unused forward struct declaration. 2002-04-28 09:51:45 +00:00
Marcel Moolenaar
4ee5409b54 Add mca.c. 2002-04-28 08:43:47 +00:00
Scott Long
b22841b0ff Nuke -g 2002-04-28 06:38:38 +00:00
Alan Cox
d974f03c69 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
Eric Anholt
67a2a28fe4 Hook the DRM up to the build and add it to NOTES.
Approved by:	des
2002-04-28 04:58:40 +00:00
Bruce A. Mah
f76dbb6f5e Add DFE-530TX+ to rl(4) list.
Submitted by:	Karl Heller <kheller2@mac.com>
2002-04-28 04:49:19 +00:00
Jake Burkholder
05f2fa5cee 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
Warner Losh
9218b6a376 Alphabetize descriptions and remove the "PCI" from the desciptions.
Suggested by: brooks
2002-04-28 02:04:28 +00:00
Greg Lehey
1254a3ba7b Add partition type for IBM's JFS.
Submitted by:	Hiten Pandya <hiten@uk.FreeBSD.org>
2002-04-28 01:52:17 +00:00
Garance A Drosehn
38a1326cad 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
Garance A Drosehn
a3df8483c8 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 Wemm
548c02a68d Oops. Previous commit was to fix the problem which was noticed by tmm. 2002-04-28 00:17:26 +00:00
Peter Wemm
44e74ba6c3 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
Bruce A. Mah
c9f93b82a9 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
Bruce A. Mah
f443ee8e55 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
Ian Dowse
ba1551ca81 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 Wemm
4f033348f4 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 Wemm
fc1218bb71 Partial fix for hints
Obtained from:  mux
2002-04-27 22:25:13 +00:00
Ian Dowse
3eee035c5b 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
Ian Dowse
10632e44cc 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