summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
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-23i got emptypages and fullpages mixed up in pool_walk. this now shows itemsDavid Gwynne
in fullpages that have been allocated. spotted by claudio@
2008-12-23allow us to completely exhaust the rx ring now that we handle the RXO (rxDavid Gwynne
overflow) interrupt. Yes deraadt@
2008-12-23oops, forgot this when committing to subr_pool.cDavid Gwynne
add pool_walk as debug code. this can be used to walk over all the items allocated with a pool and have them examined by a function the caller provides. with help from and ok tedu@
2008-12-23add pool_walk as debug code.David Gwynne
this can be used to walk over all the items allocated with a pool and have them examined by a function the caller provides. with help from and ok tedu@
2008-12-23record the offset into each pool page that item allocations actually beginDavid Gwynne
on, aka, its coloring. ok tedu@
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-23The splvm() protection is way outdated, only splnet is needed to protectTheo de Raadt
this pool (and the mbstat variables, and a few other things in certain cases) ok mikeb, tedu, and discussion with others...
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-22We never actually rely on storing %fp in tf_global[0] for clockframes. SoMark Kettenis
save ourselves an instruction and remove the pretty misleading comments.
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-22Doh. Correct address in bcopy -- m->m_data not &m->m_data -- this should fixClaudio Jeker
the issues seen by damien@. OK dlg@, damien@
2008-12-22I swapped MGETHDR arguments in my m_defrag removal commit.Damien Bergamini
2008-12-22If we ever get an interrupt from userland with %otherwin set, we have a seriousMark Kettenis
bug. Don't try to fix things up; it's doomed to fail anyhow.
2008-12-22Get rid of many arbitrary differences between the i386 and amd64 mpbios code.Mark Kettenis
Mostly KNF issues, some reorganisation of the code. ok dlg@, deraadt@, krw@
2008-12-22use the exact same policy for choosing apic on all 3 types of kernel.Theo de Raadt
ok kettenis
2008-12-22Fix some logic in the isight specific stream header decode functionMarcus Glocker
(still doesn't work).
2008-12-22Change DLT_MPLS number.Michele Marchetto
Use one assigned by tcpdump guys to keep things in sync with them. ok canacar@
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-21split the pfsync input routine up so that each action has its own functionDavid Gwynne
to handle it. this is to modularise it in preparation for further changes. in my opinion it also makes the code a lot easier to read and to maintain. tested by sthen@ johan@
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-21Proper cpu_unidle() function for MP kernels. ok art@ long agoMiod Vallat
2008-12-21During early device probes, make sure to iounaccess() address ranges whenMiod Vallat
they are no longer necessary. No good reason to do so but correctness, and then leaving correct mappings after probe might hide bugs.
2008-12-21add option COMPAT_35, needed by COMPAT_VAX1KMiod Vallat
2008-12-21vfs_syscalls_35 is required if option COMPAT_35Miod Vallat
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.
2008-12-21label converter widgets for their place in the converter group.Jacob Meuser
e.g. the first DAC in the converter group is now dac, the second is dac2, etc. unused converters (not in a converter group) will have a "u-" prefix. these will disappear completely in the near future, as they are useless. if there is more than one converter group, converters in the second group will have a "dig-" prefix, since they are digital converters.
2008-12-21a little rearranging:Jacob Meuser
- move the azalia_widget_init_connection call from azalia_widget_label_widgets to just after azalia_widget_init - move azalia_widget_label_widgets to after dacgroup initialization - move the widget info printing from azalia_widget_init_connection and azalia_widget_init to new function azalia_widget_dump_info - call azalia_widget_dump_info right after azalia_widget_init_connection - in functions that are ony used if AZALIA_DEBUG is defined, use printf instead of DPRINTF()
2008-12-21add mixer_class member to struct widget_t, and define the mixerJacob Meuser
classes in azalia.h instead of azalia_codec.c. this will allow the mixer class to be determined outside of azalia_generic_mixer_init.