Konstantin Belousov
2bb4c6f922
In brelse, put the B_NEEDSGIANT buffer on the QUEUE_DIRTY_GIANT queue,
...
instead of QUEUE_DIRTY.
Tested by: pho
Reviewed by: attilio
MFC after: 3 days
2008-08-19 11:31:49 +00:00
Kip Macy
ecded8075f
protect queue_log not queue
...
MFC after: 1 month
2008-08-19 02:39:34 +00:00
Kip Macy
6786023a87
Fix compilation without INVARIANTS
...
MFC after: 1 month
2008-08-19 02:36:56 +00:00
Kip Macy
1bdf6e36a7
avoid evtchn_init name collision in gdb
...
MFC after: 1 month
2008-08-19 02:31:01 +00:00
Kip Macy
d1e363dd51
remove redundant PT_SET_MA declaration
...
MFC after: 1 month
2008-08-19 02:27:31 +00:00
Kevin Lo
ff52952636
Add the D-Link DWA-110
...
Tested by: Jonathan Lee <spamtrap at tczyhatczsche dot eu>
2008-08-19 01:44:56 +00:00
Jung-uk Kim
ed97cc0f0c
Add test case for 'divide by 0' with BPF_ALU|BPF_DIV|BPF_X instruction.
2008-08-18 23:05:19 +00:00
Jung-uk Kim
b82a8cd81c
Fix two test cases on 32-bit architectures.
2008-08-18 21:40:03 +00:00
Kip Macy
7e9608c858
PT_UPDATES_FLUSH() is used in common code so it needs to be defined
...
even in the !defined(XEN) case
MFC after: 1 month
2008-08-18 21:35:09 +00:00
Jung-uk Kim
520ba9d94a
MFamd64: Correctly check unsignedness of all registers used
...
for load instructions with direct or indirect offsets.
2008-08-18 21:17:47 +00:00
Jung-uk Kim
69e08c86a5
Correctly check unsignedness of all BPF_LD|BPF_IND instructions.
...
This is roughly from sys/net/bpf_filter.c r1.12 and r1.14.
2008-08-18 19:14:26 +00:00
Jung-uk Kim
b0729b181a
Add simple bpf(9) regression tests and test cases.
2008-08-18 19:01:58 +00:00
Jung-uk Kim
3bfea8682f
- Make these files compilable on user land.
...
- Update copyrights and fix style(9).
2008-08-18 18:59:33 +00:00
Tim Kientzle
651eea9aa8
Fix SVN r181821 by not using FNM_LEADING_DIR where
...
it shouldn't be used.
2008-08-18 18:13:40 +00:00
Kai Wang
5a288360c8
sc->sc_ibuf should be malloc'ed after quirks applied, as
...
sc->sc_isize might have changed.
MFC after: 3 days
2008-08-18 17:13:23 +00:00
Kai Wang
ed5b720b20
Fix a typo: According to the hid spec, Global item #3
...
is Physical Minimum.
MFC after: 3 days
2008-08-18 17:05:59 +00:00
Attilio Rao
e23851c6ba
Add a missing include which was erroneusly left out from the previous
...
commit.
Sponsored by: Nokia
2008-08-18 16:51:44 +00:00
Kai Wang
fef8fd9505
In the hid parser, if a INPUT/OUTPUT/FEATURE item is skipped, its
...
corresponding USAGE should be skipped as well.
For example, below is a report desc fragment of some mouse:
COLLECTION
...
USAGE TWHEEL
FEATURE ...
...
USAGE WHEEL
INPUT ...
...
END COLLECTION
"USAGE TWHEEL" should be consumed after the FEATURE item is skipped,
otherwise, the INPUT item will be assigned to "USAGE TWHEEL" later,
other than "USAGE WHEEL".
Tested by: Grzegorz Blach
PR: usb/125941
2008-08-18 16:48:53 +00:00
Attilio Rao
51b93e474d
Bufferize the output for DDB printouts.
...
In order to CATER this, DDB buffered output can be choosen at compile
time through the option DDB_BUFR_SIZE=nbytes where nbytes choose the size
of the buffer (suggested size is 128 bytes), which should be manually
specified in any interested config file.
Sponsored by: Nokia
2008-08-18 16:48:09 +00:00
Kai Wang
f8b6bf0448
Re-add Microsoft Intellimouse 2.0 TWHEEL quirk.
...
Tested by: Merritt Draney, Brian Cox
PR: kern/123224
PR: kern/123510
MFC after: 3 days
2008-08-18 16:29:13 +00:00
Ollivier Robert
0814f601e6
Move FREEBSD-upgrade as well.
2008-08-18 14:37:44 +00:00
Ollivier Robert
7d7bbd7429
Move FREEBSD-Xlist in a more proper location.
2008-08-18 14:36:57 +00:00
Ollivier Robert
ff717da2cf
Import ntp 4.2.4p5 in the vendor code area. Far too many changes to list here,
...
please see CommitLog for detailed changes.
XXX html/build/hints/solaris.xtra.4095849 is not being imported as it conflicts
with the detect-merge-conflict.sh script in our repo.
2008-08-18 14:26:05 +00:00
Bjoern A. Zeeb
f125044552
As part of step 1.5 of the vimage framework resolve conflicts with
...
file local static globals which would be folded onto the same name
with the V_ macros.
Reviewed by: kris, brooks, simon
2008-08-18 13:16:19 +00:00
Kris Kennaway
59e6665b4f
Rename the static M_RPC defined here to M_RPCCLNT, since a global M_RPC
...
now optionally exists.
Reviewed by: dfr
MFC after: 3 days
2008-08-18 12:11:47 +00:00
Takanori Watanabe
b76ca0451e
Make it easy to comment out the part that use current tty layer directly.
...
(Handsfree interface)
I'll port the part to new tty layer after it has committed and
if I have spare time.
2008-08-18 11:56:13 +00:00
Kris Kennaway
891af7cfac
Fix compile
2008-08-18 10:39:59 +00:00
Ed Schouten
db96ec0b6b
Extend the message in UPDATING on the sio(4) -> uart(4) change.
...
It turns out I forgot to mention that people really need to make sure
their hints are up to date if they are updating a system through the
serial console.
Requested by: gavin
Reviewed by: gavin
2008-08-18 10:38:16 +00:00
Simon L. B. Nielsen
f1bec2c1ef
Fix mdoc markup in r181825.
2008-08-18 09:45:26 +00:00
Philip Paeps
19a71edb3a
Document the addition of the hw.ata.ata_dma_check_80pin tunable.
...
Submitted by: Patrick Lamaizière <patfbsd -at- davenulle.org>
MFC after: 1 week
2008-08-18 09:17:16 +00:00
Philip Paeps
80b11ee46a
Fix ARP in bridging scenarios where the bridge shares its
...
MAC address with one of its members (see my r180140).
Pointy hat to: philip
Submitted by: Eygene Ryabinkin <rea-fbsd@codelabs.ru>
MFC after: 3 days
2008-08-18 09:06:11 +00:00
Konstantin Belousov
8ad85ff260
The doreti_iret_fault code is always called with gs base MSR containing
...
kernel gs base, because %rip is adjusted only on kernel-mode trap caused
by iretq execution. On the other hand, the stack contains (hardware
part of) trap frame from the usermode. As a consequence, checking for
frame mode and doing swapgs causes the kernel to enter trap() with
usermode gs base.
Remove the check for mode and conditional swapgs, we already have right
gs base in the MSR.
Submitted by: Nate Eldredge <neldredge math ucsd edu>
MFC after: 3 days
2008-08-18 08:47:27 +00:00
Tim Kientzle
0f4b98311a
Strip leading "./" or ".//" from patterns and filenames
...
so that "./foo" matches "foo" (and vice versa).
This is related to PR bin/119141.
PR: bin/119141
MFC after: 4 days
2008-08-18 04:58:54 +00:00
Kevin Lo
8671b38b6c
Add isochronous transfer support for USB 2.0
...
Obtained from: NetBSD
2008-08-18 04:49:58 +00:00
Kip Macy
326f8c34b0
disable "legacy" device on xen domU
...
MFC after: 1 month
2008-08-17 23:44:09 +00:00
Kip Macy
4b34502e99
Work around differences in page allocation for initial page tables on xen
...
MFC after: 1 month
2008-08-17 23:40:29 +00:00
Kip Macy
1c8e9487bf
Ensure that machine / physical addresses are treated as vm_paddr_t
...
MFC after: 1 month
2008-08-17 23:39:22 +00:00
Kip Macy
fc715e2309
remove code in XEN version of init386 causing initialization failure
...
MFC after: 1 month
2008-08-17 23:38:14 +00:00
Kip Macy
f0a565d1c5
translate machine addresses to physical addresses in new code in pmap_init
...
MFC after: 1 month
2008-08-17 23:36:52 +00:00
Kip Macy
886b1e498b
bypass call to trap when handling hypervisor_upcall
...
MFC after: 1 month
2008-08-17 23:35:36 +00:00
Kip Macy
e9c9d2fcc7
clean up initvalues to work correctly on PAE
...
MFC after: 1 month
2008-08-17 23:34:44 +00:00
Kip Macy
5d254c0494
Make sure that machine addresses are vm_paddr_t
...
MFC after: 1 month
2008-08-17 23:33:33 +00:00
Kip Macy
9ec83e3b86
Make sure we don't lose the most significant bits of the frame number on PAE or 64-bit
...
MFC after: 1 month
2008-08-17 23:32:34 +00:00
Bjoern A. Zeeb
603724d3ab
Commit step 1 of the vimage project, (network stack)
...
virtualization work done by Marko Zec (zec@).
This is the first in a series of commits over the course
of the next few weeks.
Mark all uses of global variables to be virtualized
with a V_ prefix.
Use macros to map them back to their global names for
now, so this is a NOP change only.
We hope to have caught at least 85-90% of what is needed
so we do not invalidate a lot of outstanding patches again.
Obtained from: //depot/projects/vimage-commit2/...
Reviewed by: brooks, des, ed, mav, julian,
jamie, kris, rwatson, zec, ...
(various people I forgot, different versions)
md5 (with a bit of help)
Sponsored by: NLnet Foundation, The FreeBSD Foundation
X-MFC after: never
V_Commit_Message_Reviewed_By: more people than the patch
2008-08-17 23:27:27 +00:00
Tim Kientzle
ac2dcb729f
Don't strip a leading '/' from a pattern to be matched.
...
This aligns the pattern-matching behavior with GNU tar
and restores the behavior of bsdtar prior to FreeBSD 6.3.
PR: bin/117909
MFC after: 3 days
2008-08-17 19:43:45 +00:00
Ollivier Robert
cce65f4396
Flatten the dist and various 4.n.n trees in preparation of future ntp imports.
2008-08-17 17:37:33 +00:00
Warner Losh
7e178674ff
Update a comment about not numbering pci busses. This may soon be
...
OBE, but was sitting around in one of my trees for a while...
2008-08-17 17:34:07 +00:00
Andrew Thompson
ef57ba98a7
LRO combined packets can actually be bridged as long as all the interfaces also
...
support TSO, this can always be disabled manually if undesirable.
Pointed out by: gallatin
2008-08-16 23:59:17 +00:00
Warner Losh
e4e130244d
Remove useless #if 1.
2008-08-16 21:51:54 +00:00
Alfred Perlstein
cbd3ba3edf
Prevent crashes due to unlocked access to hash buckets in two sysctls.
...
Use CACHE_LOCK to prevent crashes.
Sysctls fixed: debug.hashstat.nchash and debug.hashstat.rawnchash.
Obtained from: Juniper Networks
MFC After: 1 week
2008-08-16 21:48:10 +00:00