orion
7aa303c874
When present use ogain instead of master for surround sound channels.
...
The latter has lead to reports of broken audio.
Do not swap ogain and master when headphones detected.
2003-08-23 21:39:51 +00:00
alc
5b4e761019
Held pages, just like wired pages, should not be added to the cache queues.
...
Submitted by: tegge
2003-08-23 20:29:29 +00:00
mdodd
b4e8782978
PCI header files live in dev/pci.
2003-08-23 19:32:18 +00:00
alc
5d6f66de90
Hold the page queues lock when performing vm_page_clear_dirty() and
...
vm_page_set_invalid().
2003-08-23 18:11:53 +00:00
mdodd
cea9a5fcc5
Report media status for bitrate PHYs.
2003-08-23 18:09:25 +00:00
mdodd
7694211a9f
AGP GART driver for NVIDIA nForce/nForce2 chipsets.
2003-08-23 18:00:31 +00:00
imp
5a15fb0701
Even though this driver says it is broken, fix the location of the pci
...
include files.
2003-08-23 16:59:16 +00:00
imp
5db8aeaec3
dev/pci/meteor_reg.h doesn't exist. Revert this part of last commit.
2003-08-23 16:52:33 +00:00
tjr
8958714bb8
Fix a logic error in osethostid() that was introduced in rev. 1.34:
...
allow hostid to be set when suser() returns 0, not when it returns
an error. This would have allowed non-root users to set the host ID.
2003-08-23 15:45:57 +00:00
iedowse
f55f06a8e7
When calculating the block size to use for a particular sample rate,
...
round the result up to a multiple of 4 bytes so that it will always
be a multiple of the sample size. Also use the actual buffer size
from sc->bufsz instead of the default DS1_BUFFSIZE.
This fixes panics and bad distortion I have seen on Yamaha DS-1
hardware, mainly when playing certain Real Audio media.
Reviewed by: orion (an earlier version of the patch)
2003-08-23 13:00:48 +00:00
iedowse
e9326e0b09
Fix an off-by-one error in feed_monotostereo16() that caused the
...
first sample in the buffer to be ignored. The bug caused a repetitive
glitch in one of the stereo channels when playing mono sound on
configurations that use the monotostereo16 feeder.
Reviewed by: orion
2003-08-23 12:18:30 +00:00
marcel
a48e8d72dc
In aic_reconnect()i, initialize scb. On ia64 the compiler warns about
...
a possible uninitialized variable.
2003-08-23 09:00:56 +00:00
marcel
c2a6d01cc9
o Explicitly cast the second argument to bus_space_set_region_#()
...
to intptr_t. This fixes a compiler warning (integer from pointer
without cast) in scvgarndr.c when SC_PIXEL_MODE is defined.
o Define readb() and writeb(). Both are used in scvgarndr.c when,
guess what, SC_PIXEL_MODE is defined.
Both changes are ia64 specific.
Found by: LINT
2003-08-23 08:52:52 +00:00
marcel
0663329f6f
On ia64 time_t is 64 bit. Explicitly cast tv_sec to long and change
...
the corresponding format specifier to %ld in a call to printf() in
function softclock(). The printf() is conditional upon DIAGNOSTIC.
Found by: LINT
2003-08-23 08:31:32 +00:00
alc
06fbefe190
To implement the sequential access optimization, vm_fault() may need to
...
reacquire the "first" object's lock while a backing object's lock is held.
Since this is a lock-order reversal, vm_fault() uses trylock to acquire
the first object's lock, skipping the sequential access optimization in
the unlikely event that the trylock fails.
2003-08-23 06:52:32 +00:00
marcel
edbda376e1
Also define VM_PAGE_BITS_ALL for 16K and 32K pages. Make the constant
...
unsigned for all page sizes and unsigned long for 32K pages.
2003-08-23 06:30:47 +00:00
imp
a2ab73ca67
s=gem/foo=dev/gem/foo=
2003-08-23 06:30:21 +00:00
marcel
0dfb8cd786
Add support for 16K and 32K page sizes. The valid and dirty maps
...
in struct vm_page are defined as u_int for 16K pages and u_long
for 32K pages, with the implied assumption that long will at least
be 64 bits wide on platforms where we support 32K pages.
2003-08-23 06:24:00 +00:00
nyan
ce8950904e
MFi386: revisions 1.202 and 1.203.
2003-08-23 06:06:55 +00:00
marcel
aebc177e7f
s#<mk48txx/mk48txxreg.h>#<dev/mk48txx/mk48txxreg.h>#
2003-08-23 05:56:58 +00:00
marcel
9ac1b1963f
s#<foo/bar.h>#<dev/foo/bar.h>#g
2003-08-23 05:51:03 +00:00
marcel
1e48408730
Add compilation support for extfs on ia64, primarily to support LINT.
...
The functions in ia64-bitops.h merely call panic() for now. They need
to be implemented some day, just not today.
2003-08-23 03:58:11 +00:00
marcel
0a0d516cca
Remove PAGE_SIZE_4K, PAGE_SIZE_8K and PAGE_SIZE_16K and replace them
...
with LOG2_PAGE_SIZE. A single option is better to LINT than multiple
mutual exclusive ones.
2003-08-23 03:39:55 +00:00
marcel
e353031056
Picking PAGE_SHIFT as a global option is a bad idea. Instead call the
...
option LOG2_PAGE_SIZE.
2003-08-23 03:38:36 +00:00
marcel
390694cdc8
Remove PAGE_SIZE_4K, PAGE_SIZE_8K and PAGE_SIZE_16K and replace
...
them with PAGE_SHIFT. A single option is better to LINT than
multiple mutual exclusive ones.
2003-08-23 03:22:41 +00:00
marcel
9abec0fde8
Add rules for font.h and ukbdmap.h. Needed for LINT.
2003-08-23 02:33:36 +00:00
marcel
ea112163f8
Revert previous change for ncrreg.h. The header really lives in
...
sys/pci.
2003-08-23 02:25:04 +00:00
peter
e521e29fca
Turn on the MTRR driver.
2003-08-23 00:59:26 +00:00
peter
d023b0fa93
Complete the switch to the common 32 bit support code.
2003-08-23 00:58:33 +00:00
peter
f8a98096f4
AMD64 mtrr driver.
2003-08-23 00:27:58 +00:00
marcel
8a3c15df3b
DEV_ACPI is an unused option.
2003-08-23 00:14:32 +00:00
imp
dabeba3f55
s=include <ofw/=include <dev/ofw/= to reflect removal of -I$S/dev
2003-08-23 00:11:16 +00:00
marcel
3d03264769
Remove unused inclusion of opt_acpi.h
2003-08-23 00:07:52 +00:00
peter
e95056563d
Switch to using the emulator in the common compat area.
...
Still work-in-progress.
2003-08-23 00:04:53 +00:00
marcel
e1826522f9
Both CLK_USE_I8254_CALIBRATION and TIMER_FREQ have ceased to be options
...
on ia64 after the cleanup of the clock code.
2003-08-23 00:02:18 +00:00
peter
aecc3981a1
Initial sweep at dividing up the generic 32bit-on-64bit kernel support
...
from the ia32 specific stuff. Some of this still needs to move to the MI
freebsd32 area, and some needs to move to the MD area. This is still
work-in-progress.
2003-08-22 23:19:02 +00:00
peter
e2c08ea16b
Initial sweep to de-i386-ify this
2003-08-22 23:07:28 +00:00
peter
2c79c9e29b
Regen
2003-08-22 22:52:04 +00:00
peter
763024f66d
Begin attempting to consolidate the two different i386 emulations
...
on ia64 and amd64. I'm attempting to keep the generic 32bit-on-64bit
binary support seperate from the i386 support and the MD backend support.
2003-08-22 22:51:48 +00:00
alc
62095d6563
Use the requested page's object field instead of the vnode's. In some
...
cases, the vnode's object field is not initialized leading to a NULL
pointer dereference when the object is locked.
Tested by: rwatson
2003-08-22 17:50:32 +00:00
rwatson
f62e7b4be7
Make the elements argument to mac_prepare() be const.
...
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
2003-08-22 17:49:59 +00:00
rwatson
74cad7031c
Add prototype for new libc function mac_prepare_type().
...
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
2003-08-22 17:39:39 +00:00
njl
f7301e0c62
Add the DA_Q_NO_PREVENT quirk which keeps da(4) from sending PREVENT/ALLOW
...
commands. Add a quirk for the Creative Nomad MuVo USB device that uses
it as well as NO_SYNCHRONIZE_CACHE.
PR: kern/53094
Submitted by: Richard Nyberg <rnyberg@it.su.se>
MFC after: 3 days
2003-08-22 16:35:53 +00:00
imp
171bbbf23b
Now that the pci include file location migration has been completed,
...
remove the -I$S/dev and -I@/dev which were there only for pci.
# If I've broken something, please let me know.
2003-08-22 15:41:44 +00:00
imp
43f22bacb5
fix reference to pci/pcireg.h
2003-08-22 15:35:37 +00:00
imp
d804accbc1
Prefer new location of pci include files (which have only been in the
...
tree for two or more years now), except in a few places where there's
code to be compatible with older versions of FreeBSD.
2003-08-22 15:28:22 +00:00
imp
938b032745
Prefer new location of pci include files (which have only been in the
...
tree for two or more years now), except in a few places where there's
code to be compatible with older versions of FreeBSD.
2003-08-22 15:06:24 +00:00
rwatson
3cf3b40a91
Correct typo introduced during manual merge: hook up the reflect_tcp
...
test to the reflect_tcp entry point, rather than the reflect_icmp
entry point.
Submitted by: naddy
2003-08-22 12:32:07 +00:00
ps
3f7f2a4cfc
Change the the size fields to daddr_t to support greater than 2TB ccd volumes.
...
Reviewed by: phk
2003-08-22 11:21:06 +00:00
phk
57ee24a70a
Make CCD unloadable.
2003-08-22 11:04:47 +00:00