summaryrefslogtreecommitdiff
path: root/sys/dev/pci
AgeCommit message (Collapse)Author
2009-01-22regenJonathan Gray
2009-01-22Moxa CP-104JU another puc fromJonathan Gray
Joerg Niendorf in pr 6053.
2009-01-21Replace timeout_add(msecs * hz / 1000) with timeout_add_msec(msecs).Alexander Yurchenko
No functional changes. ok krw@ miod@
2009-01-20Change the ``buf'' parameter of sdla_{peek,poke}_by_4()Alexander Yurchenko
from void * to u_int_8 * to avoid redundant and illegal lvalue casts. No functional changes. ok krw@
2009-01-20Don't use (type *)var as an lvalue, it's incorrect. No functional changes.Alexander Yurchenko
ok jakemsr@ krw@
2009-01-17use 24-bit precision (encoded in 32-bit words) rather thanAlexandre Ratchov
fake 32-bit precision. Allowed by recent audio(4) changes.
2009-01-16support 20 and 24-bit sample formats. remove the unneeded "validbits"Jacob Meuser
handling. ok ratchov; tested by naddy, thanks
2009-01-16Add Attansic L1 gigabit Ethernet driver.Kevin Lo
Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD by Sepherosa Ziehau and then ported to OpenBSD by me. ok dlg@
2009-01-15regenDamien Bergamini
2009-01-15PCI IDs for Intel WiFi Link 100 and 6000/6050 Series.Damien Bergamini
2009-01-11Actual final round of timeout_add(to, n * hz) -> timeout_add_sec(to, n)Bret Lambert
conversions. ok kettenis@ ok krw@ (possibly for the second time :)
2009-01-11allow one more level of connections (3 instead of 2) away from DACsJacob Meuser
for mixers and selectors when choosing the defaults for outputs.master.slaves.
2009-01-1132-bit mode for s/pdif transmitters/receivers does not reallyJacob Meuser
allow transmission/reception of 32-bit audio, so don't allow it. pointed out by naddy@, thanks.
2009-01-10Add GEM ioctl definitions to drm.h (the intel specific ones were added aOwain Ainsworth
while back). I need this for libdrm updates. While i'm here, remove a bunch of #ifdef NotUs stuff, and remove some stupid doxygen comments.
2009-01-10- remove unused variableKevin Lo
- eliminate hardcoded return value of jme_init_rx_ring() ok jsg@
2009-01-09Implement command timeouts. With some helpful tips from miod@, thanks.Alexander Yurchenko
2009-01-07Add Dell Latitude E6500 to mute quirk. This makes my shiny E6500 play someMarco Peereboom
nice mp3s. From brad, ok jakemsr
2009-01-06regenGilles Chehade
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.