Commit Graph

160289 Commits

Author SHA1 Message Date
dsl
9326e3a3ef Add sys___mount50() that includes an extra parameter for thre data length.
Mark sys_mount() as COMPAT_40.
Hmmm... the aio calls should have started at 400, not 399.
I've left 407-409 free.
2007-07-14 15:38:40 +00:00
isaki
61a446b076 Make it compilable after the merge of some vmlocking branch.
OK'ed by ad@.
2007-07-14 14:13:21 +00:00
ad
5c2240bb95 - Increase default number of trace buffers to 10000.
- New options:
     -f         Trace only by calling functions.
     -m         Merge call sites within unique functions.
     -M         Merge lock addresses within unique objects.
2007-07-14 13:30:43 +00:00
xtraeme
8f6e6386cb Bump date. 2007-07-14 11:47:15 +00:00
ad
8751253925 Update mlinks for callout/kthread changes. 2007-07-14 11:39:01 +00:00
ad
8a398d3980 Sync with reality. 2007-07-14 11:34:54 +00:00
ad
58af9c20d0 Sync with reality. 2007-07-14 11:22:33 +00:00
ad
53d643b5f7 - kcont was removed.
- Replace some references to tsleep.
2007-07-14 10:52:47 +00:00
ad
52d4ecbef8 kcont was removed. 2007-07-14 10:52:14 +00:00
ad
d21a1f43dc - Restore com.c 1.45, par.c 1.31. They were trashed due to file system
corruption on my machine.
- Adjust to match callout_init signature change.
2007-07-14 10:46:25 +00:00
isaki
b9fb40c553 Declare candbtimer_ch earlier. 2007-07-14 09:50:04 +00:00
xtraeme
91f3f6b1f8 sme_events_worker: there's no need to use an extra int that gets
the value of see->snum to get the index of sme_sensor_data, just use
see->snum directly.
2007-07-14 00:48:56 +00:00
xtraeme
8ae7221593 sme_event_add: if the event is already on the list, update the
critical value only if new value is different than the one it has.

While I'm here, improve the debugging printf for this.
2007-07-13 23:46:24 +00:00
xtraeme
8483d81318 sme_event_add: if sme_event_register() fails return the error of this
function and not EINVAL.
2007-07-13 23:21:46 +00:00
xtraeme
aae1d72d54 sme_events_worker: simplify the code that sends the events. 2007-07-13 22:49:15 +00:00
dsl
6b182ed9a7 Put the stackgap code under OPT_SYSTRACE. 2007-07-13 21:04:29 +00:00
dsl
12da34644a Update generated files. 2007-07-13 20:49:07 +00:00
dsl
f02523fb6e Remove all the syscall stubs that were only there to get files lookup
up in the alternate path.
2007-07-13 20:48:39 +00:00
dsl
cfc71184cd Make thsi compile again after the recent changes to select/poll.
It really should be doing things properly though.
2007-07-13 20:46:04 +00:00
christos
9d497371ab PR/36644: Edgar Fuss: vacation does not work if homedir not present
Don't care about it failing if all paths needed are absolute.
2007-07-13 14:52:15 +00:00
christos
0ec618debc bump warns to 4. 2007-07-13 13:22:05 +00:00
christos
3a2d5ef17c PR/36643: Edgar Fu: -m missing from getopt.
While there:
- mark usage noreturn
- remove prototype for main
2007-07-13 13:21:49 +00:00
jdc
7e0bb0168c Emphasise `ncurses'. 2007-07-13 11:16:11 +00:00
jdc
05ea77093a Note that the additional characters are for ncurses compatibility.
Pointed out by Thomas Dickey.
2007-07-13 11:15:33 +00:00
xtraeme
961a1c929f sme_event_unregister: if the events list is empty, just after the
callout is stopped, use callout_destroy().
2007-07-13 11:09:09 +00:00
he
c36e288b04 Add a missing comma, and a missing return NULL if you fall off the
end of plumpcmcia_event_alloc().
2007-07-13 08:22:31 +00:00
rmind
8c2097ad8d Make MP parts friendly with various ports (especially UP):
- #ifdef code parts, which uses CPU_INFO_FOREACH/CPU_INFO_ITERATOR
 - use ci_cpuid only in MP case
 - include machine/cpu.h
2007-07-13 07:21:31 +00:00
macallan
f3f0f36b49 mention audio-in on dbri 2007-07-13 04:33:48 +00:00
kiyohara
8e5eb16fe0 There is a possibility that TLB-miss is caused in mq200_mdsetup(). 2007-07-13 04:03:55 +00:00
xtraeme
45e944a6cf Define a set of macros to avoid writting same code many times. 2007-07-13 00:42:57 +00:00
xtraeme
a63e9584d6 Forgot to set the description in the sensor. 2007-07-13 00:27:47 +00:00
macallan
002ad49155 - don't pretend to support 8bit stereo - the hardware can do it but not the
way we currently use it ( needs a 2nd pipe for each direction )
- 8bit mono a-law and u-law should work now
- add support for audio input
2007-07-12 22:58:50 +00:00
xtraeme
425df11cce Add a missing printf in parse_dictionary() and simplify this part to
avoid code duplication in two places.
2007-07-12 22:52:54 +00:00
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