kientzle
b49301b5cd
Better comment the pattern tests; adjust the filenames for the
...
reference files to match the corresponding source.
MFC after: 3 days
2008-08-20 06:01:53 +00:00
thompsa
fb39793d41
ifnet_setbyindex() is only used locally, go back to being static.
2008-08-20 05:00:18 +00:00
kmacy
52ae0107c8
don't use cpu_idle_acpi under xen
...
MFC after: 1 month
2008-08-20 03:28:32 +00:00
kmacy
a87097dc97
Check for watch events when doing inline message processing
...
MFC after: 1 month
2008-08-20 03:27:12 +00:00
kmacy
01940f4e65
Fix build
2008-08-20 03:14:48 +00:00
obrien
19743e2df1
Rename the RCng 'kernel' script to 'kernel_symlink'.
2008-08-20 03:02:06 +00:00
julian
35cb6f89ba
Fix wierd integration error
...
No idea where this came from
2008-08-20 02:48:33 +00:00
kmacy
b1f7c9438e
Xen 3.2 now interleaves watch events with regular message notifications.
...
More graciously handle processing messages and watch events inline prior
to threads being up and running.
MFC after: 1 month
2008-08-20 02:42:08 +00:00
julian
03a5241ea0
Fix some of the formatting fixes.. It's amazing how some thing stand out
...
in a commit message.
2008-08-20 01:24:55 +00:00
julian
0592958505
A bunch of formatting fixes brough to light by, or created by the Vimage commit
...
a few days ago.
2008-08-20 01:05:56 +00:00
rpaulo
e808f0ec70
Add a man page for the acpi_asus(4) driver.
...
MFC after: 1 week
2008-08-19 23:06:21 +00:00
rpaulo
416e86f6eb
Fix typo in comment.
2008-08-19 22:28:24 +00:00
imp
22fd66a829
Provide hooks into the GPIO lines and the ability to set/clear
...
interrupts from them. This should be more generalized, but is
sufficient for now.
Submitted by: Hans Petter Selasky
2008-08-19 22:17:14 +00:00
imp
22fa49d382
Use the proper clock domain for the usb host controller.
...
Submitted by: Hans Petter Selasky
2008-08-19 22:16:10 +00:00
imp
51f75784d6
Add IRQ line for usb device. I'm not 100% sure this is the right
...
place to add this connection, since the interrupt is for a GPIO pin,
but since we have no alternative at the moment...
Submitted by: Hans Petter Selasky
2008-08-19 22:15:14 +00:00
jhb
c990b20179
Use kvm_getcptime(3) to fetch the global CPU time stats from a crashdump
...
since the 'cp_time' symbol doesn't exist in recent kernels. This fixes
iostat and vmstat on crash dumps.
MFC after: 1 week
2008-08-19 21:33:09 +00:00
jhb
67b02c52de
Add a new routine kvm_getcptime(3) for fetching the equivalent of
...
'kern.cp_time'. For a live kernel it uses the sysctl. For a crashdump,
it first checks to see if the kernel has a 'cp_time' global symbol. If
it does, it uses that. If that doesn't work, when it uses the recently
added kvm_getmaxcpu(3) and kvm_getpcpu(3) routines to walk all the CPUs
and sum up their counters.
MFC after: 1 week
2008-08-19 21:30:36 +00:00
jb
10e058a3a2
Add calls to callout_drain() to ensure the callouts are flushed before
...
we free memory from underneath them.
This fixes an occasional panic I've been seeing in softclock() where a bad
pointer would be encountered when pushing DTrace hard.
2008-08-19 21:28:58 +00:00
jhb
6b2c2fe045
Pass the right pointer to bzero() when clearing cp_time.
...
MFC after: 1 week
2008-08-19 20:33:59 +00:00
jhb
78678aa46b
Add two new routines to libkvm for working with per-CPU data:
...
kvm_getmaxcpu() and kvm_getpcpu().
MFC after: 1 week
2008-08-19 19:55:33 +00:00
jhb
d90774443d
Export 'struct pcpu' to userland w/o requiring _KERNEL. A few ports
...
already define _KERNEL to get to this and I'm about to add hooks to
libkvm to access per-CPU data.
MFC after: 1 week
2008-08-19 19:53:52 +00:00
ed
6c10b95f59
Don't include <sys/tty.h> in our sound layer. It is not needed.
...
The PCM's sound.h file only seems to include <sys/tty.h>, because
channel_if seems to require selinfo. Just replace it with
<sys/selinfo.h>.
There's no real problem with including <sys/tty.h> here, even with
MPSAFE TTY, but <sys/tty.h> is something that should be used by the TTY
layer, its driver and code that integrated it with the process tree.
2008-08-19 19:45:08 +00:00
obrien
5c4a4c1479
Rename the RCng 'kernel' script to 'kernel_symlink'.
...
Requested by: many
2008-08-19 14:23:31 +00:00
jhb
76ad1fe909
If a CPUTYPE isn't specified, then don't use -march=k8 when compiling
...
32-bit compat libs on amd64 since -march=k8 may generate instructions
that are not implemented on Intel EM64T processors. Instead, use
a simpler set of default flags that should work on all amd64-capable
CPUs.
PR: amd64/113111
Submitted by: NIIMI Satoshi sa2c of sa2c.net
MFC after: 1 week
2008-08-19 14:23:26 +00:00
kib
ee27d03e64
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
kmacy
72e9843aad
protect queue_log not queue
...
MFC after: 1 month
2008-08-19 02:39:34 +00:00
kmacy
a0ede73626
Fix compilation without INVARIANTS
...
MFC after: 1 month
2008-08-19 02:36:56 +00:00
kmacy
edc759b8a0
avoid evtchn_init name collision in gdb
...
MFC after: 1 month
2008-08-19 02:31:01 +00:00
kmacy
4bd0b7bf34
remove redundant PT_SET_MA declaration
...
MFC after: 1 month
2008-08-19 02:27:31 +00:00
kevlo
8666b86066
Add the D-Link DWA-110
...
Tested by: Jonathan Lee <spamtrap at tczyhatczsche dot eu>
2008-08-19 01:44:56 +00:00
jkim
95cf51a304
Add test case for 'divide by 0' with BPF_ALU|BPF_DIV|BPF_X instruction.
2008-08-18 23:05:19 +00:00
jkim
62966b1d9f
Fix two test cases on 32-bit architectures.
2008-08-18 21:40:03 +00:00
kmacy
06b9c603d7
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
jkim
6c06c4f875
MFamd64: Correctly check unsignedness of all registers used
...
for load instructions with direct or indirect offsets.
2008-08-18 21:17:47 +00:00
jkim
9847f32c4e
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
jkim
2e51cd9be9
Add simple bpf(9) regression tests and test cases.
2008-08-18 19:01:58 +00:00
jkim
137ba6a238
- Make these files compilable on user land.
...
- Update copyrights and fix style(9).
2008-08-18 18:59:33 +00:00
kientzle
adc2f6a5da
Fix SVN r181821 by not using FNM_LEADING_DIR where
...
it shouldn't be used.
2008-08-18 18:13:40 +00:00
kaiw
4f77677b66
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
kaiw
5e73cb432f
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
9fa43bf87f
Add a missing include which was erroneusly left out from the previous
...
commit.
Sponsored by: Nokia
2008-08-18 16:51:44 +00:00
kaiw
2c6e2da0df
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
93af8fa458
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
kaiw
fa05df0f2c
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
roberto
d0e3d12c54
Move FREEBSD-upgrade as well.
2008-08-18 14:37:44 +00:00
roberto
2638b58e2d
Move FREEBSD-Xlist in a more proper location.
2008-08-18 14:36:57 +00:00
bz
8a795a9f76
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
14af2b99b4
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
takawata
f2e31d9875
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
046ca233c0
Fix compile
2008-08-18 10:39:59 +00:00