marcel
66a8b20283
Allow suppression of -Wcast-align for WARNS>=4 by defining
...
NO_WCAST_ALIGN. The headers of the standard C++ library are
not 64-bit clean and trigger the warning. This prevents use
of WARNS>=4 on ia64 for example.
2010-02-18 02:06:57 +00:00
marcel
d88b182387
Unbreak WARNS=6 builds for C++ code: -Wold-style-definition is not accepted
...
by the C++ compiler. Filter it out.
2010-02-18 01:44:48 +00:00
emaste
4b84a18405
Include command type in COMMAND TIMEOUT messages to aid in debugging.
2010-02-17 22:28:37 +00:00
jilles
c8c6926105
sh: arith: Add a test for a bug in the dash arith code,
...
which I plan to import at some point.
Our current code handles it fine and it should stay that way.
2010-02-17 22:25:22 +00:00
jilles
8e6f78bc97
sh: arith: Test an octal constant as well.
2010-02-17 22:22:20 +00:00
raj
e0193fb6b2
Assorted fixes for mge(4).
...
- Use proper map for the busdma sync on mge descriptor.
- Remove unnecesary busdma sync.
- Eliminate redundant locking in mge_reinit_rx() (just assert).
- Kill unused variable.
Submitted by: Grzegorz Bernacki
Obtained from: Semihalf
MFC after: 1 week
2010-02-17 17:03:04 +00:00
ru
fe9f464e77
realloc() with a proper amount of memory.
...
MFC after: 3 days
2010-02-17 16:45:03 +00:00
luigi
c2328f70d5
remove recursive lock/unlock calls, we do them already before entering
...
the switch.
Reported by: Marta Carbone
2010-02-17 13:06:06 +00:00
phk
41471022dc
Mention EISDIR as a possible errno.
2010-02-17 09:11:21 +00:00
neel
35bb948988
Various fixes to get the SWARM config working on a big-endian Sibyte CPU.
...
Getting the little-endian PCI bus working on the big-endian CPU proved to be
quite challenging. We let the PCI devices be mapped in the "match byte lanes"
address window. This is where they are mapped by the CFE and DMA transfers
generated to or from addresses within this window are not subject to automatic
byte-swapping.
However any access by the driver to memory-mapped pci space is redirected
via the "match bit lanes" address window. We get the benefit of automatic
byte swapping through this address window and drivers don't need to change
to deal with CPU big-endianness.
2010-02-17 06:43:37 +00:00
imp
fc770dc08c
Revert bogus change that snuck into r203972.
2010-02-17 06:11:05 +00:00
gavin
c88e244dff
Bump .Dd for r203977
...
MFC after: 1 month
2010-02-16 22:55:38 +00:00
gavin
3191fb252e
Implement the rename query, for when a file with the same name as the one
...
about to be extracted already exists. The question, and interpretation
of the response is deliberately compatible with Info-Zip.
This change was originally obtained from NetBSD, but has three changes:
- better compatibility with Info-Zip in the handling of ^D
- Use getdelim() rather than getline()
- bug fix: != changed to == in the "file rename" code
I suspect the latter is also a bug in NetBSD, but I can't easily confirm
this.
PR: bin/143307
Reviewed by: rdivacky (change to unzip.c only)
Obtained from: NetBSD src/usr.bin/unzip/unzip.c 1.8
MFC after: 1 month
2010-02-16 22:53:18 +00:00
imp
b9e425b3c9
The NetBSD Foundation has granted permission to remove clauses 3 and 4.
...
Obtained from: NetBSD
2010-02-16 21:59:17 +00:00
imp
58afe79515
The NetBSD Foundation has granted permission to remove clauses 3 and 4.
...
Obtained from: NetBSD
2010-02-16 21:49:36 +00:00
imp
79251c9c52
The NetBSD Foundation has given permission to remove clause 3 and 4
...
from their liceense.
Obtained from: NetBSD
2010-02-16 21:47:05 +00:00
imp
51a4095a03
The NetBSD Foundation has granted permission to remove clause 3 and 4
...
from their software.
Obtained from: NetBSD
2010-02-16 21:43:57 +00:00
imp
a10ce61d97
The NetBSD Foundation has granted permission for people to remove
...
clause 3 and 4 from their software.
2010-02-16 21:39:20 +00:00
marcel
bf1afdcf61
Define TLS_MODEL for PowerPC as well. Since PowerPC uses variant I,
...
like ia64, leave it empty (default model).
2010-02-16 20:46:22 +00:00
marius
e51e443f9c
Factor out the code shared between NFS client and server into its own
...
module. With r203732 it became apparent that creating the sysctl nodes
twice causes at least a warning, however the whole code shouldn't be
present twice in the first place.
Discussed with: rmacklem
2010-02-16 20:00:21 +00:00
jh
ceb3f1544b
Xref mdmfs(8).
2010-02-16 20:00:20 +00:00
jh
5e778d8cbc
Improve descriptions for tmpfs mount options. The descriptions have
...
been mostly obtained from NetBSD mount_tmpfs(8) manual page.
Obtained from: NetBSD
Discussed with: delphij
2010-02-16 19:59:10 +00:00
imp
05a1bb0a4a
Remove clause 3 from Berkeley copyrights. Add a few $FreeBSD$'s.
2010-02-16 19:46:46 +00:00
imp
7d79e30fb2
Remove the Berkeley clause 3's.
...
Add a few $FreeBSD$
2010-02-16 19:39:50 +00:00
imp
7add613fad
Remove NetBSD Foundation clauses 3 & 4. They eliminated those clauses
...
last year.
2010-02-16 19:28:10 +00:00
marcel
17a0352c44
Compile fbsd-threads.c. Threading & TLS support is working just fine.
2010-02-16 16:38:57 +00:00
rpaulo
78a882d58e
Fix Kite and Merlin version check.
2010-02-16 12:43:55 +00:00
ru
35a8cfd727
%U was macroized in mdoc(7), escape.
2010-02-16 12:29:02 +00:00
uqs
0d3aa43814
Document co-mentorship by ed.
...
Approved by: ed (co-mentor)
2010-02-16 09:10:48 +00:00
uqs
89a7a155da
Add missing newline in last line of file.
...
Uncovered via: fromcvs vs. svn
Approved by: ed (co-mentor)
2010-02-16 09:10:21 +00:00
delphij
27ac799cb4
Remove clause 3 from my license.
2010-02-16 08:19:28 +00:00
marcel
b3a749c0d1
Unbreak ia64: tls_model("initial-exec") is invalid, because it assumes
...
the static TLS model, which is fundamentally different from the dynamic
TLS model. The consequence was data corruption. Limit the attribute to
i386 and amd64.
2010-02-16 06:47:00 +00:00
marcel
b72bfb8c31
Improve TLS variant I:
...
o Use obj->tlsinitsize to determine whether there's initialized data.
o If obj->tlssize > obj->tlsinitsize, then bzero uninitialized data.
o Don't exclude variant I from the work-around in free_tls_offset().
2010-02-16 02:48:11 +00:00
marcel
56cf56f59d
The static TLS size as given by tls_static_space includes TLS_TCB_SIZE
...
bytes of TCB in variant I.
2010-02-16 02:22:59 +00:00
weongyo
2eef358f95
adds bwn(4) driver for supporting Broadcom BCM43xx chipsets.
...
o uses v4 firmware instead of v3. A port will be committed to create
the bwn firmware module.
o supports B/G and LP(low power) PHYs.
o supports 32 / 64 bits DMA operations.
o tested on big / little endian machines so should work on all
architectures.
It'd not connected to the build until the firmware port is committed.
2010-02-16 01:44:14 +00:00
weongyo
2a614014a2
supports SPROM rev8 informations properly which are used to support
...
low-power PHY of bwn(4) and LDO voltage adjustments.
2010-02-16 01:22:33 +00:00
jkim
a384f1d48a
Remove COMPILATIONDATE from the default section. This string is no longer
...
being substituted since r162063.
PR: bin/143976
MFC after: 1 month
2010-02-16 01:07:06 +00:00
gonzo
33dc2d8ede
- Clean-up output of memory banks info
2010-02-16 00:08:42 +00:00
attilio
b9f41eb470
Adjust style (following the already existing rules) for the newly
...
introduced option DEADLKRES.
Reported by: danfe, julian, avg
2010-02-15 23:44:48 +00:00
jkim
41e9684047
Rename some macros to clarify their intentions and fix style nits.
2010-02-15 20:46:01 +00:00
jkim
d7de04b749
Add support for cycle' and
zero' events for LCD brightness control.
...
Submitted by: Daniel Walter (d dot walter at 0x90 dot at) (intial version)
2010-02-15 19:30:28 +00:00
bschmidt
5640f10b9c
Fix for the Intel WiFi Link 1000. The EEPROM image is in the OTPROM block
...
before the last block, not in the last block itself.
Approved by: rpaulo (mentor)
Obtained from: OpenBSD
MFC after: 3 weeks
2010-02-15 19:18:46 +00:00
rpaulo
f41f7b8afc
Fix KITE version check.
...
Obtained from: //depot/user/rpaulo/80211n/...
2010-02-15 18:47:42 +00:00
imp
7c458552b0
Remove the third clause for the Berkeley parts of games, per the
...
letter in /COPYRIGHT.
2010-02-15 18:46:02 +00:00
mav
6be9a30d07
Make CD driver a bit more robust and predictable to unreported errors.
2010-02-15 18:14:51 +00:00
rpaulo
8a329860ec
Bring back AR9285 support. This fixes most of the issues and should be
...
pretty usable.
MFC after: 1 month
2010-02-15 17:49:49 +00:00
trasz
5bd435ea19
Some rewording and language fixes.
...
PR: docs/136918, docs/134074
Submitted by: Ben Kaduk <kaduk at mit dot edu>, Haven Hash <havenster at gmail dot com>
2010-02-15 17:41:59 +00:00
uqs
6dbf26d197
fortune(6) switch to 3-clause BSDL; style(9)
...
This reduces the diff to other *BSD and makes it possible to actually
see the code differences.
Approved by: ed (Co-mentor)
2010-02-15 15:10:21 +00:00
raj
cea5b4c8de
Call the proper linkup routine in PowerPC Book-E machdep.
...
Submitted by: attilio
MFC after: 1 week
2010-02-15 14:38:30 +00:00
uqs
23cb4f332d
games: make WARNS=6 the default, remove overrides
...
This also bumps factor, fortune, primes, and random to WARNS=6.
Approved by: ed (Co-mentor)
2010-02-15 14:32:00 +00:00