summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Add a quick check that device actually has sound capabilities. The problemsobomax2002-07-301-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is that some cards built around fm801 chip have the same device ID, only have radio tuner onboard, but no sound capabilities. Therefore, with such card inserted and `device pcm' in kernel the user has a big problem, as the fm801 driver effectively hangs the machine when trying to initialise nonexistent ac97 codecs (it does 500 retries with 1 second interval!). It would be better if MediaForte's engeneers were smart enough to put different device ID into such cards, but it isn't an option. MFC after: 2 weeks
* | | | In endtsleep() and cv_timedwait_end(), a thread marked TDF_TIMEOUT maytanimura2002-07-302-3/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | be swapped out. Do not put such the thread directly back to the run queue. Spotted by: David Xu <davidx@viasoft.com.cn> While I am here, s/PS_TIMEOUT/TDF_TIMEOUT/.
* | | | - Add vfs_badlock_{print,panic} support to the remaining VOP_ASSERT_*jeff2002-07-301-8/+20
| | | | | | | | | | | | | | | | macros.
* | | | - Add automatic post vop debug checks. These work in both the success andjeff2002-07-301-5/+14
| | | | | | | | | | | | | | | | failure cases.
* | | | - Acknowledge recursive vnode locks in the vop_unlock specification. Thejeff2002-07-301-1/+1
| | | | | | | | | | | | | | | | vnode may not be unlocked even if the operation succeeded.
* | | | Since pam_get_authtok(3) doesn't know about our options structure, settingdes2002-07-301-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the PAM_ECHO_PASS option on-the-fly is a NOP (though it wasn't with the old pam_get_pass(3) code). Instead, call pam_prompt(3) directly. This actually simplifies the code a bit. MFC after: 3 days
* | | | Do a case insensitive comparison when comparing the ms-chap responsebrian2002-07-301-1/+1
| | | | | | | | | | | | | | | | string.
* | | | o In vm_object_madvise() and vm_object_page_remove() replacealc2002-07-301-15/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | vm_page_sleep_busy() with vm_page_sleep_if_busy(). At the same time, increase the scope of the page queues lock. (This should significantly reduce the locking overhead in vm_object_page_remove().) o Apply some style fixes.
* | | | Add a bunch more cards that are known to work.imp2002-07-301-4/+31
| | | | | | | | | | | | | | | | | | | | | | | | Add a warning about the Symbol LA-4100 series of cards. You gotta load special firmware, and the wi driver in the tree doesn't support that yet.
* | | | - Optimize wakeup() and its friends; if a thread waken up is beingtanimura2002-07-305-72/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | swapped in, we do not have to ask for the scheduler thread to do that. - Assert that a process is not swapped out in runq functions and swapout(). - Introduce thread_safetoswapout() for readability. - In swapout_procs(), perform a test that may block (check of a thread working on its vm map) first. This lets us call swapout() with the sched_lock held, providing a better atomicity.
* | | | o Lock page queue accesses by pmap_release_free_page().alc2002-07-302-0/+4
| | | |
* | | | Add definitions for statistical and high-resolution profiling. The callingjake2002-07-303-66/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | conventions for _mcount and __cyg_profile_func_enter are different, so statistical profiling kernels build and link but don't actually work. IWBNI one could tell gcc to only generate calls to the former. Define uintfptr_t properly for userland, but not for the kernel (I hope).
* | | | The data cache on UltraSPARC III is not directly mapped, so don't assertjake2002-07-301-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | that. This breaks assumptions made by some of the cache flushing code, but UltraSPARC III has different methods for invalidating cache lines anyway.
* | | | Update docs to reflect change in count of procs reserved for rootsilby2002-07-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from 1 to 10. PR: kern/40515 Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU> MFC after: 1 day
* | | | Update docs to reflect change in count of procs reserved for rootsilby2002-07-302-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from 1 to 10. PR: kern/40515 Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU> MFC after: 1 day
* | | | Routing socket messages are padded to sizeof(long), not justfenner2002-07-301-2/+4
| | | | | | | | | | | | | | | | sizeof(u_int32_t).
* | | | Fix int/size_t mismatch for sysctl arguments. Try not to introduce morejake2002-07-301-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | unsorting. Reviewed by: bde (unsorted version)
* | | | New release notes: ctags(1) -T, finger(1) -4/-6 (+MFC), various sh(1)bmah2002-07-302-18/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | built-ins (most of which were MFC-ed). Modified release notes: hw.pci.enable_io_modes sysctl MFCs noted: ls(1) -m/-p/-x, rm(1) -v (marked as historic), sh(1) -C, split(1) -a.
* | | | Panic if the data cache has too many virtual colors (more than 2).jake2002-07-301-0/+2
| | | |
* | | | Use fchmod() to restore the tty modes.peter2002-07-301-1/+1
| | | |
* | | | Use _ALIGN_DATA and _ALIGN_TEXT.jake2002-07-302-4/+4
| | | |
* | | | Rebuild of files generated from syscalls.master.rwatson2002-07-305-17/+57
| | | | | | | | | | | | | | | | | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* | | | Prototype function arguments, only with MAC-specific structuresrwatson2002-07-301-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | replaced with void until we bring in the actual structure definitions. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* | | | Hook up kern_mac.c to the build.rwatson2002-07-301-0/+1
| | | | | | | | | | | | | | | | | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* | | | Stubs for the TrustedBSD MAC system calls to permit TrustedBSD MACrwatson2002-07-309-0/+837
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | userland code to operate on kernel's from the main tree. Not much in this file yet. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* | | | When translating and -C is specified, behave as if the complemented set wastjr2002-07-291-0/+26
| | | | | | | | | | | | | | | | in the locale collating order as required by SUSv3.
* | | | o Introduce vm_page_sleep_if_busy() as an eventual replacement foralc2002-07-292-0/+23
| | | | | | | | | | | | | | | | | | | | vm_page_sleep_busy(). vm_page_sleep_if_busy() uses the page queues lock.
* | | | Remove a XXXKSE comment. the code is no longer a problem..julian2002-07-291-1/+1
| | | |
* | | | Create a new thread state to describe threads that would be ready to runjulian2002-07-295-21/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | except for the fact tha they are presently swapped out. Also add a process flag to indicate that the process has started the struggle to swap back in. This will be needed for the case where multiple threads start the swapin action top a collision. Also add code to stop a process fropm being swapped out if one of the threads in this process is actually off running on another CPU.. that might hurt... Submitted by: Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp>
* | | | Create a new header <machine/_stdint.h> for storing MD parts ofmike2002-07-2928-1620/+1198
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <stdint.h>. Previously, parts were defined in <machine/ansi.h> and <machine/limits.h>. This resulted in two problems: (1) Defining macros in <machine/ansi.h> gets in the way of that header only defining types. (2) Defining C99 limits in <machine/limits.h> adds pollution to <limits.h>.
* | | | Don't depend on pollution in <machine/limits.h> (by way ofmike2002-07-291-0/+1
| | | | | | | | | | | | | | | | <sys/param.h>) for definition of <stdint.h> macros.
* | | | New release notes: tr(1) equivalence classes (+MFC), tr(1) -C.bmah2002-07-292-2/+16
| | | | | | | | | | | | | | | | MFCs noted: Various new flags for who(1).
* | | | Conform to RFC 959, Appendix II, when replyingyar2002-07-291-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | to a successful MKD command. MFC after: 1 week
* | | | If we are in hostap mode, do not go into promisc mode. This causesimp2002-07-291-11/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | problems with the firmware and will result in a) poor performance and b) the inability to associate certain types of cards (most notibly cisco). Idea obtained from OpenBSD, but I implemented it by clearing the IFF_PROMISC flag rather than the refusing to honor it downstream.
* | | | When translating and the -c option is specified, handle the case where thetjr2002-07-291-6/+11
| | | | | | | | | | | | | | | | | | | | second string argument is more than one character in length in the way required by SUSv3 (and the way GNU textutils and SVR4 do it).
* | | | Drop support for COPY, -c has been the default mode of install(1)ru2002-07-2979-163/+155
| | | | | | | | | | | | | | | | | | | | | | | | for a long time now. Approved by: bde
* | | | Use a common way to release locks before exit.maxim2002-07-291-2/+4
| | | | | | | | | | | | | | | | Reviewed by: hsu
* | | | Ignore -C, -p, and -S options of install(1) when used with the -dru2002-07-294-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | option. Warn about COPY being phased out. Restore the old method of always comparing before installing: INSTALL="install -C". Requested by: bde
* | | | - Add VBAD to the list of vnodes that are ignored on locking operations.jeff2002-07-291-1/+1
| | | |
* | | | Fix typo.murray2002-07-291-1/+1
| | | | | | | | | | | | | | | | | | | | PR: docs/41091 MFC after: 1 day
* | | | - Backout the patch made in revision 1.75 of vfs_mount.c. The vputs herejeff2002-07-292-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | were hiding the real problem of the missing unlock in sync_inactive. - Add the missing unlock in sync_inactive. Submitted by: iedowse
* | | | o Pass VM_ALLOC_WIRED to vm_page_grab() rather than calling vm_page_wire()alc2002-07-293-33/+12
| | | | | | | | | | | | | | | | | | | | in pmap_new_thread(), pmap_pinit(), and vm_proc_new(). o Lock page queue accesses by vm_page_free() in pmap_object_init_pt().
* | | | New release notes: wicontrol(8) -l/-L, traceroute 1.4a12.bmah2002-07-292-4/+18
| | | | | | | | | | | | | | | | Updated release note: tcsh-6.12.
* | | | Fix Makefiles to actually work.mjacob2002-07-294-0/+4
| | | |
* | | | Forced commit.silby2002-07-290-0/+0
| | | | | | | | | | | | | | | | Rev 1.134 actually reverts rev 1.132, NOT rev 1.131.
* | | | Revert rev 1.131.silby2002-07-291-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1.131 is slightly broken, and I would commit the fix to that here, but it has been reported that any deviation from the original code is causing problems with some 82557 chips, causing them to lock hard. Until those issues have been figured out, going back to the original code is the best plan. Frustrated: Silby
* | | | whitespace commit: fix indentation in fxp_intr_body.luigi2002-07-291-97/+97
| | | | | | | | | | | | | | | | | | | | This is also done in preparation of a subsequent fix for the handling of RNR conditions in polling mode.
* | | | Add routines needed for high resolution profiling.jake2002-07-292-0/+84
| | | |
* | | | Add a symbol for btext.jake2002-07-292-0/+2
| | | |
* | | | Remove a stale comment.jake2002-07-292-8/+0
| | | |
OpenPOWER on IntegriCloud