Commit Graph

193164 Commits

Author SHA1 Message Date
agc
69d4f30f78 + rationalise birthtime/expiration timestamps into a single function
+ clean up some 64-bit (amd64) lint
2010-08-15 07:52:26 +00:00
mrg
25c3593d4e add new option to build/use tools/pigz for compressing sets. for now
USE_PIGZGZIP defaults to "no".  (it depends upon local <pthread.h> and -lz.)

you can set it to "yes" on most modern platforms just fine.
2010-08-15 07:27:33 +00:00
mrg
7a40f55864 add/fix some transforms for some font, GL and xcb .pc files.
XXX: xcb still has pythondir=@pythondir@ in it.
2010-08-15 06:48:56 +00:00
jruoho
af52251b80 Add some basic references that were used to write acpicpu(4). 2010-08-15 05:38:35 +00:00
jruoho
a651852ead Use capitals in a subtitle. 2010-08-15 05:17:39 +00:00
jruoho
d0ca687ed1 Document T-states. One less item in CAVEATS. 2010-08-15 05:09:30 +00:00
jruoho
46bba1f374 Properly deal with the previous FADT-issue. 2010-08-15 04:35:16 +00:00
agc
a135dcc2d8 get rid of a debugging statement 2010-08-15 02:39:46 +00:00
jym
59f63c5a24 Only print the debug message about failed remapping when ATU_QUIRK_NO_REMAP
is not set in the atu_quirk flags.

'!' takes precedence over bitwise operation '&', so use parenthesis.
2010-08-14 21:01:26 +00:00
jym
9600194c60 Flush tty only when K_TXBUSY is not set.
'!' takes precedence over bitwise operation '&', so use parenthesis.
2010-08-14 20:52:05 +00:00
jym
c44a6702cd Fix the while condition: sleep while the SPI_F_DONE bit is not set.
'!' takes precedence over bitwise operation '&', so use parenthesis.
2010-08-14 20:49:21 +00:00
jym
f3fb0a5620 Fix some code paths where pointers are dereferenced after checking that
they are NULL (oops?)

XXX pull-ups for NetBSD-4 and NetBSD-5.
2010-08-14 18:28:59 +00:00
jruoho
1084719e1b Simplify the FADT-based entry by "faking" (overriding) also the address. 2010-08-14 17:50:57 +00:00
wiz
efa04f9763 Sort sections, remove trailing whitespace. 2010-08-14 17:49:12 +00:00
jruoho
e04e55946a Do not accidentally write zeros to (PSTATE_CNT and CST_CNT) registers. 2010-08-14 17:27:34 +00:00
pgoyette
f385c3dade Add an Authors section 2010-08-14 17:06:58 +00:00
pgoyette
1009226e90 Fix a typo 2010-08-14 16:32:26 +00:00
cegger
b3454b7a0b fwcontrol -> fwctl 2010-08-14 16:23:49 +00:00
tsutsui
406df1ed74 Don't free TX mbuf until it's passed to bpf(9). 2010-08-14 12:11:46 +00:00
jruoho
e9a3c2e517 Check the cold-flag also in the notify handler. 2010-08-14 11:16:14 +00:00
mrg
47b7ca8eaa don't need (or want) miscutil.c here anymore. 2010-08-14 11:12:16 +00:00
tsutsui
fffa0899ac - use uint8_t for xfer buffers and byte numbers
- use bool for sc_dying and sc_attached booleans
2010-08-14 10:47:57 +00:00
cegger
0bf9ca9c59 Fix sbp attach/detach.
When plugging a firewire webcam, sbp attaches.
sbpattach() calls sbp_alloc_target().
In sbp_alloc_target, crom_search_key() fails and sbp_alloc_target() returns NULL.
Move mutex and list initializations up in sbpattach() and in sbp_alloc_target()
so that destroyal of them through sbpdetach() does not cause
LOCKDEBUG panics when unplugging the firewire webcam.
2010-08-14 10:39:33 +00:00
tsutsui
28bdb07e79 No need to keep TX/RX mbufs during xfers in struct axe_chain.
All xfers are done against axe_buf allocated by usbd_alloc_buffer()
and nothing touched preserved mbufs during xfers.
2010-08-14 10:30:11 +00:00
mrg
a993b35c5b add bof.c for libdrm 2.4.21. 2010-08-14 10:29:43 +00:00
tsutsui
a2004ecab6 Fix missed botch in previous. 2010-08-14 09:57:13 +00:00
mrg
0f16bb99fb .. also find XMore. 2010-08-14 09:26:46 +00:00
mrg
b878ec9e1d cope with XMore.ad -> XMore. 2010-08-14 09:25:35 +00:00
tsutsui
6cc75bd4ed Make pointer arithmetics of RX buf in axe_rxeof() more readable
to avoid further confusion.
2010-08-14 09:02:17 +00:00
mrg
12c4b3b795 re-enable shapestr.h and syncstr.h, from xextproto 7.1.2. 2010-08-14 08:51:32 +00:00
tsutsui
e1302a1d39 Apply rev 1.39 again.
The assignment is not dead, but just a leftover that causes a RX bug.

Now axe(4) can receive fragmented packets.
2010-08-14 08:42:15 +00:00
tsutsui
35680abbb1 Ugh, no, revert previous. 2010-08-14 08:10:49 +00:00
tsutsui
69bf29b2a3 Remove dead assignment. 2010-08-14 08:06:54 +00:00
jruoho
7aa250c707 Do not queue functions via sysmon_taskq(9) in the pmf(9) resume hooks.
There is a small and unlikely race when the drivers are loaded as modules;
suspend, resume, queue a function, and immediately unload the module.
2010-08-14 05:41:22 +00:00
jruoho
1f0e85dcbd Move the PIIX4-quirk to the MD file and disable T-states for PIIX4. 2010-08-14 05:13:20 +00:00
jakllsch
e43287544b Improve usbhid(3) descriptor/report parsing:
Handle signed Physical Minimums
 Handle signed Unit Exponents
2010-08-13 19:56:34 +00:00
jruoho
1a6fcb7e2a Explicitly include <sys/evcnt.h>. 2010-08-13 19:51:54 +00:00
jruoho
25630fd34e Instead of packing structures that do not need to be __packed, remove two
CTASSERT(9) macros.  Fixes build failure on AMD64 noted by cegger@.
2010-08-13 19:48:25 +00:00
jakllsch
ad67ca3e3a Implement user-settable rfact in itesio.
Additionally, match on IT8721.
2010-08-13 19:28:26 +00:00
jruoho
3d52b10fd5 Remove some unnecessary locking. Mainly a leftover from previous revisions
where the dynamic maximum/minimum was used also when retrieving the current
state. The state-array itself changes only in C-states.
2010-08-13 18:44:24 +00:00
agc
9b987001ab Changes to 3.99.9/20100809
+ add single character options to netpgp(1) and netpgpkeys(1)
+ add -o long-option(=value)? options to netpgp(1) and netpgpkeys(1)
+ add some small preparations for using the first subkey for encryption
  (much more to follow)
2010-08-13 18:29:40 +00:00
jruoho
6b9ff1079c Merge T-state a.k.a. throttling support for acpicpu(4).
Remarks:

  1.    Native instructions are supported only on Intel. Native support for
        other x86 vendors will be investigated. By assumption, AMD and others
        use the I/O based approach.

  2.    The existing code, INTEL_ONDEMAND_CLOCKMOD, must be disabled in
        order to use acpicpu(4). Otherwise fatal MSR races may occur.
        Unlike with P-states, no attempt is done to disable the existing
        implementation.

  3.    There is no rationale to export controls to user land.

  4.    Throttling is an artefact from the past. T-states will not be used for
        power management per se. For CPU frequency management, P-states are
        preferred in all circumstances. No noticeable additional power savings
        were observed in various experiments. When the system has been scaled
        to the highest (i.e. lowest power) P-state, it is preferable to move
        from C0 to deeper C-states than it is to actively throttle the CPU.

  5.    But T-states need to be implemented for passive cooling via acpitz(4).
        As specified by ACPI and Intel documents, these can be used as the
        last line of defence against critical thermal conditions. Support
        for this will be added later.
2010-08-13 16:21:50 +00:00
pooka
86d75f6695 truncate pcap output file 2010-08-13 11:45:47 +00:00
pooka
b97bdf9424 Include a timestamp in the frame header. When converting to pcap,
it can give some idea of when packets were sent.

nb. it's the sending host's timestamp, not an observer timestamp
like in the typical pcap case.
2010-08-13 10:13:44 +00:00
he
d9c41d3081 Add reference to libmj, so that static-linkers (sun2) can make
build progress beyond this point.
2010-08-13 05:16:28 +00:00
pooka
ce68b7ae71 Include a pointer to the beginning of the buffer and add support
to the packet dumper.  This helps in situations where the juicy
details are in a bus multiple generations old.
2010-08-12 21:41:47 +00:00
haad
15b01eef79 dd dm driver to XEN configs because they do not have modules working yet.
This will enable using LVM by default on XEN DOM0 hostings running NetBSD.

Change suggested by Sam Fourman.
2010-08-12 20:16:27 +00:00
pooka
38800eaa1c further simplify & fix calculations 2010-08-12 18:39:54 +00:00
pooka
6461f6dd05 Recognize ``-'' for stdout. allows piping output to tcpdump -r - 2010-08-12 18:22:40 +00:00
pooka
d5a83df798 * include a magic number in the bus format
* simplify offset calculations by making them start from beginning of data
2010-08-12 18:17:23 +00:00