summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Forward declare z_errmsg with static linkage since it is definedrodrigc2005-09-111-1/+1
| | | | with static linkage later in the file. Eliminates GCC 4.0 error.
* Forward declare atalkdomain with static linkage, not extern, sincerodrigc2005-09-111-1/+1
| | | | | it is defined with static linkage later in the file. Eliminates GCC 4.0 error.
* Cast bf_sysid to const char * when passing it to strncmp(), becauserodrigc2005-09-111-1/+1
| | | | strncmp does not take an unsigned char *. Eliminates warning with GCC 4.0.
* Do not declare M_NTFSMNT with extern linkage here, sincerodrigc2005-09-111-1/+0
| | | | | it is defined with static linkage in ntfs_vfsops.c. Fixes compilation with GCC 4.0.
* A new version of rev. 1.4: postpone a temporary file creationmaxim2005-09-111-1/+1
| | | | | | | | until we realize if ipfw(4) ever used. PR: bin/85970 Submitted by: Andre Albsmeier MFC after: 3 days
* Power up the external amplifiers additionally to powering up the DAC and ADC.netchild2005-09-111-0/+8
| | | | | | PR: 47029 Submitted by: Anish Mistry <mistry.7@osu.edu> Tested by: David Murphy <dm@dmz.ie>
* Add some ad_wait_init() calls to fix some problems in some configs (e.g.netchild2005-09-111-1/+5
| | | | | | | PC98, CS4231A, "pcm0: play interrupt timeout"). PR: 45682 Submitted by: Watanabe Kazuhiro <CQG00620@nifty.ne.jp>
* Allow to record non 8bit-mono formats even in half-duplex configurations.netchild2005-09-111-1/+2
| | | | | PR: 45679 Submitted by: Watanabe Kazuhiro <CQG00620@nifty.ne.jp>
* Add fifo_open, a basic regression test for opening fifos, which testsrwatson2005-09-112-0/+481
| | | | | the blocking and non-blocking forms of open based on the POSIX spec for now O_NONBLOCK should be handled.
* Fix typo: ${PORTDIR} -> ${PORTSDIR}.cperciva2005-09-111-1/+1
| | | | | | | | | Apologies to everyone who has run portsnap in 7.0-CURRENT since Tuesday; if there is a file "/.portsnap.INDEX" on your system, you can delete it (or even better, move it to /usr/ports/.portsnap.INDEX). Big pointy hat to: cperciva Reported that things weren't working properly: Aleksander Fafula
* Do not destroy the queue mutex until the thread is done with it.phk2005-09-111-1/+1
|
* Stop leaking a lock. This used to cause a propagate_priority() page faultmlaier2005-09-111-3/+3
| | | | | | when setting syncdev and syncpeer. Reported by: Dominic Marks
* Fix misdetection of the sound chip on PC98 systems. The submitter doesn'tnetchild2005-09-111-0/+2
| | | | | | | | | | | | believe that there are PC98 systems with an OPTi chip. I don't know enough about this special PC architecture to be sure about this, so let's find out by letting people with such a system complain in case this commit breaks the sound system for them. It's easy to revert then. PR: 45673 Submitted by: Watanabe Kazuhiro <CQG00620@nifty.ne.jp>
* Fix a bug in volume calculation, this sometimes gives a USB audio device annetchild2005-09-111-2/+2
| | | | | | unexpected value (when the volume is high). Submitted by: Kazuhito HONDA <kazuhito@ph.noda.tus.ac.jp>
* Relocate witness_levelall(), witness_leveldescendents(), andtruckman2005-09-111-86/+86
| | | | | | | witness_displaydescendants() so that they are protected by "#ifdef DDB/#endif" to unbreak kernels not using "option DDB". MFC after: 3 weeks
* The kernel-depend target doesn't get any information from "compile-with",obrien2005-09-111-0/+19
| | | | so repeat the includes paths for that target.
* Claim frames corresponding to tl(0|1)_intr and tl0_trap as well. Imarcel2005-09-111-1/+4
| | | | | | | think that's the lot, but it's hard to understand the exception code by mere glancing at it. MFC after: 1 week
* Unwind across intrframes as well. While here, better handle bottom ofmarcel2005-09-111-2/+8
| | | | | | | stack by claiming the frame when the IP is 0. It's a bit of a kluge, but avoids screens full of bogus frames. MFC after: 1 week
* Unwind across intrframes as well.marcel2005-09-111-3/+8
| | | | MFC after: 1 week
* Change hw.pci.do_powerstate from a boolean to a range. 0 means theimp2005-09-111-15/+34
| | | | | | | | | | | | | | | | | | | | | same as today: do no power management. 1 means be conservative about what you power down (any device class that has caused problems gets added here). 2 means be agressive about what gets powered down (any device class that's fundamental to the system is here). 3 means power them all down, reguardless. The default is 1. The effect in the default system is to add mass storage devices to the list that we don't power down. From all the pciconf -l lists that I've seen for the aac and amr issue, the bad device has been a mass storage device class. This is an attempt at a compromise between the very small number of systems that have extreme issues with powerdown, and the very large number of systems that gain real benefits from powerdown (I get about 20% more battery life when I attach a minimal set of drivers on my Sony). Hopefully it will strike the proper balance. MFC After: 3 days (before next beta)
* Don't pollute the entire kernel build with -I$S/contrib/dev/ath andobrien2005-09-112-6/+13
| | | | | -I$S/contrib/dev/ath/freebsd. "ATH_BUILDING_FROM_SOURCE" can be defined to globally get back -I$S/contrib/dev/ath.
* Allow one to access the cached values for CMDREG, CACHELNSZ, MINGNT,imp2005-09-112-6/+33
| | | | | | MAXLAT and LATTIMER. Improve error message when a bogus RID type is requested for a bar.
* Don't pollute the entire kernel build with -I$S/contrib/ipfilter.obrien2005-09-112-16/+26
|
* Don't pollute the entire kernel build with -I$S/contrib/pf.obrien2005-09-112-19/+32
|
* Don't pollute the entire kernel build with -I$S/contrib/ngatm.obrien2005-09-112-30/+54
|
* Don't pollute the entire kernel build with -I$S/dev/twa.obrien2005-09-117-20/+22
|
* Unwind across trap frames. Handles all entry points, except the EPCmarcel2005-09-111-47/+201
| | | | | | syscall. This is an entry from userland anyway. MFC after: 1 week
* For HEAD, install a kernel with debug information if DEBUG is a kernelobrien2005-09-111-17/+4
| | | | | config option. It is too easy to loose the build directory and not have symbols for kgdb to read.
* Unwind across trapframes. All kernel entries are handled.marcel2005-09-101-11/+94
| | | | MFC after: 1 week
* Style issue: Don't include <wchar.h> where it is not actually needed.kientzle2005-09-106-10/+49
| | | | | | | | | (wchar_t is defined in stddef.h, and only two files need more than that.) Portability: Since the wchar requirements are really quite modest, it's easy to define basic replacements for wcslen, wcscmp, wcscpy, etc, for use on systems that lack <wchar.h>. In particular, this allows libarchive to be used on older OpenBSD systems.
* Comment out ofw_console 'screen' entry and zs tty entries.grehan2005-09-101-3/+3
| | | | | | | | | | The OpenFirmware console isn't used on real systems anymore and I never get to multi-user mode in psim. There are problems with zs that need to be resolved before these lines can be enabled. This eliminates disconcerting warnings on boot. MFC after: 2 days
* Unwind across trap frames. This adds most of the meat. The sniffermarcel2005-09-101-1/+93
| | | | | | | just needs to be taught about all the other entry points and the unwinder needs to be taught about the frame variation between them. MFC after: 1 week
* In ext2_mountfs(), check that the superblock size, SBSIZE,rodrigc2005-09-101-0/+12
| | | | | | | | | is aligned with the sectorsize value returned by GEOM, before doing a bread() of the superblock. This eliminates a panic when trying the following on an empty CD-ROM drive: mount_ext2fs /dev/acd0 /mnt Reviewed by: phk
* Add fifo_create, a simple regression test for mkfifo(2).rwatson2005-09-102-0/+244
|
* Fix boot-time hang/panic on G3 systems when modifying IBAT0 ingrehan2005-09-103-3/+6
| | | | | | | | pmap_bootstrap by using the sync;isync big hammer to make sure all prior operations have completed. Reported by: Nathan Whitehorn <nathan at uchicago edu> MFC after: 2 days
* Unwind across trap frames. This adds most of the meat. The sniffermarcel2005-09-101-10/+95
| | | | | | | just needs to be taught about all the other entry points and the unwinder needs to be taught about the frame variation between them. MFC after: 1 week
* Add mkfifo(2) to the man page SEE ALSO list for umask(2) -- it'srwatson2005-09-101-0/+1
| | | | | | mentioned in the description. MFC after: 2 days
* Unwind across trap frames. This adds most of the meat. The sniffermarcel2005-09-101-6/+86
| | | | | | | just needs to be taught about all the other entry points and the unwinder needs to be taught about the frame variation between them. MFC after: 1 week
* Add a kluge to allow kgdb(1) to inject its own frame sniffer in themarcel2005-09-1011-13/+188
| | | | | | | | | | | | | | | | | list of frame sniffers so that trapframes can be detected. The kluge is needed because this version of gdb only supports appending a sniffer to the list of sniffers and the moment kgdb gets a chance to add its own frame sniffer, the target's default frame sniffer is already in the list. Since the default frame sniffer claims any frame thrown at it, kgdb's frame sniffer never gets to smell (a process much akin to tasting, but with lesser chance of hurling :-) This commit adds dummy frame sniffers that never claim a frame and as such don't fix anything yet. However, we now have frame sniffers and they are being called, so it's just a matter of adding meat to the bones and we'll be able to properly unwind across trapframes. MFC after: 1 week
* - channel.hnetchild2005-09-104-231/+350
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * New definition CHN_F_HAS_VCHAN. - channel.c * Use CHN_F_HAS_VCHAN to mark channel with vchan capability instead of relying on SLIST_EMPTY(&channel->children) == true for better clarification and future possible usages of children (like 'slave' channel). * Various fixes, including blocksize / format bps allignment, better 24bit seeking (mplayer, others). * Improve format chain building, it's now possible to record something to a format non-native to the soundcard through various feeder format converters or to higher sampling rate. This also gains another feature, like doing vchan mixing on non s16le soundcard such as sb8. - sound.c * Increase robustness within various function that handle vchan creation / termination (these function need a total rewrite, but that would cause other major rewrite within various places too!). As far as its robustness can be guaranteed, leave it as is. * Optimize channel ordering, prefer *real* hardware playback channels over virtual channels. cat /dev/sndstat should look better. * Increase sndstat verbosity to include bufsoft/bufhard allocation. - vchan.c * Fix LOR 119. - http://sources.zabbadoz.net/freebsd/lor.html#119 * Reorder / increase robustness of vchan_create() / destroy(). Enforce destroy_dev() during destroy operation, fix possible panic / dangling character device. - http://lists.freebsd.org/pipermail/freebsd-current/2005-May/050308.html * Tolerate a little bit more during mixing process, this should help non s16le soundcards. Note: Recoring in a non-native rate/format may result in overruns. A friendly application is wavrec from audio/wavplay. The problem is under investigation. Submitted by: Ariff Abdullah <skywizard@MyBSD.org.my>
* Fix some errors in archive_read_data that caused failures in bsdtar'skientzle2005-09-101-12/+11
| | | | | | | pass-through filtering. Thanks to: Bjoern Koenigönig PR: bin/82878
* Release lock for a while during chn_reset() / pcm_chnalloc() operationnetchild2005-09-101-2/+6
| | | | | | | | | | | while malloc()ing, this fixes LOR 129. See - http://lists.freebsd.org/pipermail/freebsd-current/2005-June/051157.html - http://lists.freebsd.org/pipermail/freebsd-current/2005-August/054620.html - http://sources.zabbadoz.net/freebsd/lor.html#129 Submitted by: Ariff Abdullah <skywizard@MyBSD.org.my>
* - fake.cnetchild2005-09-104-37/+233
| | | | | | | | | | | | | | | * Add missing A_LAW / MU_LAW format. - feeder.c * Fix format chain building. Traverse backward instead of forward during format chainning. - feeder_fmt.c * Add missing alaw/mulaw converter. * Add 16 -> 24/32bit converter. * whitespace cleanup. - sound.h * alaw / mulaw are member of AFMT_8BIT. Submitted by: Ariff Abdullah <skywizard@MyBSD.org.my>
* - Few buggy codecs (STAC9704, probably others) return inconsistentnetchild2005-09-102-24/+84
| | | | | | | | | ac97_rdcd() value. Enable aggresive workaround. - Fix mixer resolution detection for 5/6 bit register, carefully not to overflow others. PR: 84728 Submitted by: Ariff Abdullah <skywizard@MyBSD.org.my>
* Fix panic caused by full duplex operation.netchild2005-09-101-2/+3
| | | | | | | | | | | | | From the PR: ---snip--- The vibra16X supports full duplex. I traced the Windows driver, and what is does is that it programs one DMA channel 8-bit, and the other 16-bit. There might be some kind of auto detection logic here, because it always uses 8-bit for playback, even if I play 16-bit sound ... ---snip--- PR: 80977 Submitted by: Hans Petter Selasky <hselasky@c2i.net>
* Protect interface and address lists using the appropriate mutex. Thesecsjp2005-09-101-16/+16
| | | | | | | | | | | | | | | | | | locks were not aquired because the user buffers were not wired, thus it was possible that that SYSCTL_OUT could sleep, causing a number of different problems such as lock ordering issues and dead locks. -Wire user supplied buffer to ensure SYSCTL_OUT will not sleep. -Pickup ifnet locks to protect the list. -Where applicable pickup address locks. -Pickup radix node head locks. -Remove splnet stubs -Remove various comments about locking here, because they are no longer needed. It is the hope that these changes will make sysctl_rtsock MP safe. MFC after: 3 weeks
* Add an MLINK for devname_r().stefanf2005-09-101-0/+1
|
* The header and the man page say that sethostid() returns void, so make thestefanf2005-09-101-4/+4
| | | | definition match. Include <unistd.h>.
* Fix parameter types of close and get members in DB.stefanf2005-09-101-2/+2
|
* Elaborate on the behaviour of set -e.stefanf2005-09-101-2/+7
|
OpenPOWER on IntegriCloud