Commit Graph

164857 Commits

Author SHA1 Message Date
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
xtraeme
b59ab94c46 - Use intel_family_new_probe() for CPUCLASS_686/family 6, so that we can
show 'features3' in the Core 2 Duo CPUs.
- Use __arraycount() in two lines.

Ok by ad@ (the new x86 portmaster).
2007-12-20 23:28:08 +00:00
agc
7683937c60 Peter Eisch: CentOS lacks strlcat(3), so use snprintf(3) to crack the
nut.
2007-12-20 23:17:05 +00:00
dsl
9b6e62c6a8 Reinstate some code I commented out. 2007-12-20 23:16:13 +00:00
dsl
6fb2884c3a regen 2007-12-20 23:07:25 +00:00
dsl
7e2790cf6f Convert all the system call entry points from:
int foo(struct lwp *l, void *v, register_t *retval)
to:
    int foo(struct lwp *l, const struct foo_args *uap, register_t *retval)
Fixup compat code to not write into 'uap' and (in some cases) to actually
pass a correctly formatted 'uap' structure with the right name to the
next routine.
A few 'compat' routines that just call standard ones have been deleted.
All the 'compat' code compiles (along with the kernels required to test
build it).
98% done by automated scripts.
2007-12-20 23:02:38 +00:00
garbled
e7da798e38 Add bebox mkbootimage stuff to the unified mkbootimage. It should work
in theory, assuming:

a) I didn't mess up
b) The original code in bebox/stand actually works
2007-12-20 22:59:59 +00:00
phx
d2a9b2ff83 VT8231 IDE workaround for native mode with "compatibility" interrupts 14/15.
This time done right by calling pciide_machdep_compat_intr_establish() to
get a MD interrupt handler.
Verified that it compiles for XEN again.
2007-12-20 22:24:40 +00:00
dsl
0acba075bd Kill syscall fancy.
Optimise matching native code.
2007-12-20 22:16:50 +00:00
ad
8134491688 Use new style memory barriers. 2007-12-20 21:09:00 +00:00
dyoung
6f3852fab4 Constify struct ifnet->if_sadl and every use throughout the tree.
Add if_set_sadl() that both sets the link-layer address length and
replaces the current link-layer address with a new one, and use it
throughout the tree.
2007-12-20 21:08:17 +00:00
dyoung
d0630858ad Add IEEE80211_NODE_UNLOCK() to match the IEEE80211_NODE_LOCK() . 2007-12-20 20:56:18 +00:00
dyoung
9f5c1f09f7 Use LIST_FOREACH(). 2007-12-20 20:48:24 +00:00
dyoung
396e67c2e6 Add definitions for several more registers on the AMD Elan SC520
System Controller.
2007-12-20 20:44:58 +00:00
christos
14002ac9c8 make sup-0.2 2007-12-20 20:25:08 +00:00
martin
7080c9db1e A few missing ifdefs to make non-INET6 kernels build again. 2007-12-20 20:24:49 +00:00
skrll
f4ce2b2831 Fix typo that broke bt /a with curlwp 2007-12-20 20:24:47 +00:00
christos
8f6e6d108f include libc.h and c.h after all the headers, so that __unused is not defined
until the headers have been included.
2007-12-20 20:17:52 +00:00
christos
fc5737cefd use setproctitle, so that we know which host we are serving. 2007-12-20 20:17:15 +00:00
christos
3791e7cc61 - add setproctitle
- add commented out DEFS for the layout I use.
2007-12-20 20:16:34 +00:00
christos
d5abced1d5 If the filesystem where the scan file resides got full while the scanner is
running, you can end up with an incomplete scan file because there was no
error checking done. Then sup will happily delete all the files that are
missing from the scan file. Make sure we have written a good scan file before
renaming.
2007-12-20 20:15:59 +00:00