summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-01-28Document the rest of cu's options; from Andrey SmaginTodd C. Miller
We should probably split tip and cu into separate man pages with the common bits included.
2003-01-28Move device driver specific stuff to *var.h and add most of the code forJason Wright
dealing with output source selection (doesn't work right yet, so its disabled).
2003-01-28Remove (now) bogus diagnostic check and set the output length correctly (why ↵Jason Wright
this was done in -two- places is beyone me); spotted and tested by Nick.
2003-01-28pad < minimal length packets with 0's; based on netbsd; tested by miodJason Wright
2003-01-28fix fd_set overflowVincent Labrecque
ok hin@
2003-01-27Do not clean too far.Miod Vallat
2003-01-27Stupid stupid stupid... DMA will not start until the capture next registerJason Wright
is written. I'm not sure how to -correctly- handle this for the fullduplex case, but this seems to make playback sound MUCH better...
2003-01-27M_VMPVENT bites the dust; requested by art@ long ago.Miod Vallat
2003-01-27pthreads signal handling improvements. With these changes allMarco S Hyman
of the thread regressions tests pass on i386, sparc, sparc64 (save the siginfo test on sparc64 due to a kernel issue) and alpha. The tests should also pass on ppc. In addition, it fixes the problems with the "mysql torture test" provided by one of our users. The python port also appears to work correctly with these changes. Summary of changes: * check_pending removed from thread structure, no longer used. * unused elements of sigstatus structure removed. The sigstatus structure is now used to keep track of siginfo data instead of defining a local array in uthread_sig.c. * _thread_kern_sched_sig removed * _thread_sig_process goes away -- can't have a lock active when signal handlers are called. Functions now call _thread_sig_handle directly. * _thread_clear_pending now used lib wide to clear pending flags. It was named _clean_pending_flag and only used in uthread_sig.c. The function clears both per thread signals, and per process signals. * _thread_sig_handle now returns a value. * unused debugging macros removed from the thread kernel * dispatch pending signals after switching to a thread providing that signal handling hasn't been deferred by the thread. * process thread switchhooks before dispatching pending sigs * check for thread cancellation before dispatching pending sigs * re-wrote pthread-kill to do the correct thing. It now does minimal thread-kill-specific processing and then calls the existing code in uthread_sig to process the generated signal. * shut the compiler up when compiling uthread_mutex.c * no more "signal_lock". It does more harm than good. * keep track of "per-process" signals. * don't bother saving siginfo_t data for the scheduling signal. * per posix: SIGSTOP cleared when SIGCONT received and vice versa. * add _dispatch_signal to properly dispatch a signal to a thread. It sets the appropriate signal mask, something that was missing in the previous implementation. This fixes several bugs. The previous method held a lock. If the signal handler longjmp-ed the lock was never cleared and no more signals were processed.
2003-01-27Save all floating point registers to full register sized fields, notDale Rahn
half-sized areas. fixes preemption_float on powerpc.
2003-01-27padd < mimimum sized frames with 0's instead of whatever the chip wants; ↵Jason Wright
based on netbsd.
2003-01-27pad minimum frames with 0's; based on netbsdJason Wright
2003-01-27pad tx buffer on < minimum length frames; based on NetBSD; tested on hppa.Jason Wright
2003-01-27KNFTheo de Raadt
2003-01-27bit KNFHenning Brauer
2003-01-27Convert m68k pmap from physseg to VM_PAGE_MD.Miod Vallat
This allows us to remove some ambiguities on how some functions are called, remove some diagnostic checks for conditions that can never happen and remove the ugly hack with "pmap_initialized". Then, rework internal function interfaces and some logic so as to stop fetching vm_page from a pa and the reverse every now and then - this makes some pmap operations run much faster. per art@'s idea.
2003-01-27As promised, I got some sleep and rewrote most of the driver... playbackJason Wright
is still a bit spotty, but at least interrupts are not enabled constantly any more. Also discovered a feature: messing with the LINE/MIC bit in GAINCTL has the side effect of wedging the chip under some circumstances, but I think this can be worked around by resetting the codec... later.
2003-01-27Update wsvt25* terminal definition to match actual color usage; Thorsten Glaser.Miod Vallat
ok millert@
2003-01-27Pad tx buffer with 0's on minimum sized frames; based on NetBSD.Jason Wright
2003-01-27KNFTheo de Raadt
2003-01-27more specific error message when /var/empty has wrong permissions;Markus Friedl
bug #46, map@appgate.com; ok henning@, provos@, stevesk@
2003-01-27When -a is specified, the operation affects an anchor only, so don't tryDaniel Hartmeier
to replace queues (or options) which are global and can't be loaded into an anchor. Found by j@pureftpd.org.
2003-01-27Follow art's lead on the license.Dale Rahn
2003-01-27bugfix from Can Erkin Acar <canacar@eee.metu.edu.tr>:Henning Brauer
hbhopt_print() and dstopt_print() can return 0 if the option is located just one byte short of snapend this would cause an infinite loop in ip6_print().
2003-01-27Update. from csapuntz@Artur Grabowski
2003-01-27Another incorrect regression test. POSIX specifies that signalMarco S Hyman
handlers will be called with the current signal masked unless the handler was installed with the SA_NODEFER flag. The test did not check this (and the pthread code was incorrect by not setting the mask). This fixes the test. The pthread lib part of the fix will be made in a short while. Untill then the test will fail.
2003-01-27Add licenses where I forgot them. (I'm ashamed).Artur Grabowski
2003-01-27separate register defns and revise them based on the LASI info... a HUGEJason Wright
chunk of this driver will be rewritten once I've gotten some zzz's.
2003-01-27syncTheo de Raadt
2003-01-27missing license; pointed out by ray at securityfoo dot net.Federico G. Schwindt
2003-01-27I declare defeat... once interrupts are enabled, just leave them enabled.Jason Wright
This is annoying because the chip will keep dma'n, but everytime I disable interrupts in halt_*, they never come back. Grr.
2003-01-27Write to the cntl register with the c flag set.Jason Wright
2003-01-27remove some unused includes, from Andrey MatveevDaniel Hartmeier
2003-01-27missing $OpenBSD$Jason Wright
2003-01-26add harmonyJason Wright
2003-01-26catched -> caughtRyan Thomas McBride
2003-01-26compute record high water mark from record parameters not play parameters; ↵Jason Wright
from NetBSD kern/19614
2003-01-26remove bogus commentMarco S Hyman
2003-01-26Add harmony man page and finish alphabetizing things, plus a bit of cleaningJason Wright
2003-01-26o comes before pJason Wright
2003-01-26Ok, playback more or less works, now for capture. (I forgot to save the ↵Jason Wright
pintr/parg)
2003-01-26Ok, this now produces some noise (that's the best way I can describe it),Jason Wright
but the timing appears to get off some how and buffers just stay on the chip. Oh well, at least its keeping me from playing in the traffic.
2003-01-26save fpu context (needs optimization)Jason Wright
2003-01-26regenMichael Shalayeff
2003-01-26a bunch of devices used in hp machinesMichael Shalayeff
2003-01-26Removing leading spaces can result in a failure with multiline commands. Ok ↵Damien Couderc
millert.
2003-01-26Mount msdos filesystems with -s (shortnames) rather than -lKenneth R Westerback
(longnames). This ensures the install sets are listed in lowercase and are thus visible to the install/upgrade scripts. Installing/upgrading from sets on msdos partitions should now work (again?). Problem noticed by Michael Lucas. deraadt@ ok
2003-01-26Last (?) big cleanup in distrib/miniroot this release cycle.Kenneth R Westerback
Simplify and clarify logic around selecting/installing sets. Rename do_selection_list() to select_sets(), and install_get_files() to install_files(). Eliminate glob_selection() and get_get_files() and the global GET_FILES, folding logic into select_sets() and install_files(). Show the user entire 'url' when no sets are found, rather than trying to hide mount points, etc. Eliminate VERSION_MAJOR and VERSION_MINOR since they were always used together. Instead, simply construct a few variables (SETDIR, FTPDIR, OBSD) holding the strings these were used to construct. Various 'standard' cleanups of quotes, braces, etc. in modified areas. Also shrinks install.sub by 681 bytes.
2003-01-26add rdr test for port x:y -> port zMarkus Friedl
2003-01-26Start on the harmony audio driver. It doesn't play or capture anythingJason Wright
yet, but the knobs and interrupt routine seem to work. More to come.