hannken
ce34b417f9
uvm_swap_init(): Call VOP_OPEN() on swapdev_vp to make I/O through the
...
swap device work with specnodes.
Ok: Andrew Doran <ad@netbsd.org>
2008-01-27 17:18:09 +00:00
chris
84400d5df4
Fix arm cpu_in_cksum. It was walking the mbuf chain wrongly, and trying
...
to read from the wrong memory address and so causing protection faults.
Tested with iperf, mounting nfs drives, and also the regress tool.
2008-01-27 16:58:05 +00:00
chris
e083edeb16
Force the last loop to always walk all the data in the mbuf chain.
...
It appears that randomness was against me when I updated the arm version
as it crashes when used for real. By forcing one full walk of the mbuf
chain the regression tool crashes, hinting that something is wrong.
2008-01-27 16:49:13 +00:00
martin
29ef53c683
libc part of posix_fadvise changes.
...
The new compatibility stub is ABI compatible to the old syscall, so no
need to bump libc minor.
2008-01-27 16:18:22 +00:00
martin
2e87d89112
Implement new version of posix_fadvise as a stub callinig the real
...
worker function, and compatibility stub doing the same with old argument
sturcture.
2008-01-27 16:16:50 +00:00
martin
a870c2e30e
Regen (posix_fadvise got a pad arg)
2008-01-27 16:14:59 +00:00
martin
65badb72df
Version the posix_fadvise syscall and add the missing "pad" argument,
...
so that it does not only work on i386 (no padding) and 64bit archs (all
args padded to 64bit).
2008-01-27 16:13:39 +00:00
joerg
7a9167c057
pkg_install-20080126
2008-01-27 14:11:27 +00:00
chris
67bda63986
Add an arm/conf/std.arm file which contains common arm options, initially
...
just options CPU_IN_CKSUM.
Include std.arm in all arm platform std files.
This should reenable the asm in_cksum code for all arm platforms.
Also remove the now unused in_cksum_arm.S.
2008-01-27 12:37:10 +00:00
kiyohara
fa0b00252c
Update and add some options/devices.
2008-01-27 06:23:38 +00:00
xtraeme
6efe384afc
Remove references to check_uucp in daily.conf(5) and the defaults
...
file... uucp was removed a while ago.
2008-01-27 05:20:24 +00:00
jmcneill
cdbea784c7
On resume, ensure that esa is powered up, and ensure we power the
...
AC97 codec once the host controller is up and running.
2008-01-27 01:57:03 +00:00
jmcneill
d66b2b71eb
Fixup PCI_COMMAND_STATUS_REG on attach.
2008-01-27 01:56:02 +00:00
dyoung
ae1c071d6f
Patch /dev/drvctl and drvctl(8) to let us suspend/resume device
...
sub-trees, and to let us list the children of a device.
While I am here, add -p to the drvctl(8) usage message.
2008-01-27 01:38:33 +00:00
christos
4d6010e3ba
add openpam_attr.h
2008-01-27 01:30:18 +00:00
christos
9d58de27f0
Install a new include file.
2008-01-27 01:27:05 +00:00
christos
37abcffd1b
mention openpam
2008-01-27 01:25:18 +00:00
christos
4466f6b5f6
Fix compilation
2008-01-27 01:23:20 +00:00
christos
ce19c44682
merge conflicts. Unfortunately openpam changed from $P4 -> $Id so there will
...
be RCS screwage in the next import.
2008-01-27 01:22:55 +00:00
christos
70f2fdca0b
from www.openpam.org
2008-01-27 00:54:36 +00:00
pooka
e9ff674b00
For operations with a target (remove, rmdir, link), print the
...
target cookie.
2008-01-27 00:29:24 +00:00
pooka
052fd49d29
Fix locking botches: take vm object lock before calling pager,
...
not inside the pager.
2008-01-27 00:16:22 +00:00
pooka
a8d02d0b1a
opt_inet.h is no longer necessary
2008-01-26 22:53:10 +00:00
christos
bc985817a9
mention new wpa_supplicant and hostapd
2008-01-26 22:13:02 +00:00
christos
e14586faa2
mention wpa_supplicant/hostapd
2008-01-26 22:12:34 +00:00
jmcneill
de1fd2ebad
Use auconv to create our encoding list for us.
2008-01-26 22:06:16 +00:00
christos
550ce95799
Moved to dist/wpa since now hostapd and wpa_supplicant share a lot of code.
2008-01-26 21:55:00 +00:00
christos
758a0bc57f
Add stubs for non-crypto compilation.
2008-01-26 21:51:06 +00:00
christos
9a8cc3a777
Adjust to the new wpa tree structure.
2008-01-26 21:50:21 +00:00
christos
648919655f
Bring in our patches.
2008-01-26 21:47:23 +00:00
christos
97277a1a6d
mention how to upgrade.
2008-01-26 21:46:03 +00:00
christos
0c6f1a5abe
Import hostapd
2008-01-26 21:42:09 +00:00
christos
71731f44f8
Import new wpa_supplicant code
2008-01-26 21:38:31 +00:00
dsl
769c734483
Remove some dubious casting of the address of integer variables that
...
can only be 'not invalid' if the sizes match - when it is unnecessary.
2008-01-26 21:01:23 +00:00
dsl
d84d2af8e2
Split the return value of sys_lseek() into two 32 bit halves for retval[0/1]
...
in a manner that is endianness independant.
Should mean the amd64 will return correct offsets > 2^32 (sparc64 had a
special define).
Any new netbsd32 ports should work regardless of the endianness.
2008-01-26 20:57:46 +00:00
tls
4781622c25
CRIOGET is gone. Saves one ioctl per session.
2008-01-26 20:46:21 +00:00
oster
287ee4e9a9
In a land before time, when kernel processes roamed the system, we
...
needed to keep track of the kernel process that opened a device in
order to close it with the right credentials. Flash forward to today
where curlwp is now quite sufficient.
2008-01-26 20:44:37 +00:00
rmind
b5e9addd22
sched_setparam: fix the case when incorrect (according to the class)
...
in-kernel priority is used. Reported by <drochner>.
Minor fixes for scheduling calls to conform the POSIX:
- If pid is equal to zero, use the calling process;
- In case of permission problem, return EPERM instead of EACESS;
- sched_setscheduler() should return previously used policy;
- pthread_* calls should return the error code or zero;
Should fix the namespace problems (and builds of some packages):
- Move cpuset_t defintion from pset.h to sched.h;
- Remove the #include of pset.h in pthread.h;
2008-01-26 17:55:29 +00:00
rmind
ef515ac1dc
Use _SC_NPROCESSORS_CONF instead of MAXCPUS.
2008-01-26 17:52:08 +00:00
tsutsui
ae2fa185c0
VOP_LEASE is gone.
2008-01-26 15:48:11 +00:00
tsutsui
e44e8e02b0
Fix fallout from v_specinfo removal.
2008-01-26 15:37:35 +00:00
ad
52451df464
- Make nfsnode hash MPSAFE.
...
- Replace use of lockmgr().
2008-01-26 15:30:07 +00:00
tsutsui
ef25ad925d
Remove unused splfoo() definitions.
2008-01-26 15:25:44 +00:00
tsutsui
d2bce17888
Add "-mdivide-breaks" to CPUFLAGS in GENERIC, and
...
use "-march=r3900" for CPUFLAGS in TX3912 and TX3922.
The "-mips2" option seems to imply "-mdivide-traps" and
gcc4 with the option generates "teq" instruction on division ops,
but teq is not supported by TX39xx CPUs.
The problem is reported and the fix (-mdevide-breaks) is
provided by Risto Sainio. Tested on his PenCentra 200,
and also tested on Telios HC-AJ2 by nakayama@.
This should be pulled up to netbsd-4.
2008-01-26 15:09:11 +00:00
tsutsui
ff0e8a32fd
Make these TX39xx stuff compile without "-mips2" option.
...
TX39xx has a sync instruction, but it doesn't support all mips2 instructions.
2008-01-26 14:40:08 +00:00
tsutsui
de92c0b2bc
Replace bootinfo stuff on sgimips (which has been disabled in bootloader)
...
with ones used on arc (which has been working for a year) and
enable it in bootloader. Tested on IP32.
2008-01-26 14:35:24 +00:00
ad
ea9faa6742
lockstat: no longer track lockmgr() events.
2008-01-26 14:29:31 +00:00
tsutsui
af15dc6cc2
- call mec_reset() to make sure DMA stopped (inspired by OpenBSD)
...
- also stop DMA in mec_reset() before resetting chip
- set MAC address to MAC_STATION reg in mec_attach(), not in mec_reset()
Possibly fixes occasional interrupt storm from mec(4) (i.e. hangup) at boot.
2008-01-26 14:28:49 +00:00
wiz
a7f30b5c9c
Sort options. Remove superfluous .Pp. Grammar improvements.
...
Simplify macro usage. Use more macros.
2008-01-26 14:27:42 +00:00
ad
29426ebab2
- Fix several problems with the inode hash.
...
- Replace use of lockmgr().
2008-01-26 14:25:38 +00:00