christos
6a6266cc74
s/perror/perr/ so that we can make it varyadic. Overloading stdio's perror()
...
sneaky.
2006-06-05 16:52:05 +00:00
christos
15f3040f9f
- don't leak memory on allocation failure.
...
- s/perror/perr and print how much we were trying to allocate.
2006-06-05 16:51:18 +00:00
chap
42f4810aa0
Reword a couple of spots that committed too much internal detail, spotted
...
by brian and der Mouse, and another that seemed to throw a reader. Add
the CODE REFERENCES section.
Critical discussion of this man page:
http://mail-index.netbsd.org/tech-kern/2006/06/04/0012.html et seq.
And with all that, what a lucky break to catch that I was thinking of
the /reciprocal/ of the load factor, before anybody else spotted it!
Now I can fix it before anybody notices. Heh. Wait, is this going in
the lo^C
2006-06-05 16:48:35 +00:00
reed
4cfce7b21f
Check return value for setgid(), initgroups(), and setuid().
...
Log error and exit if failure.
2006-06-05 16:41:34 +00:00
msaitoh
52532c99c9
add support 82546GB_PCIE(PRO/100MT), 82541ER_LOM, 82547EI_MOBILE,
...
82571EB_COPPER, 82571EB_FIBER, 82572EI_COPPER, 82572EI_FIBER
and 82572EI(PRO/1000PT)
TODO: add i82573 support
2006-06-05 16:06:10 +00:00
xtraeme
045e0f2d3d
it_check(): check values from IT_RES48 and IT_RES52, if both are default
...
values specified by the chip, continue attaching the driver (previously
only checking IT_RES48 was enough and IT_RES52 was ignored).
2006-06-05 15:59:47 +00:00
msaitoh
5d3a49100a
regen
2006-06-05 15:58:55 +00:00
msaitoh
f80e45c34c
add 82541ER_LOM, 82547EI_MOBILE, 82546GB_PCIE(PRO/100MT),
...
82546GB_QUAD_COPPER(PRO/1000MT QP) and 82572EI(PRO/1000PT).
2006-06-05 15:58:15 +00:00
skrll
f8cd863c07
Note import of gcc 3.3.6
2006-06-05 15:09:39 +00:00
rpaulo
9f668d8be9
Call to kauth_cred_getgroups() should use kauth_cred_ngroups() result,
...
not the size of the array.
2006-06-05 13:25:28 +00:00
rpaulo
abd28afaa8
pcr_ngroups should be uint16_t.
2006-06-05 13:24:22 +00:00
skrll
dc4d6d7016
Backport the fix(es) for bootstrap/14992.
...
--as-needed can only be used with libgcc on Linux so update configure to
only test for --as-needed on Linux.
I've manually added the change to configure until I get the right set of
autofoo tools.
2006-06-05 12:40:07 +00:00
skrll
f93fb46540
Merge gcc 3.3.6
2006-06-05 12:25:58 +00:00
skrll
549c70ea2b
Import gcc 3.3.6.
...
144 gcc bugs were fixed between 3.3.3 and 3.3.6.
2006-06-05 10:59:57 +00:00
gdamore
b38b3d39ad
Import new HAL 0.9.17.2. Approved by sam@
...
New HAL includes some driver changes to register accesses.
Adds support for WLAN devices on AR5312 family devices.
Adds support 32-bit SPARC ath devices (untested).
ath enabled in SPARC64 GENERIC builds.
This HAL is tested and known to work for i386 PCI devices, SPARC64 PCI devices,
and AR5312 WiSoC devices. MIPS PCI devices appear to be busted (possibly only
on Alchemy hardware, unconfirmed), and cardbus support is untested due to
lack of test hardware.
Please report any new problems with this import to garrett@.
2006-06-05 05:14:37 +00:00
elad
fb101b952c
another netstat fix, Kurt Schreiner. thanx!
2006-06-04 22:39:33 +00:00
perry
494da5ef96
add a couple of .Xr's to config(5).
...
Not yet really enough, but a bit for now.
2006-06-04 21:58:21 +00:00
perry
9ea4211ee2
.Xr config 5
...
Might need a bit more, but this looked okay for now.
2006-06-04 21:55:50 +00:00
rpaulo
76c6161871
Driver for Ralink chipsets RT2460A, RT2560, RT2561S, RT2561 and RT2661
...
from FreeBSD/OpenBSD that supersedes ral*.[ch].
Not yet enabled because I don't have a CardBus controller to test and it
will most likely crash during detach.
I tried to include our modifications, but if something is missing please
tell me or add it.
Special thanks to minipci.biz for the donation of one PCI RT2661 and
one CardBus RT2661.
2006-06-04 20:38:06 +00:00
rpaulo
a49baeafe7
Generated firmware files for Ralink chipsets 2561, 2561s, 2661.
2006-06-04 20:32:53 +00:00
rpaulo
e2c5d8e671
Framework to build Ralink wireless cards binary firmwares based on
...
Ralink distributed microcode.h.
From OpenBSD.
2006-06-04 20:30:17 +00:00
cube
93e398b3e3
Reference config(5). Noted by perry@.
...
XXX options(4), config(9) and probably some others still have to be changed
XXX a bit. A chaque jour suffit sa peine.
2006-06-04 20:07:52 +00:00
cube
3bde459b8f
Set a more realistic date than the day I started writing it.
2006-06-04 20:06:14 +00:00
elad
e7a2ce04a1
fix logic; from Kurt Schreiner
2006-06-04 20:01:14 +00:00
cube
ecfd193d31
Install config.5 and config.samples.5.
2006-06-04 19:42:18 +00:00
cube
8a5d15c785
Everything you've always wanted to know about config(1) without daring
...
asking (with reason).
You've entered the config(1) dungeon--More--
An option hits you. You die.
2006-06-04 19:41:26 +00:00
christos
52514196f1
save another 1K on the stack.
2006-06-04 19:38:32 +00:00
christos
03701dc24f
Don't allocate 1K on the stack.
2006-06-04 19:34:16 +00:00
christos
4de2a1c70e
Don't allocate 2K on the stack...
2006-06-04 19:27:59 +00:00
tsutsui
a9fac00a81
Also fix md_get_cddevs() to match cd probe messages by MI SCSI drivers.
...
(untested)
2006-06-04 17:00:13 +00:00
tsutsui
2c0d282c4d
Fix md_get_diskdevs() to match sd probe messages by MI SCSI drivers.
...
Problem reported by Juha Laiho on port-hp300.
2006-06-04 16:52:29 +00:00
christos
65a5eb3712
Grr, change the code so that it compiles with gcc-3. It was ok with gcc-4.
2006-06-04 16:44:08 +00:00
perry
5da686584b
convert a tab to a space so commenting out of piixpm is cleaner
2006-06-04 15:48:08 +00:00
chap
f3ef5715ba
Document the recent trunk changes to ntp_gettime(2) (Hi Matthias!).
2006-06-04 15:46:08 +00:00
perry
18e9385d27
Wrap the UPAGES definition with an #ifndef so that (in emergencies) it
...
can be put into a kernel config file.
Stack overflows should be fixed, not patched around, but this makes it
easier to test if one is causing a panic.
2006-06-04 15:41:53 +00:00
chap
8af3733e5a
Document kernel function hashinit/hashdone.
...
"No[ objections] here." -christos@
2006-06-04 14:45:34 +00:00
cube
1baa475170
Bump version after fix to obsolete syntax.
2006-06-04 13:52:27 +00:00
cube
87ab9060e2
D'uh. Forgot the file name argument in the "obsolete" statements.
2006-06-04 13:07:24 +00:00
itohy
90ed6f0bd7
Make compile by gcc 2.
2006-06-04 11:49:02 +00:00
mrg
77b9fb02b9
undef memset before calling it with a destination address of 0.
...
GCC4.1 complains about this when using the builtin, so force
this to call the real function normally.
2006-06-04 07:32:20 +00:00
christos
12cf891332
Put back send-mail; /usr/bin/mail uses it.
2006-06-04 05:22:32 +00:00
mrg
314025d505
add ${G_md_file} files as dependancies for tm-preds.h and insn-pred.h.
...
this should fix some build problems that happened with UPDATE=1 and
the newer GCC 4.1.
2006-06-04 04:37:47 +00:00
mrg
98983484cf
remove a comment that isn't really valid.
2006-06-04 02:30:56 +00:00
simonb
180fec2bb9
Adjust asm constraints for more pickier gcc4.
2006-06-03 23:58:48 +00:00
mrg
100e6c8e21
actually use the local generated options.h rather than the empty version
...
from the libgcc build dir. this should fix powerpc build issues.
2006-06-03 22:40:38 +00:00
christos
b3c28e1d64
kill explicit size printing in warning.
2006-06-03 21:55:28 +00:00
christos
e07345e108
off-by-one (thanks to our anonymous contributor)
2006-06-03 21:47:55 +00:00
mrg
858b5e50d3
note GCC 4 has been imported twice.
2006-06-03 20:00:54 +00:00
christos
e538b980bb
If one file is shorter than the other, print the byte and line offsets if
...
available. From our anonymous contributor.
2006-06-03 18:55:02 +00:00
christos
98f3ad2656
Document SA_NOKERNINFO.
2006-06-03 18:23:52 +00:00