Sebastien Gioria
9ffb17c407
More translation
2002-09-29 17:17:03 +00:00
Yoshihiro Takahashi
431420173d
Don't make an error even if drivers.conf does not exist.
...
Tested on: snapshots.pc98.jp.FreeBSD.org
2002-09-29 13:47:01 +00:00
Bruce Evans
fb0be37ded
Align the stack suitably for the version of gcc in FreeBSD-4 (provided
...
-fomit-frame-pointer is not used). This is mostly moot for -current
because gcc-3 does the alignment (slightly incorrectly) in main().
This patch is intended for easy MFC'ing and should be backed out in
-current soon since it causes compiler warnings and better fixes are
possible in -current. The best fix is to do nothing here and wait for
gcc to do stack alignment right. gcc-3 aligns the stack in main(), but
does it too late for main()'s local variables and too late for anything
called before main(). A misaligned stack is now more than an efficiency
problem, since some SSE instructions in some or all (hardware)
implementations trap on misaligned operands even if alignment checking
is not enabled.
PR: 41528:
Submitted by: NIIMI Satoshi <sa2c@sa2c.net> (original version)
MFC after: 3 days
2002-09-29 13:42:27 +00:00
Yoshihiro Takahashi
7698537b29
Added some buggy PC-98 PnP cards support.
2002-09-29 13:31:26 +00:00
Tim J. Robbins
9a7cafd9b8
Remove dead code which supported systems without O_APPEND, O_CREAT or SIGTSTP.
2002-09-29 12:38:25 +00:00
Bruce Evans
a7f6243009
Fixed some of the namespace pollution in rev.1.33. <sys/systm.h> was
...
included here because it was once a prerequisite of <sys/mutex.h>
although that bug was fixed long ago.
2002-09-29 12:09:08 +00:00
Bruce Evans
65c66e222d
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>.
Removed unused includes.
2002-09-29 12:01:36 +00:00
Bruce Evans
6364993cd3
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
Yoshihiro Takahashi
a9efc762e3
Merged from sys/isa/fd.c revision 1.238.
2002-09-29 11:43:14 +00:00
Yoshihiro Takahashi
b47483f6b8
Merged from sys/dev/syscons/syscons.c revision 1.389.
2002-09-29 11:42:36 +00:00
Yoshihiro Takahashi
8bb39f7153
Merged from sys/dev/sio/sio.c revisions 1.380 and 1.381.
2002-09-29 11:41:48 +00:00
Wilko Bulte
4474c000cb
Document 1Gbyte max memory limitation on Miata.
2002-09-29 11:40:06 +00:00
Tim J. Robbins
1c59560de9
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
Juli Mallett
f7f23e15f8
Mark the signo as __unused in a lazy signal handler.
2002-09-29 07:59:57 +00:00
David E. O'Brien
21b68415cd
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 Melville
a35a7e761a
Add getopt_long(3).
...
Obtained from: NetBSD
Sponsored by: Apple
2002-09-29 04:14:37 +00:00
Julian Elischer
0cd3964f6d
lock proc while calling psignal
...
(plus related cleanups)
Submitted by: davidxu
2002-09-29 02:48:37 +00:00
Juli Mallett
40eecdba73
Fix spurious three-space indentation in a four-space indentation file.
2002-09-29 00:20:28 +00:00
Juli Mallett
7cfab3bb92
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
Juli Mallett
3873e563fc
Fix ability to use csh(1) as the make(1) shell.
...
Sponsored by: Bright Path Solutions
2002-09-29 00:02:04 +00:00
Sebastien Gioria
c0c1dca769
New translation
2002-09-28 23:35:54 +00:00
Juli Mallett
763d9eb177
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
Sebastien Gioria
83c64295bd
New translation
2002-09-28 23:15:58 +00:00
Tom Rhodes
ca4a28f770
s/behaviour/behavior/ in the chmod(1) manual
2002-09-28 23:05:58 +00:00
Peter Wemm
8eb8107b44
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
Sebastien Gioria
b66148fa5e
Continuing MFen 1.423
2002-09-28 22:30:47 +00:00
Poul-Henning Kamp
61ddb5c9d7
Rename "struct device" to "struct midway_device" to avoid clashing
...
with newbus.
2002-09-28 21:59:59 +00:00
Poul-Henning Kamp
651dde1b81
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
Poul-Henning Kamp
2f9752e95e
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
Poul-Henning Kamp
19ebba326b
s/struct dev_t */dev_t */
2002-09-28 21:21:01 +00:00
Poul-Henning Kamp
b9b7876d2b
This driver doesn't need to include <sys/bus_private.h> either.
...
Spotted by: FlexeLint
2002-09-28 20:59:59 +00:00
Poul-Henning Kamp
a3ae595729
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 Wemm
feea0ab05b
There is no need for start/num to be signed in i386_ldt_args.
2002-09-28 20:42:04 +00:00
Juli Mallett
76e8db31fc
Fix merge error in previous commit.
...
Sponsored by: Bright Path Solutions
2002-09-28 20:04:17 +00:00
Juli Mallett
1e3d8881cf
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
Poul-Henning Kamp
079a527a3d
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 Wemm
8b223ac209
Repair range checking for reading the ldt list.
...
PR: 38016
Submitted by: davidx
2002-09-28 19:37:54 +00:00
Sebastien Gioria
b7df8acc7c
We go more on MFen 1.423
2002-09-28 19:05:34 +00:00
Juli Mallett
85de3147ea
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
Poul-Henning Kamp
d94c4c67a2
Make P_MAGIC fit in p_magic.
2002-09-28 18:48:22 +00:00
Mitsuru IWASAKI
01598b8d4a
Add support for the BCM5702x chips.
...
Reviewed by: jdp
MFC after: 1 week
2002-09-28 18:04:12 +00:00
Poul-Henning Kamp
b28a0fe196
Don't use GCC shorthand for ?: unless it really matters.
2002-09-28 17:47:51 +00:00
Poul-Henning Kamp
53cc479393
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
Poul-Henning Kamp
562c866822
Fix mis-indent.
2002-09-28 17:37:55 +00:00
Warner Losh
a2398beeed
Newer Netgear MA401RA entry.
...
Submitted by: Michael Ranner
2002-09-28 17:36:52 +00:00
Poul-Henning Kamp
cb8e433232
Don't call function in return() for a void function.
2002-09-28 17:36:29 +00:00
Poul-Henning Kamp
024cb40078
Fix an indentation problem.
2002-09-28 17:34:31 +00:00
Poul-Henning Kamp
5c5f6cfa52
Don't use unnamed anonymous structs: give it a name.
2002-09-28 17:33:31 +00:00
Poul-Henning Kamp
37c841831f
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
Makoto Matsushita
069f4a6841
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