Commit Graph

160372 Commits

Author SHA1 Message Date
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
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