summaryrefslogtreecommitdiff
path: root/sys/dev/pci
AgeCommit message (Collapse)Author
2009-01-06add nvidia 9300 ge graphic cardsGilles Chehade
ok matthieu@
2009-01-05regenMatthieu Herrb
2009-01-05Add nVidia GeForce 9600 GT, from Greg Jones.Matthieu Herrb
2009-01-05allow sense capable pins to mute the speaker by disabling the outputJacob Meuser
channel of the speaker.
2009-01-05expand the _dir controls for output pins to also be able to selectJacob Meuser
VRef level and be sure to turn VRef off when not set for input.
2009-01-05- a little simplificationJacob Meuser
- don't set vref bits on mic pins unless the pin says it supports it - fall back on 50% vref if 80% vref isn't supported
2009-01-05explicitly check if azalia_codec_find_defdac didn't find a dac instead ofJacob Meuser
possibly matching a nonexistent hp or spkr dac.
2009-01-05remove now unused macrosJacob Meuser
2009-01-05no longer needed codec specific codeJacob Meuser
tested by danh@, thanks!
2009-01-05if the high bit is set in a connection list entry, it means the entryJacob Meuser
is the end of a continuous list that started with the last entry. while here, rewrite a bit so both long form and short form entries are handled by the same code, and don't allocate more space than is needed.
2009-01-05use AUDIO_MIXER_SET instead of AUDIO_MIXER_ENUM to display mixersJacob Meuser
that don't have selectable inputs. all connections are active, always. showing all connections in the set rather than just one makes a lot more sense.
2009-01-04try to get better default outputs.master.slaves by not includingJacob Meuser
beep generators or mixers and selectors that are more than 2 connections away from a DAC.
2009-01-04some mixers don't use input amp muting to "select" their sources.Jacob Meuser
instead they use the connection list setting like selectors do. this is somewhat common in Analog Devices codecs. it's extremely rare in all other codecs.
2009-01-04Back from coma. Fix dmesg printfs.Alexander Yurchenko
ok oga@
2009-01-04Add support for CS5535 IDE adapted from the gcscide code in NetBSDJonathan Gray
originally written by Juan Romero Pardines. Thanks to Lars Kotthoff for testing on a HeroLogic HL-463 system. Because the CS5535 doesn't provide SMM emulated PCI access to set DMA/PIO modes or a real PCI IDE controller we have to resort to making MSR calls. As this is very MD specific, hide most of uglyness away in i386 MD pciide code. ok grange@
2009-01-04Shift prototypes for some common pciide functions out intoJonathan Gray
a header file where MD code can get at them. ok grange@
2009-01-03- configure volume knob widgets for indirect mode, which means they noJacob Meuser
longer direcly affect other widgets - if an unsolicited response is received from a volume knob widget, adjust outputs.master according to the measured change in level of the volume knob widget
2009-01-03Attach agp(4) to the Intel 946GZ integrated video.Kevin Lo
Tested on Asus P5B-MX motherboard. ok kettenis@, oga@
2009-01-03remove check for rfkill switch state using GP_CNTRL as it does notDamien Bergamini
seem to work properly. it is checked later in wpi_post_alive() anyway. pointed out by many, further investigated by Tim van der Molen.
2009-01-02- get rid of the function that was mostly just a wrapper for the oldJacob Meuser
function for creating "master" volume control. - apply gpio quirks separately from and prior to configuring the mixer. gpio manipulation can cause noise on output channels. configuring gpio before amps are unmuted in the mixer configuration is a good thing. from Alexey Suslikov, thanks
2009-01-02add macros for setting/getting GPIO polarity instead of usingJacob Meuser
magic numbers from Alexey Suslikov
2009-01-02* add GPIO quirk for Dell Vostro 1400 (from FreeBSD)Jacob Meuser
* move quirk for Dell E6400 into the group of quirks that set GPIO 0 from Alexey Suslikov, thanks
2009-01-02this is what I really wanted with r1.100 of azalia.c - fixed micsJacob Meuser
are not really useful as output devices and fixed speakers are not really useful as input devices
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.
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-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-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 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-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-29regenMark Kettenis
2008-12-29Fix & unify 3D Labs GLINT & Permedia entries. Prefer chip names over boardMark Kettenis
product names.
2008-12-28get output from the first DAC to the line-out on the MacMini1,1Jacob Meuser
2008-12-28Ignore hotploug events while still in autoconf. Fixes problems with someMark Kettenis
machines that get a spurious hotplug reove event when resetting their onboard re(4).
2008-12-28Remove confusion between "raw" and "swizzled" interrupt pins. Remove someMark Kettenis
#ifdef __i386__ code that can go now things have been cleaned up.
2008-12-26don't try to create mutesets for selectors, they are only forJacob Meuser
mixers. problem noticed by Tas. thanks!
2008-12-26add a function for initializing mixer_devinfo_t off/on enumsJacob Meuser
and use it in 6 places.
2008-12-26nuke unused macros. from Alexey Suslikov.Jacob Meuser
2008-12-26- recognize a few more realtek codecsJacob Meuser
- beep and CD support for a few more realtek codecs (ALC268 verified by Alexey Suslikov, the others are quite similar based on datasheets) - "ALC662-GR" is a part number. "ALC662" is a codec identifier.
2008-12-25currently azalia only supports one codec. instead of using simply theJacob Meuser
first codec with an audio function group, use the first codec with an audio function group that can do analog I/O, if there is one. codecs that just do digital I/O aren't quite as useful, yet.