ad
8d0205c623
Grab kernel_lock for cpu_reboot().
2008-04-23 13:40:17 +00:00
tsutsui
968ad4b4c3
Since device_t is split out from softc, we have to allocate struct device
...
separately after allocating struct lsi64854_softc to fake it. (untested)
"lsc->sc_dev is not initialized" is pointed out by martin@.
2008-04-23 13:37:19 +00:00
ad
e0b56ca8f5
Fix locking.
2008-04-23 13:34:44 +00:00
ad
6bf00a454d
Catch up with linux.
2008-04-23 13:30:41 +00:00
tsutsui
3b31064c9a
Split softc/device_t and misc cleanup for sn(4).
2008-04-23 13:29:44 +00:00
ad
c8ff5c0c50
kmutex_t * -> void *, to avoid MD header fallout.
2008-04-23 13:19:44 +00:00
martin
3a3709e6c1
Include psl.h to provide the details of ipl_cookie_t
2008-04-23 13:14:11 +00:00
ad
ce69e3e9c8
Fix locking.
2008-04-23 13:13:25 +00:00
ad
d0466d413e
Tweak locking.
2008-04-23 13:11:42 +00:00
ad
bb0c94d223
Tweak previous.
2008-04-23 13:09:40 +00:00
ad
14f88acc9b
Fix locking.
2008-04-23 13:02:32 +00:00
ad
1e216688e1
- Use cdev_tty().
...
- Tweak locking.
2008-04-23 12:55:16 +00:00
ad
a87ccd221c
Sprinkle locking.
2008-04-23 12:50:53 +00:00
jmcneill
50629393a5
s/struct cfdata */cfdata_t/
2008-04-23 11:19:09 +00:00
plunky
2d7afff292
remove obsolete TPCONS code
2008-04-23 10:11:33 +00:00
plunky
539d558040
Remove remaining TPCONS code.
...
(The TPCONS kernel option was marked obsolete over a year ago)
2008-04-23 09:57:59 +00:00
plunky
6aadc469d7
don't include <cons_pcb.h> as it is unnecessary
2008-04-23 08:26:47 +00:00
plunky
043900c0cb
constify dirname(3) and basename(3)
2008-04-23 07:53:26 +00:00
plunky
f983e71d70
constify uuid(3)
2008-04-23 07:52:32 +00:00
thorpej
02f63fe1bf
PF_KEY stats for IPSEC and FAST_IPSEC are now per-CPU.
2008-04-23 07:29:47 +00:00
thorpej
caf49ea572
Make IPSEC and FAST_IPSEC stats per-cpu. Use <net/net_stats.h> and
...
netstat_sysctl().
2008-04-23 06:09:04 +00:00
thorpej
33326077b1
Use <net/net_stats.h> / netstat_sysctl().
2008-04-23 05:26:50 +00:00
thorpej
34908fe541
Add subroutines to support collating per-cpu-gathered network statistics.
2008-04-23 05:21:17 +00:00
macallan
3d7d158b1c
shark doesn't need ioperm_noop.c anymore
2008-04-23 05:13:43 +00:00
cegger
ac625f0f59
revert rev. 1.16 and redo the fix as proposed by oster per private mail
2008-04-22 22:49:49 +00:00
cegger
68519ac971
amdtemp(4): Driver for AMD CPU Temperature Sensors. Adopted from OpenBSD's kate(4).
...
Changes beyond OpenBSD's driver:
- Improved support for AMD K8
- Added support for AMD Barcelona, AMD Phenom and AMD Griffin
Tested on various single and multi-socket machines.
Review and OK xtreame
2008-04-22 22:37:12 +00:00
uwe
95c5c2aebe
Defer wide int L/LL suffix choice in insn-*.c until we compile for
...
host using correct set of HOST_WIDE_INT* defines. Fixes compilation
of native sh3 gcc on 64-bit build machines.
Background and details in NetBSD PR 34549 and GCC bug 32497.
Tested by Joerg and myself.
Approved by "looks ok, but let some other guy decide" from ~all of our
gcc folks.
2008-04-22 22:06:01 +00:00
ad
624dcd9102
Sprinkle locking.
2008-04-22 21:33:13 +00:00
ad
dce30353aa
Add a comment.
2008-04-22 21:29:21 +00:00
ad
be60f17289
Repair copyright.
2008-04-22 21:26:48 +00:00
ad
9e0517c26f
Grab proclist_lock for p->p_pgrp.
2008-04-22 21:23:17 +00:00
dyoung
35eb8b696a
Copy a const string to a temporary buffer instead of using __UNCONST().
...
Cosmetic: get rid of superflous curly braces and cast to (void *).
2008-04-22 17:18:11 +00:00
nakayama
913a6487e6
#include "opt_multiprocessor.h"
...
#include <machine/psl.h>
Make sparc64 kernel build again.
2008-04-22 17:09:25 +00:00
nakayama
7850df81b5
include "opt_multiprocessor.h"
2008-04-22 16:51:30 +00:00
jmcneill
aa5089f1c5
Print table header information with ACPI_DEBUG_PRINT instead of ACPI_INFO.
2008-04-22 16:16:37 +00:00
ad
ebca8ee832
mutex_owned, rw_read_held, rw_write_held, rw_lock_held: check for a NULL
...
pointer.
2008-04-22 14:46:35 +00:00
cegger
73d529c226
Make this build again. From Hans Rosenfeld.
2008-04-22 14:02:04 +00:00
xtraeme
fc4443a49b
Set the ENVSYS_FCHANGERFACT flag in voltage sensors, so that we
...
can use the 'rfact' property in /etc/envsys.conf to change the
resistor factor (in case the converted data is not correct).
2008-04-22 13:33:38 +00:00
xtraeme
1b916313b0
- Fixup rfact values for itesio(4) in the Gigabyte P35C-DS3R mobo.
...
Only a sensor is only returning unknown data, all the other ones
match what the BIOS returns.
- Improve comments and add a note for contacting me if the values
returned by drivers are not correct.
2008-04-22 13:16:32 +00:00
lukem
b81e94d02a
Use the service name to getaddrinfo() (along with the host name), so that
...
features such as DNS Service Discovery have a better chance of working.
Suggested by David Young <dyoung>.
Display the service name in various status & error messages.
Don't getservbyname() the :port component of a URL; RFC 3986 says it's
just an unsigned number, not a service name.
2008-04-22 12:59:33 +00:00
tsutsui
c81a918994
Redo a change in rev 1.160 with more proper way:
...
> Don't make linker warnings fatal on linking static libs since
> there is no proper way to avoid "FOO is a patented algorithm" warnings.
Ok'ed by christos@ and dogcow@ on tech-toolchain, and
tested build.sh build for sun2, news68k, alpha and newsmips.
2008-04-22 12:47:59 +00:00
njoly
8668268571
Fix semaphore permissions returned by semctl+IPC_STAT, by masking
...
anything else that the expected lower 9 bits.
2008-04-22 12:14:12 +00:00
ad
43d8bae932
Give callout_halt() an additional 'kmutex_t *interlock' argument. If there
...
is a need to block and wait for the callout to complete, and there is an
interlock, it will be dropped while waiting and reacquired before return.
2008-04-22 12:04:22 +00:00
ad
c7566c2cde
Don't pull in sys/callout.h.
2008-04-22 12:00:44 +00:00
ad
ecebc8b473
Implement MP callouts as discussed on tech-kern. The CPU binding code is
...
disabled for the moment until we figure out what we want to do with CPUs
being offlined.
2008-04-22 11:45:28 +00:00
ad
3fbed79bb8
Mark the callout MPSAFE and use callout_halt().
2008-04-22 11:44:24 +00:00
reinoud
0971ac9234
When using nested buffers, allow one erroring-out nested buffer to
...
error-out the master buffer.
The old setup was undeterministic since a later sheduled nested buffer
could clear the error again since there is no B_ERROR flag anymore. It also
would discard the error the nested buffer returned.
2008-04-22 11:05:06 +00:00
rmind
4000aba309
Add posix_madvise(2) and appropriate definitions in sys/mman.h header.
...
This interface is identical to madvise(2), however, is defined by POSIX.
Partially sync madvise(2) man page with FreeBSD.
Reviewed by <mrg>.
2008-04-22 10:42:16 +00:00
cegger
36244f71ec
Fix error path:
...
Don't try to free non-allocated memory. Only free allocated memory.
This fixes a crash reported by Brian A. Seklecki on port-xen:
http://mail-index.netbsd.org/port-xen/2008/04/10/msg003555.html
Fix tested by Brian A. Seklecki:
http://mail-index.netbsd.org/port-xen/2008/04/21/msg003604.html
2008-04-22 09:29:08 +00:00
martti
b439950800
IPFilter 4.1.29 is out
2008-04-22 07:41:32 +00:00