Commit Graph

165227 Commits

Author SHA1 Message Date
xtraeme
6d771ab8b4 Register a pmf(9) power handler... ok jmcneill@. 2007-12-21 21:52:10 +00:00
xtraeme
4bb97c0a3e After comments from joerg@, backout previous and use 'cpuN'. 2007-12-21 21:36:22 +00:00
jmcneill
aa518c7bc8 Hook Thinkpad temperature sensors into envsys:
$ envstat -d thinkpad0
TMP0:     46.000 degC
TMP1:     39.000 degC
TMP2:     32.000 degC
TMP3:        N/A
TMP4:     50.000 degC
TMP5:        N/A
TMP6:     29.000 degC
TMP7:        N/A
2007-12-21 21:24:45 +00:00
jmcneill
f5210660c0 Add acpiec_bus_{read,write} and acpiec_get_handle, for use in other
device drivers.
2007-12-21 21:22:54 +00:00
dsl
89a3551a18 Create the trap/syscall frame space for all the registers in one go.
Use the tramp-frame offsets (TF_foo) for all references to the registers.
Sort the saving of the GP registers into the same order as the trap frame
because consequetive memory accesses are liekly to be faster.
2007-12-21 20:43:45 +00:00
jnemeth
c9b9889ada add back #include <sys/socket.h> from Scott Ellis on current-users@ 2007-12-21 20:42:03 +00:00
dsl
2cdb58761e If make can't find a rule to create a file it needs to satisfy a rule
that came from .depend then just output a message and contine.
2007-12-21 20:32:24 +00:00
snj
787df2d0dd Bump date for bzip2. 2007-12-21 19:45:33 +00:00
dsl
9b0b44bbdc Change the xen CLI() and STI() defines to only use one scratch register.
As well as saving an instruction, in one place it saves a push/pop pair.
2007-12-21 19:18:13 +00:00
matt
6f23ff186c Prevent TCP blind data attacks by not allowing non-initial fragments to
start at less than 68 bytes (minimal fragment size).
2007-12-21 18:58:55 +00:00
jmcneill
c48902ebaf Handle notifications in a separate thread, and ensure that the BIOS doesn't
try to play trick with us when we are trying to manage the brightness
keys.
2007-12-21 18:43:39 +00:00
jmcneill
ef8922785d Convert AcpiOsSleep from using tsleep to cv_timedwait_sig 2007-12-21 18:42:38 +00:00
dsl
88aa2c71d3 Enable LINUX and LINUX32 emulation. 2007-12-21 18:31:12 +00:00
dyoung
eafb0f479a Initialize and destroy the ATH_LOCK. 2007-12-21 18:26:13 +00:00
dyoung
1d18d8049c Do not embed a struct device in rtw_softc any longer. Register
both pci and cardbus attachments with CFATTACH_DECL_NEW().  Access
the softc through the device_t using device_private().

While I'm here, change a couple of KASSERT()s about the Rx buffer
length to a warning.
2007-12-21 18:22:43 +00:00
xtraeme
8b13cd5ed3 binutils-2.18 is the latest and greatest. 2007-12-21 18:04:18 +00:00
joerg
45f2572a92 Add virtual i8254 for x86emu. 2007-12-21 17:45:50 +00:00
dsl
f00ef3a2d4 Fix prototypes used when NTP is not in use.
Pointed out by Robert Swindells.
2007-12-21 17:36:09 +00:00
jmcneill
eedb1a1f01 Typo in previous. 2007-12-21 16:38:59 +00:00
jmcneill
ea50d249d2 Handle key repeat, and only match if MHKV returns an HKEY version we have
a chance of supporting.
2007-12-21 16:38:02 +00:00
joerg
e9bc92e889 lock_stubs.S needs assym.h. 2007-12-21 16:23:05 +00:00
jmcneill
435aa09b79 Note thinkpad(4) addition 2007-12-21 15:21:41 +00:00
jmcneill
ebdccda407 Add thinkpad at acpi 2007-12-21 15:18:28 +00:00
jmcneill
5b0f734d51 Add Thinkpad ACPI driver, for controlling hotkeys and display brightness. 2007-12-21 15:15:19 +00:00
drochner
200f66ee6b define the SSSE3 feature flag bit and print out all known bits 2007-12-21 14:57:22 +00:00
joerg
3fca1a6505 Document ISO format "cal 2007-12", leave "cal 2007/12" undocumented
intentionally.
2007-12-21 14:21:42 +00:00
agc
bfdff00bed Regenerate autoconf files for the portable version 2007-12-21 13:06:03 +00:00
skrll
2b4f402919 Improve ddb backtraces by:
- Starting with the right set of fp, pc, and rp in all cases.
	- Dropping the argument printing stuff as it could never work.
	- Backtrace through traps and decode syscalls properly by
	  making sure the trapframe is at a known offset from the stack
	  pointer in both cases. Also, ensure that the frame pointer
	  is zero so that we can detect traps.
2007-12-21 13:05:26 +00:00
ad
5b42fe1209 KM_NOSLEEP -> KM_SLEEP for clarity. 2007-12-21 12:05:39 +00:00
ad
6ef6e00632 KM_NOSLEEP -> KM_SLEEP 2007-12-21 12:04:19 +00:00
ad
7162fade9b Use new style memory barriers. 2007-12-21 10:40:12 +00:00
dyoung
041c1b3f89 Get rid of sc_suspended, it is redundant because the device_t
contains the same state.
2007-12-21 07:31:44 +00:00
dogcow
a9d4845398 It doesn't seem worth it to keep pathnames.h around (especially when it has
non-static data)
2007-12-21 06:46:31 +00:00
yamt
c7bc0cd0aa don't cast 64bit values to u_long. 2007-12-21 06:43:26 +00:00
simonb
75727a9ea5 Fix some whitespace nits. 2007-12-21 06:25:19 +00:00
dogcow
001d16ba01 newsyslog.conf flag 'J' will bzip2 logfiles. 2007-12-21 05:45:13 +00:00
dogcow
37f3200b59 add new flag to newsyslog(5): J to bzip2 files.
There are no longer any hardcoded gzip-specific args, yay.
And while I was at it, compiles with -Wsigned, too.
2007-12-21 05:40:59 +00:00
macallan
48d017a9d1 only enable the fb mapping at offset 0 after attempting to mmap page 0
This way we avoid a conflict with PCI resources on some Sun graphics cards
which have firmware that likes to put memory resources at low addresses.
For instance, if we have 1MB framebuffer and registers at 0x30000 we'll
get the registers when mmap()ing 0x30000 until someone tries to mmap(0),
then we'll get framebuffer memory for the entire 1st MB.
This needs an ioctl() to switch between fb-at-0 and PCI ranges.
2007-12-21 05:32:09 +00:00
dyoung
833d439935 Get the rtentry from forwro in one less step. 2007-12-21 02:46:37 +00:00
matt
39a278be7e Make this compile again. 2007-12-21 02:27:57 +00:00
matt
15c4637507 Add fix for ip_id information leakage. Since the leakage information is
primarily used with TCP SYN and RST packets and such packets are less than
the smallest sized packet that an IP stack is allowed to fragment, we simply
set ip_id to 0 for all packets 68 bytes or less.
2007-12-21 02:07:54 +00:00
dyoung
d8654d5866 Bump __NetBSD_Version__ for ifnet changes. 2007-12-21 02:01:52 +00:00
xtraeme
8870106a7d Do not append the device name into the sensor's description, that's
useless and redundant.
2007-12-21 01:23:41 +00:00
xtraeme
314d6f22a8 cpuN -> coreN 2007-12-21 01:16:30 +00:00
xtraeme
6f9427240c Change the description to 'coreN' rather than 'cpuN', which seems to
be more correct.
2007-12-21 01:10:54 +00:00
tnn
e9e5abe68c fix typo in comment 2007-12-21 01:03:58 +00:00
ad
9aef0fdbce Specify PR_LARGECACHE for anon_cache (which is insanely busy). 2007-12-20 23:50:00 +00:00
ad
73157b0e11 - Support two different sizes of pool_cache group. The default has 14 or 15
items, and the new large groups (for busy caches) have 62 or 63 items.
- Add PR_LARGECACHE flag as a hint that a pool_cache should use large groups.
  This should be eventually be tuned at runtime.
- Report group size for vmstat -C.
2007-12-20 23:49:10 +00:00
ad
e16a661bf3 - Make __cpu_simple_lock and similar real functions and patch at runtime.
- Remove old x86 atomic ops.
- Drop text alignment back to 16 on i386 (really, this time).
- Minor cleanup.
2007-12-20 23:46:10 +00:00
ad
f28895c808 Remove GENERIC.MP config and enable SMP by default on amd64. 2007-12-20 23:32:24 +00:00