summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
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-26Back out rev 1.14 as it makes machines like the T30 crash on boot.Jonathan Gray
2008-12-25Return proper display types to the WSDISPLAYIO_GTYPE ioctl, instead ofMiod Vallat
deprecated WSDISPLAY_TYPE_SUN24; X11 knows about them since several releases already.
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.
2008-12-25add "virtual" mutes if the "virtual" volume amps have mute capabilityJacob Meuser
2008-12-25before naming a widget after a pin because the widget is the only thingJacob Meuser
the pin is connected to, make sure the pin is the only device that is connected to the widget.
2008-12-25- one "default" direction is enoughJacob Meuser
- be careful not to set a direction that the pin doesn't support - remove a workaround in the generic code which is more or less for a specific device, there are better ways to deal with such situations now
2008-12-24This creates the notion of a non-disk softraid device. The aoe targetMarco Peereboom
is such a beast because it doesn't physically add a device to the OS but exports a RAID partition. It creates a kernel thread for each exported aoe target. Since it reuses all the goodies in softraid upon reboot the metadata is discovered and therefore the partition is exported at boot time. ok tedu dlg
2008-12-24typo spotted by Alexey SuslikovJacob Meuser
2008-12-24Fix support for earlier i8XX chipsets (specifically the 830 and 840).Owain Ainsworth
Earlier changes meant that we were reading the wrong register, on the graphics card instead of the gmch (bus 0, device 0, function 0. it's the memory controller on all boards with intel chipsets). Later chipsets have a ``mirror'' register on the graphics card device, explaining why this didn't manifest on all chipsets. For simplicity, always find and read the register from the GMCH. While i'm here, fixup unaligned configuration space access (0x50 vs 0x52) Tested by several.
2008-12-23intagp support for Intel 4-series (e.g. GM45) chipsets.Owain Ainsworth
Tested by several x200 owners.
2008-12-23only a small number of thinkpads need the brightness adjustmentsjoshua stein
done in this driver, so for everything other than the x61s and t61, tell the bios to adjust brightness itself. fixes the double adjustment problem on newer models. tested on quite a few different models.
2008-12-23azalia_generic_mixer_pin_sense has nothing to do with pin sense anymore.Jacob Meuser
it is about codec gpio quirks. so rename it as azalia_codec_gpio_quirks, and move it to where the rest of the codec specific code is.
2008-12-23add gpio quirk for Dell e6400Jacob Meuser
2008-12-23enable beep and CD mixer controls on alc88x codecs if appropriateJacob Meuser
2008-12-23add small quirks for certain codecsJacob Meuser
2008-12-23remove static mixer configurations wholesale, to make next commitJacob Meuser
more clear.
2008-12-23- recognize some more codecsJacob Meuser
- remove the codec datasheet URLs. URLs change and these particular datasheets are all easy to find.
2008-12-23gather up most of the code for printing debug info in dmesgs andJacob Meuser
move it to one place, instead of scattered thoughout with #define and DPRINTF. my eyes are happier now.
2008-12-23line-in is now "line-in", line-out is still "line". S/PDIF-out isJacob Meuser
now "SPDIF", S/PDIF-in is still "SPDIF-in". line change because we need to differentiate. S/PDIF change because SPDIF-out is too long, and for consistency.
2008-12-23allow us to completely exhaust the rx ring now that we handle the RXO (rxDavid Gwynne
overflow) interrupt. Yes deraadt@
2008-12-23a) a widget's nid is always it's index in the codec's widget list.Jacob Meuser
b) members of the widget connection list may be invalid. so, - change azalia_nid_to_index to azalia_widget_enabled, and have it only check that the given nid is valid, and that the corresponding widget is enabled. - use azalia_widget_enabled every time members of the connection list are used.
2008-12-23backout previous. changing the index of valid nids breaks things.Jacob Meuser
2008-12-23sizeof(bge_devices) / sizeof(bge_devices[0]) -> nitems(bge_devices)David Gwynne
2008-12-23if we cant put enough packets on the rx ring then schedule a timeout toDavid Gwynne
try again later. tested by many
2008-12-23don't add invalid widgets to connection lists.Jacob Meuser
2008-12-22First shoot of the uvideo firmware package.Marcus Glocker
2008-12-22do not leak an AMRR USB xfer at each ifconfig down/up.Damien Bergamini
2008-12-22I swapped MGETHDR arguments in my m_defrag removal commit.Damien Bergamini
2008-12-22Fix some logic in the isight specific stream header decode functionMarcus Glocker
(still doesn't work).
2008-12-22syncStuart Henderson
2008-12-22correct typo in ATI FireMV device id; Joe Malcolm on misc@Stuart Henderson
2008-12-22Sort quirk device list and fix some comments there.Marcus Glocker
2008-12-22Add firmware load for Apple iSight first generation devicesMarcus Glocker
(0x05ac:8300 before firmware load, 0x05ac:0x8501 after firmware load). Also those devices have a own stream header procotol for which we've added a seperate stream header decode function, which does not work yet. A jointventure work with robert@
2008-12-22With respect to the previous diff we cannot just call acpicpu_setperfGordon Willem Klok
directly, we must call the global function pointer cpu_setperf because we might be on an MP system and if we don't, we only attempt to change the frequency on a single core. ok marco@
2008-12-22Make acpicpu_setperf behave the same as the ACPI aware EST andGordon Willem Klok
powernow drivers if the _PPC is evaluated because an external change has occured such as being disconnected from wall power and the available states in _PSS change. Have the acpicpu setperf driver register a listner for _PPC changes, that way we are not calling the setperf method twice on powernow machines when an change occurs. ok marco@
2008-12-22create "_source" mixer items for single connections, but be carefulJacob Meuser
to not be redundant. important for understanding how widgets are connected.
2008-12-22hex for unused widget namesJacob Meuser
2008-12-22set a default name for widgets (u-wid$NID) and don't try to giveJacob Meuser
disabled widgets any other name.
2008-12-22disable unusable convertersJacob Meuser
2008-12-22special case after general case. it's better to be named afterJacob Meuser
a converter than a selector.
2008-12-22new function azalia_pin_config_ov, used to override configurationJacob Meuser
values read from pin complex widgets.
2008-12-22- expand/add macros for pin configuration manipulationJacob Meuser
- use "beep" as pin device 0xe
2008-12-21rework the programming of the multicast addresses onto the chip to use theDavid Gwynne
"new" multicast address and address range counters in the ifp. shrinks and simplifies that code a lot. ive had this diff since may 2007.
2008-12-21use the RXO (rx overflow) interrupt to try to refill the rx ring. this letsDavid Gwynne
us cope if the rx ring empties completely and the hardware tells us we're still getting packets.
2008-12-21move the codec specific widget initialization out ofJacob Meuser
azalia_widget_label_widgets to right after the generic widget initialization. nothing uses this yet.
2008-12-21if a widget is the sole connection to another widget, name theJacob Meuser
widget for the widget it's connected to. but be a bit careful to not end up with duplicate mixer item names.