bde
5f2f286de5
Include <sys/systm.h> instead of depending on namespace pollution in
...
<net/if_var.h>. But depend on the standard pollution in <sys/param.h>.
2002-09-29 11:59:53 +00:00
nyan
c4dd234fbd
Merged from sys/isa/fd.c revision 1.238.
2002-09-29 11:43:14 +00:00
nyan
370a1ae43e
Merged from sys/dev/syscons/syscons.c revision 1.389.
2002-09-29 11:42:36 +00:00
nyan
25409c4ebc
Merged from sys/dev/sio/sio.c revisions 1.380 and 1.381.
2002-09-29 11:41:48 +00:00
wilko
166e383138
Document 1Gbyte max memory limitation on Miata.
2002-09-29 11:40:06 +00:00
tjr
f46e00ccf3
Convert the remaining callers of errmsg() to use strerror(), and remove
...
errmsg() and its table of error messages.
2002-09-29 11:37:39 +00:00
jmallett
a15b3c583e
Mark the signo as __unused in a lazy signal handler.
2002-09-29 07:59:57 +00:00
obrien
c6f601ab28
Fix style nit where conditionally compiled code was unconditionalized,
...
but style(9) was consulted.
Submitted by: bde
2002-09-29 04:47:41 +00:00
eric
15a69a0cf4
Add getopt_long(3).
...
Obtained from: NetBSD
Sponsored by: Apple
2002-09-29 04:14:37 +00:00
julian
900d13d3a6
lock proc while calling psignal
...
(plus related cleanups)
Submitted by: davidxu
2002-09-29 02:48:37 +00:00
jmallett
48cf66f7d0
Fix spurious three-space indentation in a four-space indentation file.
2002-09-29 00:20:28 +00:00
jmallett
63b4b22ac6
Allow the shell preference for make(1) to be set in make.conf(5), and hopefully
...
trick a few people into setting MAKE_SHELL to csh, although that can still
rebuild itself to allow them to heal the wound in their foot.
2002-09-29 00:09:22 +00:00
jmallett
56dbcd9f56
Fix ability to use csh(1) as the make(1) shell.
...
Sponsored by: Bright Path Solutions
2002-09-29 00:02:04 +00:00
gioria
b6b6cc271f
New translation
2002-09-28 23:35:54 +00:00
jmallett
df4a28f2ab
Make make(1) WARNS=6 clean except for const issues. This mostly involves
...
renaming variables to not shadow libc functions or greater scope locals. Kinda
makes one wonder if the extern ones weren't meant in some of these places :)
The only thing I'd still like to do WRT this is possibly combine rstat and
status in compat.c -- that should be fine, as I do not think the codepaths
will want both around at once.
Sponsored by: Bright Path Solutions
2002-09-28 23:35:07 +00:00
gioria
837a6319b8
New translation
2002-09-28 23:15:58 +00:00
trhodes
925ad5a011
s/behaviour/behavior/ in the chmod(1) manual
2002-09-28 23:05:58 +00:00
peter
51837b585a
Deal with some SMP races by doing the entire copyin at once rather
...
than doing the checks piecemeal and then doing a second copyin later.
PR: 38021
Submitted by: davidx (I've tweaked the patch a bit)
2002-09-28 22:44:45 +00:00
gioria
7c067f8d03
Continuing MFen 1.423
2002-09-28 22:30:47 +00:00
phk
a7f6261fd0
Rename "struct device" to "struct midway_device" to avoid clashing
...
with newbus.
2002-09-28 21:59:59 +00:00
phk
630de06cea
Move includ of <sys/bus_priate.h> later to get semantic identity of
...
device_t the same throughout kernel.
This is a very fine point of C which fortunatly does not make any
difference in normal circumstances but which due to the pervasiveness
of device_t in the kernel can make a lint barf a lot.
2002-09-28 21:38:35 +00:00
phk
6fb11b236f
Change a return to a break so the local buffers get properly freeed.
...
Spotte by: FlexeLint
Reviewed by: rwatson
2002-09-28 21:34:31 +00:00
phk
3cb7a57195
s/struct dev_t */dev_t */
2002-09-28 21:21:01 +00:00
phk
7405ed8561
This driver doesn't need to include <sys/bus_private.h> either.
...
Spotted by: FlexeLint
2002-09-28 20:59:59 +00:00
phk
e4023fe3af
Disabuse this driver of the notion that it needs to include
...
<sys/bus_private.h> to find the unit from a device_t.
Spotted by: FlexeLint
2002-09-28 20:56:32 +00:00
peter
b5bcd1c2cb
There is no need for start/num to be signed in i386_ldt_args.
2002-09-28 20:42:04 +00:00
jmallett
4d0a0cd6be
Fix merge error in previous commit.
...
Sponsored by: Bright Path Solutions
2002-09-28 20:04:17 +00:00
jmallett
d6f4ac8034
Add empty default cases where they should be, remove non-local execution stuff
...
in compat.c which doesn't even have preprocessor-conditional-hidden support
code, and add a debugging statement where we might end up with a nil list
somehow, but where I doubt it.
First confirmed userland kill for Flexelint.
Sponsored by: Bright Path Solutions
2002-09-28 20:03:26 +00:00
phk
3e2edd4d2f
Zero the local-variable mutexes before we call mtx_init() on them,
...
failing to do this may lead mtx_init() to belive they have already
been initialized.
Detected by: Marc Recht <marc@informatik.uni-bremen.de>
2002-09-28 19:38:29 +00:00
peter
8f492ec3bf
Repair range checking for reading the ldt list.
...
PR: 38016
Submitted by: davidx
2002-09-28 19:37:54 +00:00
gioria
2bf606d2ad
We go more on MFen 1.423
2002-09-28 19:05:34 +00:00
jmallett
4991b48519
When spamming me with a printf(9), under DIAGNOSTIC, at least be nice enough
...
to include a newline.
MFC after: 4 days
Sponsored by: Bright Path Solutions
2002-09-28 19:04:49 +00:00
phk
66397ce25b
Make P_MAGIC fit in p_magic.
2002-09-28 18:48:22 +00:00
iwasaki
29ed6a594f
Add support for the BCM5702x chips.
...
Reviewed by: jdp
MFC after: 1 week
2002-09-28 18:04:12 +00:00
phk
782f6630e2
Don't use GCC shorthand for ?: unless it really matters.
2002-09-28 17:47:51 +00:00
phk
bf0bcb472a
Remove unused includes.
...
Clarify the intention of a while();
Move a local variable to avoid potential name-confusion.
2002-09-28 17:46:30 +00:00
phk
8c194b41a4
Fix mis-indent.
2002-09-28 17:37:55 +00:00
imp
239ff6e820
Newer Netgear MA401RA entry.
...
Submitted by: Michael Ranner
2002-09-28 17:36:52 +00:00
phk
a6a1eb4d53
Don't call function in return() for a void function.
2002-09-28 17:36:29 +00:00
phk
012f4c1828
Fix an indentation problem.
2002-09-28 17:34:31 +00:00
phk
c9d671f4fe
Don't use unnamed anonymous structs: give it a name.
2002-09-28 17:33:31 +00:00
phk
2175ba2a2d
Be consistent about "static" functions: if the function is marked
...
static in its prototype, mark it static at the definition too.
Inspired by: FlexeLint warning #512
2002-09-28 17:15:38 +00:00
matusita
03e6e2707a
Create symlink for /etc/group. MAKEDEV file will use this file (group name
...
to gid conversion).
PR: 43455
Submitted by: n-kogane@syd.odn.ad.jp
X-MFC after: immediately if re@ permits, or after 4.7-RELEASE is out
2002-09-28 17:06:07 +00:00
phk
1965b9a79c
Put the casts on the right hand side of =.
2002-09-28 14:17:24 +00:00
phk
918cf69a3f
Don't return(foo(bla)) when foo returns void.
2002-09-28 14:03:27 +00:00
phk
082fb04b4f
I misplaced a local variable yesterday.
2002-09-28 13:42:04 +00:00
phk
4ca7d8c975
Correctly order VI_UNLOCK(), local variables and block comment.
2002-09-28 12:15:44 +00:00
phk
8a81bb3afd
Style, whitespace and lint fixes.
...
Sponsored by: DARPA & NAI Labs.
2002-09-28 11:57:20 +00:00
phk
f74111b51e
Void functions cannot use return(foo) even if foo is also returning void.
...
Sponsored by: DARPA & NAI Labs.
2002-09-28 11:43:20 +00:00
phk
bd8bf844b5
Fix two style problems which made FlexeLint unhappy:
...
Don't use zero-dimension array in struct pargs.
Comma after the last element of an enum doesn't make sense.
2002-09-28 11:28:44 +00:00