summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2009-01-02Make IOMMU code use the generic _bus_dmamem_map() and _bus_dmamem_unmap().Mark Kettenis
2009-01-02remove code that was never used, closer to readable.Dale Rahn
2009-01-02Add LDC shared memory hypervisor interfaces.Mark Kettenis
2009-01-02support display found on GTA01, not used on GTA02 however.Dale Rahn
2009-01-02Remember the id of all devices found, not only those for which a driverMiod Vallat
has attached. Prevents spurious "not configured" messages at every bus rescan. Prodded by and ok fries@
2009-01-02Do not evict the kernel image from the mem_clusters[] array, otherwiseMiod Vallat
it won't get included in kernel crash dumps. ok dlg@
2009-01-02now that some devices will get output from/to two different sources/Jacob Meuser
outputs by default it's nice to have a way to control multiple sources/ outputs with a single control setting. so here's an implementation of "master" controls that uses selectable control lists, because the biggest problem is figuring out what should be "master". outputs.master.slaves is the current set of output mixer controls that settings for outputs.master and outputs.master will be applied to. record.volume.slaves works similarly for recording inputs.
2009-01-02- store information about relevant volume controls along bothJacob Meuser
recording and playback paths. - select a subset of controls that are relevant in a default configuration for each path.
2009-01-02remove azalia_generic_mixer_create_virtual and all it's uses. nicerJacob Meuser
"master" volume controls coming shortly.
2009-01-01Add code to handle virtual interrupt for channel devices.Mark Kettenis
2009-01-01Allow both overlay areas to be mmap()ed by userland in WSDISPLAYIO_MODE_MAPPEDMiod Vallat
mode.
2009-01-01copyright_year++;Miod Vallat
2009-01-01use #define MAXFLDS vs. 4 here; ok mbalmer@Kevin Steves
2008-12-31Add new device interrupt hypervisor calls.Mark Kettenis
2008-12-31the channel_mask field of struct audio_format is unused, so removedJacob Meuser
it and the associated macros. this is part of NetBSD's "converter pipeline", and it isn't really used there either.
2008-12-31Add missing LDC_CHANNEL_RESET.Mark Kettenis
2008-12-31Fix typo.Mark Kettenis
2008-12-31- avoid using an argument twice, once as a pointer. I just don'tJacob Meuser
like the way it looks. - run the speaker mute handler when a muter jack changes I/O direction
2008-12-31reimplement jack sense/speaker auto muting using unsolicited responses.Jacob Meuser
jacks which can mute speaker output are chosen with the new mixer item 'outputs.spkr_muters'. e.g. $ mixerctl -v outputs.spkr_muters outputs.spkr_muters=hp,mic,line-in { hp mic line-in } if a jack is present in any listed "muter" plug, AND that plug is configured for output (e.g. outputs.hp_dir=output) the speaker will be muted. the list of muters is selectable, selecting none turns of muting altogether.
2008-12-31rewrite azalia_codec_connect_streamJacob Meuser
- quit swapping channels 2:3 with 4:5 when processing 6 or more channels. hacks deep in drivers to "fix" wrongly encoded files is just wrong. - try to be sure headphones AND speakers get DAC output by default.
2008-12-31actually find the speakers and headphonesJacob Meuser
2008-12-31builtin speakers and headphone jacks have an interesting relationship.Jacob Meuser
keep track of some information about them, such as the DAC they are connected to by default. this will be used soon.
2008-12-31Add some Logical Domain Channel hypervisor calls.Mark Kettenis
2008-12-31a fixed mic isn't very useful as an output device, and a fixedJacob Meuser
speaker isn't very useful as an input device
2008-12-31- rearrange to be able to return earlier if nothing left toJacob Meuser
- remove a couple pointless comments
2008-12-31- always check that max channels isn't exceededJacob Meuser
- make the code readable and the comment understandable
2008-12-30regenDavid Gwynne
2008-12-30device ids for the intel 82801JD ich10 devices.David Gwynne
for claudio cos he fixed the routing table for me
2008-12-30Add cbus(4), a virtual bus for devices that use logical domain channels asMark Kettenis
found on sun4v systems with multiple domains configured.
2008-12-30Implement the mach_desc hypervisor call.Mark Kettenis
2008-12-30Pass down bus_dma tag.Mark Kettenis
2008-12-30dont enable unwanted interrupts, set t_dev, make certain device is initedDale Rahn
on first open.
2008-12-30Make _bus_dmamem_map(9) work. This function wasn't actually used until now,Mark Kettenis
but soon will be.
2008-12-30IPL_SERIAL should be shot.Dale Rahn
2008-12-30Add missing newline to error message printf.Reyk Floeter
Thanks to Alexey Suslikov
2008-12-30- if widget X will be named for widget Y and widget Y is disabled,Jacob Meuser
widget X should be disabled as well. - change the comment about renaming widgets to better explain why instead of how the renaming is done.
2008-12-30attach all three uarts, closer to working on freerunner.Dale Rahn
2008-12-30allow 3 uarts to attach, use local cache of variable.Dale Rahn
2008-12-30fix locator order.Dale Rahn
2008-12-30attempt to tell difference between gta01 and gta02 via clock rate (ick)Dale Rahn
more debugging code.
2008-12-30some progress on working on hardware, small steps.Dale Rahn
2008-12-30savecore(8) wants dumpmag to be an unsigned long.Miod Vallat
2008-12-30Add domain state related PROM calls.Mark Kettenis
2008-12-30Add domain state services hypervisor calls.Mark Kettenis
2008-12-30Add firmware file for 2400 series boards.Kenneth R Westerback
2008-12-29initialize the sample rate converter on es1371 chips to 48 kHz insteadJacob Meuser
of 22.5 kHz, since this is an ac97(4) device, and the default sample rate for ac97(4) is 48 kHz. tested by jasper@, thanks
2008-12-29Give ifb its own display type (be sure to make includes before rebuildingMiod Vallat
wsconsctl)
2008-12-29Move ifb identification to its own routine. We can not simply have the ifbMiod Vallat
probe win over vgafb, since one may configure a kernel with vgafb but without ifb (especially slackers who forget to rerun config).
2008-12-29Low-hanging fruit: while the blitter is still an untamed beast, implementMiod Vallat
eraserows as one low-style line of solid fills, and then as many copyrect calls as necessary to fill the complete area.
2008-12-29At least try to make this code a bit easier to read. Don't fiddle with xClaudio Jeker
when xx can do the trick or in dlg's words: "xx was a copy of x so they could use x for some temp working and restore it from xx later? yeesh" ok dlg@