summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2008-12-02Add code for 5150 support (not tested since I don't have the hardware andDamien Bergamini
because it requires a specific firmware that Intel has not released yet.) Fix crystal calibration for 5000 Series.
2008-12-02syncDamien Bergamini
2008-12-02Intel WiFi Link 5150Damien Bergamini
2008-12-01regenMartin Reindl
2008-12-01add the Huawei E510 modemMartin Reindl
ok fkr@
2008-12-01leak memory in the realloc function until we find out who has a pointerTheo de Raadt
to it, otherwise as seen by sthen/matthieu in master mode: cdcef0 at usbf0: usbf_open_pipe failed ok miod
2008-12-01regenJonathan Gray
2008-12-01Add product ids for the cardreader functions of the JMC261.Jonathan Gray
From Ethan at JMicron.
2008-12-01Configure the clock sources for tx mac/offload engines, requiredJonathan Gray
for newer revisions, makes the JMC261 work. Thanks to JMicron for supplying hardware to test against. ok brad@
2008-12-01syncKevin Lo
2008-12-01fix the naming of the D-Link AR9170 entryKevin Lo
ok damien@
2008-11-30oops. don't continue on to the next widget here. there may be otherJacob Meuser
controls on the widget that need to be configured.
2008-11-30only put a control in the record class if it is the sole input toJacob Meuser
an ADC.
2008-11-30if an input mixer or selector has no usable inputs, disable it, asJacob Meuser
it is useless.
2008-11-30syncTheo de Raadt
2008-11-30ricoh camerasTheo de Raadt
2008-11-30Setup three isoc transfers at a time so we don't miss frames. This fixesMarcus Glocker
transfers which require larger bandwidths, e.g. for higher resolutions. discussed with yuo@, deraadt@
2008-11-30syncTheo de Raadt
2008-11-30another radeonTheo de Raadt
2008-11-30- AZ_MAX_SENSE_PINS -> HDA_MAX_SENSE_PINSJacob Meuser
- MI_TARGET_* are enumerated in hex from Alexey Suslikov
2008-11-30Add initial 8168D/8111D support.Brad Smith
2008-11-30don't rebuild the list of supported formats if it isn't goingJacob Meuser
to change.
2008-11-30- don't access nonexistent converter goupsJacob Meuser
- don't try to create formats for converter groups that don't exist - don't allow playback or recording if there is no corresponding converter group - don't try to set audio processing parameters on converter groups that don't exist allows playback (or record) only devices to work, such as the azalias found on ATI graphics devices. note, the ATI devices generally attach before the onboard devices do. that means they will be audio0 and onboard devices will be audio1. don't forget to make sure the /dev/{audio[ctl],mixer,sound} links point to the nodes of the device you want to be the default. tested by naddy@, thanks
2008-11-29syncTheo de Raadt
2008-11-29liebert ubs as ugenTheo de Raadt
2008-11-29use the the correct register mask. Fixes certain mixer settingsAlexandre Ratchov
being unreachable.
2008-11-29Fix damage done by brad@ and dlg@.Matthieu Herrb
2008-11-29revert 1.197 if_em.c, 1.38/1.39 if_em.h, requested by dlg, until a bugStuart Henderson
reported on misc@ can be tracked down. identical diff from jsing.
2008-11-29Fix high-speed isoc USB transfers; 64bit capable USB host controllersMarcus Glocker
have a different transfer descriptor than non-64bit capable ones. This fixes isoc transfer issues (resulting in broken image data) for uvideo(4) devices attached to ehci(4) seen on USB Intel host controllers. From Jeremy Morse via NetBSD.
2008-11-29unbreak tree breakage snuck inTheo de Raadt
2008-11-29Iain Hibbert (plunky@netbsd) removed clauses 3 and 4 from hisRay Lai
licenses as well. Thanks! "Groovy" deraadt
2008-11-29Fix a possible NULL pointer dereference. Spotted by Tobias Ulmer; thanks!Owain Ainsworth
2008-11-28don't create a _source control on mixers if none of the sources areJacob Meuser
usable. better (generalized) solution forthcoming, but this is a reasonable check anyway. problem noted and fix tested by Alexey Suslikov, thanks.
2008-11-28AZ_TARGET_PINSENSE -> MI_TARGET_PINSENSEJacob Meuser
reminder from Alexey Suslikov, thanks
2008-11-28check the jack detect override bit before creating jack sense mixerJacob Meuser
items. BIOSes can set the jack detect override bit to tell us that the jack detection circuirty isn't actually attached. should remove the _sense controls that never change.
2008-11-28Welcome gpiodcf(4), a driver that attaches to a GPIO pin, decodes theMarc Balmer
signal from an attached DCF77, HG, or TDF receiver and provides a timedelta.
2008-11-28- remove a couple unneeded checksJacob Meuser
- another place to use azalia_nid_to_index
2008-11-28Garbage collect now unused field in the softc struct.Brad Smith
2008-11-28- use switch() instead of multiple if elseJacob Meuser
- put selectors that feed ADCs into the record class like we do for mixers - use azalia_nid_to_index more - shrink mixer items list by condensing mutes for multiple input sources into a single _source control of type AUDIO_MIXER_SET. for example, record.mix6_mic_mute=off record.mix6_mic2_mute=off record.mix6_line_mute=off record.mix6_hp_mute=off record.mix6_spkr_mute=off record.mix6_mix_mute=off is now represented as record.mix6_source=mic,mic2,line,hp,spkr,mix to mute all sources but the mic just do record.mix6_source=mic reduces mixer items by about 25% on my machine. also shortens the longest names.
2008-11-28- DACs don't have connection lists like ADCs doJacob Meuser
- we're only interested in ADCs in the ADC converter group
2008-11-28add paranoia helper function, azalia_nid_to_index. the nid isJacob Meuser
assumed in places to be the index of the widget in the widget_t array of the codec_t, but I'm paranoid. use it to shrink/simplify/fortify some parts. will be used more soon.
2008-11-28Eliminate the redundant bits of code for MTU and multicast handlingBrad Smith
from the individual drivers now that ether_ioctl() handles this. Shrinks the i386 kernels by.. RAMDISK - 2176 bytes RAMDISKB - 1504 bytes RAMDISKC - 736 bytes Tested by naddy@/okan@/sthen@/brad@/todd@/jmc@ and lots of users. Build tested on almost all archs by todd@/brad@ ok naddy@
2008-11-27widget initialization cleanup:Jacob Meuser
* configure widgets all in one place * add a flag on the widget_t to let us know if the widget is not connected; shaves a lot of connection checking code * be sure not to add power widgets as connectable sources/sinks * configure unconnected pins as output pins. should help some MacBooks and be benign to other devices. the last change has been tested by several as a separate diff. no real functional changes otherwise. from Alexey Suslikov. thanks!
2008-11-27finally, generic converter grouping that fits our needs and worksJacob Meuser
on all (at least all tested) devices. briefly, it works like so: group together all converters that can be reached from or can reach a connected input or output pin. ordering in the converter groups correlates to the association and sequence of the input/output pin. remove lots of static converter groupings in favor of the generic grouping method. the only static groups left are for codecs that still have static mixer configurations. tested by many. thanks to all who tested; this wouldn't have happened without your support.
2008-11-27Needs explicit <sys/malloc.h> include; Georg SchwarzMiod Vallat
2008-11-27intrdoduce DPRINTFN macro so debug messages can be selectively enabled.Jacob Meuser
use it to quiet some debug messages by default, so people don't get scared when testing completely unrelated changes when AZALIA_DEBUG is defined. print out ADC groupings when AZALIA_DEBUG is defined like we do for DAC groupings.
2008-11-27initial import of Weongyo Jeon's FreeBSD driver for the RealTek RTL8187LKevin Lo
802.11 devices. currently it has issues scanning. ok jsg@
2008-11-27The Netgear WG1111v2 wifi dongle contains a RTL8187 chip,Kevin Lo
not a GW3887 chip. ok mglocker@
2008-11-26Stop maintaining internal queues of received scsi_xfer structures.Kenneth R Westerback
We can now just push unwanted ones back up into the SCSI layer with NO_CCB like other drivers. "Please do so" deraadt@
2008-11-26Use m_defrag instead of collapsing mbufs ourselves.Mark Kettenis
ok dlg@