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
kiyohara
2efaf2d209
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.
...
And zyd(4).
2007-07-11 08:08:39 +00:00
kiyohara
05e3df98c5
Add nfsmb(4).
2007-07-11 08:01:50 +00:00
kiyohara
1f48268a37
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.
2007-07-11 07:53:29 +00:00
yamt
0fc9d7ee0d
after switching to threads:
...
- g/c SIGCHLD handler.
- pthread_setname_np rather than setproctitle.
the patch provided by Andrew Doran.
2007-07-11 04:59:19 +00:00
dogcow
1367780514
Looks like this was part of a botched merge; apply he@'s patch to make
...
everything compile/link again.
2007-07-11 04:07:08 +00:00
dyoung
911c7b0317
Cosmetic: KNF.
2007-07-11 00:53:14 +00:00
rmind
5023159e04
According to POSIX, signal should be sent in aio_cancel() case too.
2007-07-11 00:40:42 +00:00
rmind
9fe9a06d4b
Fix a problem in sys__lwp_create() where invalid new_lwp would
...
leak an LWP and memory.
Reviewed by <ad>.
2007-07-11 00:17:23 +00:00
jnemeth
2f4c83c097
PR/36626 - Jukka Salmi -- fails to compile if DEBUG is defined
2007-07-10 23:50:35 +00:00
ad
ce6391eedf
kthread_exit: l->l_name could be NULL.
2007-07-10 23:06:56 +00:00
perseant
9a05fc1f4a
Move the "vp = NULL" assignment after the code that requires vp != NULL.
...
Reported by Chris Ross on current-users.
2007-07-10 23:06:24 +00:00
ad
010df7a998
Make the regression test build again.
2007-07-10 22:58:54 +00:00
ad
7a863e51a0
Adjust to match callout_init signature change.
2007-07-10 22:53:29 +00:00
jmcneill
afa3505c29
Make trpt build again, based on recent netstat changes.
2007-07-10 22:23:13 +00:00
ad
56161147f6
Define _CALLOUT_PRIVATE.
2007-07-10 21:26:00 +00:00
ad
75ff053010
Make netstat build again. I don't see why it has any business dumping
...
the raw contents of tcpcb but that's another story.
2007-07-10 21:12:32 +00:00
ad
80da99483e
Don't exit an unheld mutex.
2007-07-10 21:05:03 +00:00
christos
04ecc134a7
fix printf format.
2007-07-10 18:25:50 +00:00
dsl
b2278f08fe
Put the 2 extra ioctls I added recently inside '#ifdef _KERNEL' and adjust
...
comments.
2007-07-10 17:16:49 +00:00
he
ff92ad95e2
Protect the initialization of xen_timepush_co with #ifdef DOM0OPS,
...
like its declaration and other uses.
2007-07-10 16:27:58 +00:00
he
bad1d53b6a
Add an IPL_VM argument to comply with the new vmem_create() prototype,
...
as per hint from ad@.
2007-07-10 16:23:26 +00:00
christos
4d0c78dab0
PR/36624: Edgar Fu: sshd should not check pw_{expire,change} if UsePam is
...
enabled. This is what the "portable" version of openssh does.
2007-07-10 15:48:56 +00:00
christos
a39c84a8c3
PR/36623: Edgar Fu: ssh publickey authentification fails if homedir not present
...
Removed extra realpath check that was introduced by a bogus merge.
2007-07-10 14:56:25 +00:00
nonaka
faf0f43647
Fix compile failure occured kthread API changes.
2007-07-10 13:55:20 +00:00
yamt
cebe06e8e7
use pthread_create instead of fork.
2007-07-10 13:52:51 +00:00
tsutsui
12b13f1335
Fix more pesudo.
2007-07-10 12:15:00 +00:00
xtraeme
44af43c54b
Add wpi(4).
2007-07-10 11:23:21 +00:00
hannken
af689d2468
Restore the special lkt_held handling for softdep_disk_write_complete().
...
No more panics 'worklist_remove: lock not held' on DEBUG kernels.
Ok Andrew Doran <ad@netbsd.org>
2007-07-10 10:47:07 +00:00
hannken
149abfc10f
Move `struct dquot' and its supporting functions from quota.h to ufs_quota.c.
...
- Make quota-internal functions static.
- Clean up declarations in quota.h and ufs_extern.h. quota.h now has the
description of quota criterions, on-disk structure, user-kernel interface and
declaration of init/done functions. All ufs quota related function
prototypes go to ufs_extern.h.
- New functions ufsquota_init() and ufsquota_free() create or destroy the
quota fields of `struct inode'.
- chkdq() and chkiq() always update the quota fields of `struct inode' first.
- Only ufs_access() explicitely calls getinoquota().
No objections on tech-kern@
2007-07-10 09:50:07 +00:00
yamt
f71c4c0db9
sme_events_init: create seewq with IPL_SOFTCLOCK as it's accessed by a callout.
2007-07-10 06:32:08 +00:00
jklos
7e18461fc5
More updates to the cxgb stuff. Now it actually starts configuring and
...
talking to the hardware.
2007-07-10 06:07:54 +00:00
dogcow
7b060c43f2
exposure of bool elsewhere in the code requires the addition of stdbool;
...
in addition, proc.c cleverly has a variable that was initially defined "int",
but had in the actual declaration "bool". oops.
2007-07-10 00:30:23 +00:00
ad
f7a8990f7b
warning: 'apm_create_thread' declared 'static' but never defined
2007-07-09 22:58:52 +00:00
ad
6e8c73f729
- struct proc *sc_thread;
...
+ lwp_t *sc_thread;
2007-07-09 22:56:41 +00:00