Commit Graph

160456 Commits

Author SHA1 Message Date
he
c9f40c630a Adapt two more uses to the new signature of callout_init(). 2007-07-12 22:11:06 +00:00
he
f39d28c4bf Adapt to the new signature of callout_init(). 2007-07-12 22:02:38 +00:00
xtraeme
fb3a719044 New udav(4) device, from Julian Suschlik via current-users@. 2007-07-12 21:26:03 +00:00
xtraeme
ff350d3235 regen 2007-07-12 21:24:35 +00:00
xtraeme
e05b0ff702 SB-NIC Shantou ST268 for udav(4), patch from Julian Suschlik
via current-users@... thanks.
2007-07-12 21:24:02 +00:00
rmind
20bbb87e34 Implementation of per-CPU work-queues support for workqueue(9) interface.
WQ_PERCPU flag for workqueue and additional argument for workqueue_enqueue()
to assign a CPU might be used. Notes:
 - For now, the list is used for workqueue_queue, which is non-optimal,
   and will be changed with array, where index would be CPU ID.
 - The data structures should be changed to be cache-friendly.

Reviewed by: <yamt>, <tech-kern>
2007-07-12 20:39:56 +00:00
he
c73835c125 Adapt to the new signature of callout_init(). 2007-07-12 20:39:01 +00:00
he
a82c668826 Adapt to new signature for callout_init(). 2007-07-12 20:33:02 +00:00
dsl
758f9f5cde Change compat mount code to pass do_sys_mount() kernel resident buffers.
Possibly the standard nfs code needs teaching how to set the length and
address family in order to support non-netbsd sockaddr.
There are now no active stackgap() calls in the compat tree.
2007-07-12 19:41:57 +00:00
dsl
34d9cdbea2 Update coda for VFS_MOUNT() change 2007-07-12 19:38:26 +00:00
dsl
2721ab6c7b Change the VFS_MOUNT() interface so that the 'data' buffer passed to the
fs code is a kernel buffer, pass though the length of the buffer as well.
Since the length of the userspace buffer isn'it (yet) passed through the mount
system call, add a field to the vfsops structure containing the default length.
Split sys_mount() for calls from compat code.
Ride one of the recent kernel version changes - old fs LKMs will load, but
sys_mount() will reject any attempt to use them.
2007-07-12 19:35:32 +00:00
skrll
c2c660d00f Finish up the _lock_cas implementation by adding the RAS check.
While I'm here make sure the owner gets set for mutex_enter if we get
interrupted between obtaining the interlock and setting the owner.
2007-07-12 19:31:01 +00:00
xtraeme
a003094a5a If the method returned invalid data mark the sensor as invalid and
return, but if next time data is ok mark the sensor again as valid.
2007-07-12 18:50:40 +00:00
xtraeme
0938d9b438 Remove a comment that is not valid anymore. 2007-07-12 18:34:07 +00:00
rmind
845fda992a nfs_asyncio: fix the locking in error case, problem was introduced
in 1.153 revision, where ltsleep() was replaced with condvar.

Problem found and fix provided by David A. Holland, PR/36610.
Actually, relock is not needed here, and mutex would be unlocked
only on nfs_sigintr() fail case.
2007-07-12 18:29:43 +00:00
xtraeme
ff9bb2708d - Do not refrence memory already freed, thanks to Geoff C. Wing for
the analysis. Closes PR bin/36636.
- Also use the longest string for the column alignment counting all
  sensors available from all devices, not per-device.

Thanks to rmind@ for help.
2007-07-12 18:24:35 +00:00
martin
70b0dadb9c Do not stop a callout before it is initialized. 2007-07-12 17:42:17 +00:00
he
cdcf88b05c Make a minimal adaption to the new kthread_create() signature
by renaming swdmover_proc to swdmover_lwp, and pass in
&swdmover_backend as an argument to be used by the kthread.
Reviewed by ad@.
2007-07-12 14:15:55 +00:00
skrll
7db093553a Like I said - don't futz with the trapframe in pmap_activate. Instead
update the trapframe space and protection register in cpu_lwp_fork and
setregs.
2007-07-12 14:15:36 +00:00
ghen
e20a341cde Add configuration files for the 3.0.3 and 3.1.1 release ISO's. 2007-07-12 13:59:55 +00:00
skrll
3a162b9c55 Initialise the callout before use. 2007-07-12 11:49:48 +00:00
he
22a39f9299 Since we went from struct simplelock to kmutex_t, we need
to include <sys/mutex.h> and not <sys/lock.h> here.
2007-07-12 11:05:42 +00:00
he
fa013716c8 Convert event_thread from a proc to an lwp, so that the use of
kthread_create() in sa11xx_pcic.c again matches with the prototype.
2007-07-12 09:47:17 +00:00
hannken
a8c44dfbf5 ffs_snapshot_mount: No persistent snapshots on an Apple UFS file system.
From Thor Lancelot Simon <tls@netbsd.org>
2007-07-12 09:30:04 +00:00
xtraeme
37b598db93 Add do_envsys() that checks if /etc/envsys.conf exists. 2007-07-12 07:13:07 +00:00
dyoung
690f9353c0 Cosmetic: KNF. Shorten a staircase. 2007-07-12 04:28:59 +00:00
kiyohara
5f9e0be38f s/Gumstix, Inc./Gumstix. Inc./
Sync to i386's GENERIC 1.837
2007-07-12 02:37:47 +00:00
kiyohara
7e68bd52d9 This file supports Gumstix. Inc.'s gumstix. 2007-07-12 01:58:32 +00:00
he
3630eb1d24 Adapt to new signature for callout_init(). 2007-07-11 23:57:02 +00:00
uwe
1158881562 Grr, revert unrelated changes that are traces of an unfinished experiment. 2007-07-11 22:17:55 +00:00
uwe
2af9604e01 Catch up with callout_init signature change. 2007-07-11 22:15:41 +00:00
uwe
aa22c77a5b Fix previous: sc_event_thread should be a pointer to lwp_t. 2007-07-11 22:13:30 +00:00
dsl
3a1264a004 Add '0' to three more random callout_init() calls. 2007-07-11 21:57:28 +00:00
xtraeme
48e23b4a25 Replace a simple lock with a mutex and make it static. 2007-07-11 21:34:16 +00:00
xtraeme
746fb9e8e8 Replace a simple lock with a mutex and make it static (as it's only used
on this file). Ok by ad@.
2007-07-11 21:26:53 +00:00
ad
c61f227851 Adapt to callout_init signature change. 2007-07-11 21:19:08 +00:00
njoly
db58331d9d Mark sensor as invalid if no fan is connected.
ok by xtraeme
2007-07-11 21:15:54 +00:00
drochner
e2da0057b3 Stopgap fix to avoid crash on detach if the attach failed due to eg
USB problems - just return in detach if the softc appears not to be
filled in completely.
(This is a common problem with usb and probably other drivers which
support detach; we need some API support to deal with this cleanly.)
2007-07-11 20:13:14 +00:00
he
e8108f3e5b Remove a spurious brace. 2007-07-11 19:50:27 +00:00
he
ebf92f146a Adapt to the new signature of callout_init(). 2007-07-11 19:37:22 +00:00
he
6b95c79e89 Adapt to the new signature for callout_init(). 2007-07-11 19:15:02 +00:00
he
150caa6d8c Adapt to new signature for callout_init(). 2007-07-11 19:13:23 +00:00
dsl
ffa428bf85 Document the 'flags' parameter to kauth_cred_set/getgroups.
Fix some obvious typos in the return types and return values of these
functions.
2007-07-11 19:12:09 +00:00
he
6cfc4427ed Move the declaration of repeat_ch up before its first use,
so that this builds again.
2007-07-11 18:59:18 +00:00
jdc
f0b4a51625 Document line drawing and graphics characters. 2007-07-11 18:45:40 +00:00
jdc
65f3606f46 Add additional line drawing and characters.
Pointed out by pooka@.
2007-07-11 18:44:46 +00:00
degroote
4d57c0fb0d Fix more build issues on amd64 (exposed by WPI_DEBUG) 2007-07-11 17:51:07 +00:00
xtraeme
eb410432d8 Use %zu to print a size_t, fixes the build on amd64. 2007-07-11 17:26:25 +00:00
he
0b6cdc57be Bump SYMTAB_SPACE so that it fits again. 2007-07-11 16:18:39 +00:00
njoly
03ccc07594 Display RDTSCP bit on AMD processors (Read Serialized TSC Pair).
ok by xtraeme
2007-07-11 11:56:36 +00:00