summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Correct the description of the TAPE environment variable.ceri2005-07-311-1/+5
| | | | | | | | Based on: PR: docs/84200 Submitted by: Gary W. Swearingen <garys at opusnet dot com> MFC after: 1 week
* - Fixup the locking.netchild2005-07-311-3/+17
| | | | | | | - Don't mark MPSAFE (yet). - DSP_CMD_DMAEXIT_8 doesn't work on old cards, use sb_reset_dsp() instead. Submitted by: Ariff Abdullah <skywizard@MyBSD.org.my>
* - Fixup the locking.netchild2005-07-313-4/+26
| | | | | | - Don't mark MPSAFE (yet). Submitted by: Ariff Abdullah <skywizard@MyBSD.org.my>
* Add another ID.netchild2005-07-311-0/+1
| | | | Submitted by: Ariff Abdullah <skywizard@MyBSD.org.my>
* * Add locking / MPSAFEnetchild2005-07-311-82/+206
| | | | | | | | | | | | | | | | | | | | * Add kernel hint option to disable DXS channels entirely. Report from several skype users / Pav Lucistnik indicate that disabling DXS may fix lots of pop / crackling noise. To disable DXS add hint.pcm.<unit>.via_dxs_disabled="1" to /boot/device.hints. Further investigation of the issues regarding DXS showed, that the problem is in another (more generic) place, but until the right fix is tested/reviewed this may help a little bit. Added sysctl's to aid testing/debugging: hint.pcm.<unit>.via_dxs_disabled=X - Disable / Enable DXS channels entirely hint.pcm.<unit>.via_dxs_channels=X - Limit DXS channels up to X hint.pcm.<unit>.via_sgd_channels=X - Limit SGD channels up to X hint.pcm.<unit>.via_dxs_src=X - Enable / Disable DXS sample rate converter. Submitted by: Ariff Abdullah <skywizard@MyBSD.org.my> Tested by: multimedia@
* Mention the default value of PATH and that it may be overridden.brueffer2005-07-311-2/+7
| | | | | Submitted by: Roman Divacky MFC after: 3 days
* Document 2 new sysctl's.netchild2005-07-311-0/+18
| | | | | Submitted by: Ariff Abdullah <skywizard@MyBSD.org.my> Submitted by: Jonathan Noack <noackjr@alumni.rice.edu> (implicit)
* Fix a LOR introduced with the last commit (some hours ago), I had thenetchild2005-07-311-14/+2
| | | | | | | wrong version of the patch. Submitted by: Ariff Abdullah <skywizard@MyBSD.org.my> Pointy hat to: netchild
* Fix a LOR introduced in the last commit (some hours ago), I had the wrongnetchild2005-07-311-25/+4
| | | | | | | version of the patch... Submitted by: Ariff Abdullah <skywizard@MyBSD.org.my> Pointy hat to: netchild
* * Register programming error during device initializationnetchild2005-07-312-127/+278
| | | | | | | | | | | | | | | | | | | | | | | | | | especially for CT4730 / EV1938 chip, causing misconfigured mixer (David Xu), crippled after power cycle (Kevin Oberman). Fixed. * Incorporate locking/spdif patches from Jon Noack / matk. Not all es137x can really do spdif, clean it up a bit to only let few capable chip. This adds a "hw.snd.pcm<unit>.spdif_enabled" sysctl until a more generic way of handling this from userland (by an ordinary user) is designed/implemented. * Convert all bus_space_(read|write) to use es_rd/es_wr, simmilar with other drivers. * Add tunable hw.snd.pcm<unit>.latency_timer sysctl to toggle pci latency timer value on the fly. Much noise / pop / crackling issues can be solved by increasing its value. Other people have pointed out to use pciconf instead, but this is just an added value specific for CT4730/EV1938. * Remove es137x specific debug sysctl/code. Several PRs can now be closed. Submitted by: Ariff Abdullah <skywizard@MyBSD.org.my> Submitted by: Jon Noack <noackjr@alumni.rice.edu> (implicit) Submitted by: matk (implicit) PR: 59349, 68594, 73498 Tested by: multimedia@
* This driver is already MPSAFE, remove busdma_lock_mutex and Giant fromnetchild2005-07-311-2/+2
| | | | | | bus_dma_tag_create. Submitted by: Ariff Abdullah <skywizard@MyBSD.org.my>
* * Add locking / MPSAFE.netchild2005-07-311-11/+33
| | | | | Submitted by: Ariff Abdullah <skywizard@MyBSD.org.my> Tested by: netchild
* * als4000 can't do 48k properly (perhaps it really can't at all!).netchild2005-07-311-9/+70
| | | | | | | | Set maxspeed to 44.1k instead. * Add locking / MPSAFE * Fix recording Submitted by: Ariff Abdullah <skywizard@MyBSD.org.my>
* * Fix panic during driver unload on second attempt after failure onnetchild2005-07-312-11/+18
| | | | | | | | first (device busy). * Fix module unloading for sound.ko itself. Submitted by: Ariff Abdullah <skywizard@MyBSD.org.my> Tested by: multimedia@
* The resource_xxx routines in subr_hints.c are called before and after thenetchild2005-07-311-0/+2
| | | | | | | | | | | | | | | | | | | | | | kenv environment in kern_environment.c switches to dynamic kenv. The prior call sets the static variable hintp to the static hints in subr_hints.c (hintmode==0). However, changes to the environment are not detected by the resource_xxx lookups after the change to dynamic kernel environment, so the lookup routines only report the old stuff of hintmode==0, even after the change to the dynamic kenv. This causes kenv users to see a different environment than the kernel routines. This is a problem in the mixer.c code that looks up initial mixer volume settings from the hints: If the hints are dynamic and not from the device.hints file, mixer.c doesn't see them, but kenv does. The patch from the PR (modified to comply to the style of the function) solves this. PR: 83686 Submitted by: Harry Coin <harrycoin@qconline.com>
* Add bounds checking to the setenv part of the kernel environment.netchild2005-07-311-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | This has no security implications since only root is allowed to use kenv(1) (and corrupt the kernel memory after adding too much variables previous to this commit). This is based upon the PR [1] mentioned below, but extended to check both bounds (in case of an overflow of the counting variable) and to comply to the style of the function. An overflow of the counting variable shouldn't happen after adding the check for the upper bound, but better safe than sorry (in case some other function in the kernel overwrites random memory). An interested soul may want to add a printf to notify root in case the bounds are hit. Also allocate KENV_SIZE+1 entries (the array is NULL-terminated), since the comment for KENV_SIZE says it's the maximum number of environment strings. [2] PR: 83687 [1] Submitted by: Harry Coin <harrycoin@qconline.com> [1] Submitted by: Ariff Abdullah <skywizard@MyBSD.org.my> [2]
* Change /home symbolic link, so it will point to usr/home instead of /usr/home.pjd2005-07-311-1/+5
| | | | | | | | | | | | Previous symlink was confusing: # cd /jails/virtual_system_1/home # realpath . /usr/home ...and slower. OK'ed by: rwatson, phk
* Print cpu_vendor and the MSR value if we don't support this processorcperciva2005-07-311-1/+1
| | | | | | even though we're not asking people to contact us. Requested by: njl
* close a race between reclaiming a node when a station is inactivesam2005-07-313-2/+15
| | | | | | and sending the null data frame used to probe inactive stations MFC after: 5 days
* The isa attachment calls ep_free after it has already been called onceimp2005-07-311-1/+3
| | | | | | | | in the resource error in ep_alloc case. This results in a panic. Zero resources to make it safe to call twice pending resolution of layering questions. MFC After: 3 days
* Fix all the spelling mistakes I could find in the man pages for wordskeramida2005-07-3138-60/+60
| | | | | | | | that have at least 3 characters. MFC after: 1 week Thanks to: Music band ``Chingon'' for keeping me company while searching for these.
* Add newer commandsimp2005-07-311-2/+7
|
* Remove the instruction to "contact the maintainer" for unrecognizedcperciva2005-07-311-3/+1
| | | | | CPUs. Intel refuses to give me the information I need, and getting more emails about this doesn't help.
* fix build without option INET6.ume2005-07-301-0/+8
| | | | Reported by: Philip M. Gollucci <pgollucci__at__p6m7g8.com>
* Introduce kdevtoname, which when given the kernel address of acsjp2005-07-301-4/+16
| | | | | | | | | cdev structure, returns the device name associated with it through the __si_namebuf member. This un-breaks the processing of devices. This is a RELENG_6 candidate. Reviewed by: phk
* Add some more files. More (manpages) to come later...netchild2005-07-301-1/+332
|
* - Only make the delete-old related parts visible if one of the 3 targetsnetchild2005-07-301-0/+6
| | | | | | | are called (wrapped in ".if make(...)"). This may reduce the amount of memory needed for all other targets (the file lists are already large and they will grow further). - Be verbose in the batch case of the delete-old part too.
* Add missing parenthesis around error handling code upon attachingcsjp2005-07-301-1/+2
| | | | | | | | | | mlx devices. This fixes an issue where mlx device drives fail to be detected at system boot. This is a RELENG_6 candidate. Submitted by: oliver PR: kern/84163
* Misc cleanup (spelling, grammar, mdoc, style, cut >80 char lines).brueffer2005-07-301-83/+93
|
* Temporary band-aid to fix hang when a process exec's Altivec instructions.grehan2005-07-306-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | trap_subr.S: declare a stub for the a-unavailable trap that does an absolute jump to the vector-assist trap. This is due to the fact that the vec-unavail trap doesn't start at a 256-byte boundary, so the trick of masking the bottom 8 bits of the link register to identify the interrupt doesn't work, so let the vec-assist case handle Altivec-disabled for the time being. Note that this will be fixed in the future with a much smaller vector code-stub (< 16 bytes) that will allow use of strange vector offsets that are also present in 4xx processors, and also allow smaller differences in vector codepaths on the G5. trap.c: Treat altivec-unavailable/assist process traps as SIGILL. Not quite correct, since altivec-assist should really be a panic, but it is fine for the moment due to the above measure. machdep.c Install the stub code for the altivec-unavailable trap, and the standard trap code at the altivec-assist. Reported by: Andreas Tobler <toa at pop agri ch> MFC after: 3 days
* Document two new diagnostic messages in hwpmc(4).jkoshy2005-07-301-0/+7
|
* Fail the module loading process if the currently executing kerneljkoshy2005-07-303-7/+29
| | | | | | | | was not compiled with 'options HWPMC_HOOKS' or if the compiled-in version numbers of the kernel and module are out of sync. Reported by: cracauer MFC after: 3 days
* Enforce the native environment requirement for {check,delete}-old-* atdes2005-07-301-6/+6
| | | | | | run time, not parse time. This unbreaks cross-builds. Pointy hat to: netchild
* Ignore mutex asserts when we're dumping as well. This allows meps2005-07-301-1/+2
| | | | | to panic a system from DDB when INVARIANTS is compiled into the kernel on a scsi system.
* oops, revert previous changesam2005-07-301-7/+0
|
* MFC: add fragthreshold parameter and accept - (or any) for rtsthresholdsam2005-07-301-0/+7
| | | | Approved by: re (kensmith)
* add m_align, a function to align any type of mbuf (i.e. itsam2005-07-302-0/+20
| | | | | | is a superset of M_ALIGN and MH_ALIGN) Reviewed by: several
* devfs is not yet fully MPSAFE - for example, multiple concurrent devfs(8)kris2005-07-291-1/+0
| | | | | | processes can cause a panic when operating on rulesets. Approved by: phk
* Add a new PCI id for fxp(4) cards found on ICH7-based systems.mux2005-07-291-0/+1
| | | | | | This commit is a RELENG_6 candidate. Submitted by: Martin Nilsson <martin@gneto.com>
* Forced commit [1] to add another design goal which I forgot to mention innetchild2005-07-290-0/+0
| | | | | | | | | | | | | | the initial commit of the delete-old feature: One of the design goals of the recently committed way of removing obsolete files was to *not* remove a file which we never had in the base system (I'm not sure I mentioned this in the commit log). So if an administrator decides to move something to somewhere in the base system (for whatever reason), it will stay where it is (and this is good, since this move was done with a specific purpose). Suggested by: Jeremie Le Hen <jeremie@le-hen.org> [1] Approved by: mentor (joerg; implicit)
* Remove an unused variable.deischen2005-07-292-2/+0
|
* - Move recently added dir into the correct section.netchild2005-07-293-14/+68
| | | | | | | | | | | | - Add a note about the organisation of the sections. - Expand shell globs (they worked in a previous version of the delete-old target, but not in this one). - Use the correct way of checking for a native environment. [1] - Add some more obsolete files. - Fix some bad english. [1] Suggested by: ru [1] Approved by: mentor (joerg)
* Catch up with the atomic_FOO_ptr() changes and silence a few warnings.deischen2005-07-292-14/+28
|
* Add missing dependencies on the SYSVIPC modules.jhb2005-07-292-0/+10
|
* Move MODULE_DEPEND() statements for SYSVIPC dependencies to linux_ipc.cjhb2005-07-294-10/+5
| | | | | so that they aren't duplicated 3 times and are also in the same file as the code that depends on the SYSVIPC modules.
* Fix a bug in pmap_protect() in the PAE case where it would try to look upjhb2005-07-291-2/+2
| | | | | | | | | the vm_page_t associated with a pte using only the lower 32-bits of the pte instead of the full 64-bits. Submitted by: Greg Taleck greg at isilon dot com Reviewed by: jeffr, alc MFC after: 3 days
* Add a tunable 'hw.apic.enable_extint' that can be set from the loader tojhb2005-07-291-2/+12
| | | | | | | | | not mask the ExtINT pin on the first I/O APIC as at least one PIII chipset seems to need this even though all of the pins in the 8259A's are masked. The default is still to mask the ExtINT pin. Reported by: Mike Tancsa mike at sentex.net MFC after: 3 days
* Remove stale struct ata_channel declaration.sos2005-07-291-1/+0
| | | | Reported by: rodrigc
* Correct argument order of kiconv_add_xlat16_cspairs().imura2005-07-291-1/+1
| | | | Security:
* Fix typo and check correct (rsp) pointer against the NULL value.emax2005-07-291-1/+1
| | | | | Submitted by: Oliver < urnenfel at tiscali dot es > MFC after: 1 day
OpenPOWER on IntegriCloud