Commit Graph

157570 Commits

Author SHA1 Message Date
ober
9a950d3d87 Updating GENERIC to include bpfilter to allow dhclient to work.
Also enable LFS which appears to work well so far.
2007-03-16 04:44:12 +00:00
uwe
ee31aeeb82 Use dt to loop over md_upte in sh3_vector_tlbmiss. Saves a few instructions. 2007-03-16 04:22:22 +00:00
uwe
7233c378a1 Comment proc_trampoline properly. 2007-03-16 02:27:16 +00:00
uwe
c67ce65c70 L_MD_PCB and L_MD_UPTE are small enough to be used as immediate values. 2007-03-16 01:30:56 +00:00
enami
f1787e0a5d - Make -DINTREE works again.
- Compare test results with diff -w rather than cmp as we won't care about
  whitespace diffrences of df output.
2007-03-16 01:29:40 +00:00
wrstuden
f094fdf1e6 While it was nice to re-add the html documentation for ntp,
the comment line had never been removed. Thus adding a
second one was not correct.

Keep the nicer-looking one and remove the newer one. build.sh syspkg
now completes for me.
2007-03-16 00:55:43 +00:00
gdt
bb7ff76312 Refer to the location where TCP-relevant sysctl variables are
documented as sysctl(7) rather than sysctl(3).  (Section 3 describes
C-level functions to access variables, and 7 lists variables along
with their meaning.)
2007-03-15 23:43:18 +00:00
dyoung
ab751193cc Don't open-code TAILQ_FOREACH(). KNF: Fix K&R prototypes and
parameter-type declarations.
2007-03-15 23:39:51 +00:00
dyoung
833cc39940 In nd6_lookup, shorten a staircase. KNF: change return (expr); to
return expr; throughout.  Fix K&R prototypes and parameter type
declarations.
2007-03-15 23:35:25 +00:00
dyoung
f1c68f17f4 Bark if we cannot assign a link-local address. While I am here,
fix the grammar in a comment.
2007-03-15 23:26:04 +00:00
dyoung
e75050de27 KNF: compare pointer w/ NULL, don't "check truth". Fix K&R parameter
types declaration.
2007-03-15 23:22:30 +00:00
uwe
1edd00232c Comment sh3_vector_tlbmiss. Same object code is generated. 2007-03-15 23:13:59 +00:00
skrll
335ac44f76 Restore previous semantics of PT_LWPINFO and make sure to lwp_addref the
LWP.

OK'ed by ad.
2007-03-15 20:55:15 +00:00
plunky
298d20388c remove C++ style comments 2007-03-15 19:47:50 +00:00
wiz
c192a5db61 Mention AZALIA_DEBUG option. 2007-03-15 19:15:19 +00:00
matt
549524f84f Deal with MKPICLIB != no. 2007-03-15 17:27:15 +00:00
dogcow
0bb5e8a5a4 Comment out VGA_RASTEROPS; even the fine manpage says that it's deprecated
in favor of wscons(4).
2007-03-15 17:06:17 +00:00
dogcow
d515e7b784 Some delicious copypasta from sys/dev/ic/vga.c, so that unichromefb will
compile (and possibly work) when option VGA_RASTERCONSOLE is present.
2007-03-15 16:58:36 +00:00
ad
1b83cbc3d6 sodopendfreel: Getting a bit over ambitious.. Go to splvm() before calling
pool_cache_put().
2007-03-15 16:28:31 +00:00
ad
30a3230b81 Document the ipl argument to pool_init. 2007-03-15 16:02:40 +00:00
drochner
82d96e1fac Keep track of the per-port status change notifications coming in
through the interrupt pipe; during exploration check only the ports
where we got such a notification. This speeds up things.
(I believe we should go a step further and use a thread per hub
instead of per bus. If power management gets implemented, we should
be able to react quickly on a resume event.)
Try to simplify the logics in the explore function a bit. (The reattach
thing was hacked in badly, not sure whether I broke it. Only used
by if_atu.)
Clean up some dead code.
2007-03-15 15:29:09 +00:00
drochner
dc9d1127cc kill the private submatch function, use the generic one 2007-03-15 15:11:54 +00:00
drochner
f59858473f in usbd_set_config_index, range-check the index 2007-03-15 15:11:19 +00:00
vanhu
a270a7afb9 From Yves-Alexis Perez: enable monitoring of ipv6 address changes on Linux. 2007-03-15 14:12:12 +00:00
vanhu
7a26f531db enable monitoring of ipv6 addresse changes on linux 2007-03-15 14:12:11 +00:00
vanhu
0fca99dc2f Consider a negociation timeout when retry_counter is <=0 instead of < 0 2007-03-15 10:37:44 +00:00
reinoud
46b0abdb74 Note the new reinoud-bufcleanup branch and its goals. no ETA known nor a
fully worked out plan of action yet.
2007-03-15 02:36:27 +00:00
uwe
eae42fb475 Arrange for data blocks to start on 32B cache line boundary. 2007-03-15 01:54:18 +00:00
matt
e92466d560 Don't modify CSHPICFLAGS. (this causes .so file to be made when they shouldn't)
if MKPICLIB is "no", change CPPPICFLAGS otherwise add change CPPFLAGS
2007-03-15 00:59:32 +00:00
xtraeme
f92cdd8cb5 Remove previous item... 2007-03-15 00:36:52 +00:00
xtraeme
3f5d332ca6 Ok... there were people really angry with this, backing it out. 2007-03-15 00:28:57 +00:00
xtraeme
3e5799ac62 Note addition of the new p4tcc driver. 2007-03-15 00:07:55 +00:00
xtraeme
88768d02b6 Call p4tcc_init(), the driver takes care of detection. 2007-03-15 00:04:37 +00:00
xtraeme
76460a0e78 Add a driver for the Pentium 4 and later models with feature TM
(Thermal Monitor).

This driver will throttle the CPU clock modulation, saving some
power, also known as ODMC (On Demand Modulation Clock).

The processor can change from 12.5% to 100% (there are two erratas,
so two levels might be skipped in the worst case).

If supported, you'll see the following sysctl sub-tree:

machdep.p4tcc.throttling.target: CPU Clock throttling state (0 = lowest, 7 highest)
machdep.p4tcc.throttling.current: current CPU throttling state
machdep.p4tcc.throttling.available: list of CPU Clock throttling states

machdep.p4tcc.throttling.target = 2
machdep.p4tcc.throttling.current = 2
machdep.p4tcc.throttling.available = 7 6 5 4 3 2

Adapted from OpenBSD/FreeBSD.
2007-03-15 00:03:24 +00:00
uwe
b602f9a09b Use .L* for local labels. Misc cosmetic.
Same object code is generated.
2007-03-15 00:00:38 +00:00
ad
06aeb1d344 - Remove the LWP counters. The race between park/unpark rarely occurs
so it's not worth counting.

- lwp_wakeup: set LW_UNPARKED on the target. Ensures that _lwp_park will
  always be awoken even if another system call eats the wakeup, e.g. as a
  result of an intervening signal. To deal with this correctly for other
  system calls will require a different approach.

- _lwp_unpark, _lwp_unpark_all: use setrunnable if the LWP is not parked
  on the same sync queue: (1) simplifies the code a bit as there no point
  doing anything special for this case (2) makes it possible for p_smutex
  to be replaced by p_mutex and (3) restores the guarantee that the 'hint'
  argument really is just a hint.
2007-03-14 23:58:24 +00:00
ad
bfa3094e84 Cosmetic changes. 2007-03-14 23:34:48 +00:00
ad
0c61b6a65c - pthread__park: always check for cancellation.
- pthread__unpark: cosmetic changes.
2007-03-14 23:33:42 +00:00
yamt
b84c74b2d4 sys__lwp_park: whitespace. no functional change. 2007-03-14 23:07:27 +00:00
yamt
b1b0d0db04 sys__lwp_park: don't restart on signals. PR/35969 from Andrew Doran. 2007-03-14 23:00:32 +00:00
uwe
67862e14f4 s/TAB/space/ to separate instruction operands. There are quite a few
cpp macros and long src operands anyway that destroy any intended
"neatly lined up" effect that TAB was supposed to achieve.

White space change only, same object code is generated, but it is much
easier on the eyes now.
2007-03-14 22:38:00 +00:00
dogcow
82e011bdfd unb0rk build. 2007-03-14 22:26:02 +00:00
uwe
eaa25d5966 Provide __movmemSI12_i4 (gcc4) a.k.a. __movstrSI12_i4 (gcc3) that gcc
emits for sh4 to copy 12 bytes at certain optimization levels.
Discovered by compiling landisk kernel with -Os.

Use gcc3 naming ("movstr") to match the rest of the "movstr" files.
2007-03-14 22:22:53 +00:00
manu
91e99f33d3 Add ptmx fakedevice hack for amd64
Fix a bug in ioctl handling
2007-03-14 21:52:17 +00:00
he
d74897d542 Absent documentation as to what the newly added 'ipl' argument to
pool_init() is supposed to do, and actual usage of that argument in
pool_init()'s implementation, add use of IPL_VM to the TLB shootdown
job queue pool initialization to get this building again.
Someone suggested an IPL_XXX_ASK_ANDY constant be introduced...
2007-03-14 21:39:39 +00:00
skrll
3d370a5b33 Remove more SA libpthread stuff. 2007-03-14 21:09:01 +00:00
jdc
6f7fbd38ba Final steps to for working wscons on sun-4 class machines. Restructure
the previous revision so that we don't tell the common zs code that we
are the console if we're using wscons.  Thanks to wrstuden@ for the hints.
2007-03-14 19:31:45 +00:00
dyoung
0a000a82df Remove the tags file before rebuilding it. 2007-03-14 19:00:57 +00:00
dyoung
3cd3acad77 Exclude some files that replicate NetBSD typedefs and #defines. 2007-03-14 17:20:22 +00:00
tnozaki
aeadbd280f add tr_TR.ISO8859-9 locale. 2007-03-14 15:49:25 +00:00