summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2008-11-22perform bus_dmamap_syncs on the rx mbufs. this is obviously maintained byDavid Gwynne
monkeys. found by toby's bounce buffers. ok krw deraadt uwe fwk matthieu, drahn, mbalmer, robert, yuo, ratchov, claudio, rainer, art.
2008-11-22Some nVidia MCP77 AHCI controllers need special handling. There's 12Mike Belopuhov
PCI ID's for MCP77 in our database, but to stay on a safe side, this change affects device 0x0ad4 only. Other ones could be added later. Problem reported and fixed tested by gilles@ on Acer Aspire X3200. ok dlg
2008-11-22Re-enable ACPI PDC support and fetching cpu performance statesGordon Willem Klok
from ACPI for est on amd64. This incorporates a few changes from krw@ to fix minor nits, its unlikely to fix the problems with some machines from acer and dell but lots of machines benefit. ok krw@
2008-11-22Fix a wrong comment.Marc Balmer
2008-11-22reduce the dependancy of drm_pci_alloc upon the drm device softc. JustOwain Ainsworth
pass in the dma tag
2008-11-22cast pointer to correct type before passing it to bus space. Noticed whileOwain Ainsworth
de-inlining i386 bus_space. ok weingart@
2008-11-22com not pccom; ok miodTheo de Raadt
2008-11-22com, not pccomTheo de Raadt
2008-11-22some cosmetics and changes based on reading newer docs, from the originalTheo de Raadt
author Johann Christian Rode
2008-11-22- Slight wording tweak.. leave -> let.Brad Smith
- Sync wpi(4)'s set_key comment with the comment from iwn(4). ok damien@
2008-11-22Remove dev->id_entry, it is no longer needed.Owain Ainsworth
2008-11-22Slightly fix up previousOwain Ainsworth
2008-11-22inteldrm currently checks the pcidev of the device every time it needs to checkOwain Ainsworth
what revision it is to determine which route to take. instead, use the flags field of the pcidevs array to provide a static list of flags related to series, type, and certain features and check those instead. Makes me less sad and knocks another 600 bytes off my kernel.
2008-11-22Remove the strings from the pcidevs arrays. they are no longer needed and areOwain Ainsworth
just wasting space.
2008-11-22Sync bluetooth with NetBSDUwe Stuehler
2008-11-22switch all of the drm drivers over to using the defines from pcidevs.Owain Ainsworth
Furthermore, move the list of pcidevs from drm_pciids.h (in macros!), to the array in the driver file. The strings are left in the array for now, but will go in the next commit
2008-11-22syncOwain Ainsworth
2008-11-22Pull in all the pcidev discrepancies from drm_pciids.h in dev/pci (whichOwain Ainsworth
is soon to die). "lovely" deraadt@, ok brad@. Both also helped with suggestions.
2008-11-21move Option Globetrotter GT Fusion from ubsa(4) to umsm(4) since itFelix Kronlage
does CDC. discussed with yuo@ and jsg@.
2008-11-21cast d->bmaControls to uByte * in uaudio_add_feature()Robert Nagy
ok jakemsr@
2008-11-21Fix crystal and gain calibration on 5000 Series.Damien Bergamini
2008-11-21if interrupt register is all 1s, we know we are dead; ok dlgTheo de Raadt
2008-11-21cast pointer argument to bus_space_read_region_1 to the correct typeOwain Ainsworth
(u_int8_t *). Fixes a warning when bus_space_read_region_1 is actually a function and not a macro. ok weingart@
2008-11-21Remove the following extern declarations because they are onlyRobert Nagy
used in gus.c and this change also makes gcc4 happy extern const int gus_max_frequency[]; extern const ushort gus_log_volumes[]; extern struct audio_hw_if gusmax_hw_if; ok deraadt@
2008-11-21Move #include <dev/pckbc/wskbdmap_mfii.h> after includingRobert Nagy
dev/wscons/wsksymvar.h where struct wskbd_mapdata gets declared. ok miod@
2008-11-21Kill whitespace, remove unneeded ,Marc Balmer
2008-11-21Kill some whitespace, removed unneeded stuff at the end of a list.Marc Balmer
2008-11-19Many ALC88x codecs have a fifth DAC at NID 0x25 for 7.1+2 multistreaming.Christian Weisgerber
Add this and other missing entries to the pre-defined DAC groups. Tested with ALC885; other models according to their data sheets. ok jakemsr@
2008-11-19For 5000 Series, store baseband calibration results sent by theDamien Bergamini
initialization firmware and send them to the runtime firmware. This has no effect on my 5300 since the initialization firmware does not send baseband results. This may be important for other chips though or for future firmware revisions.
2008-11-19I'm clever and commited the wrong patch. Here's the correct one.Owain Ainsworth
This should close kernel/5995.
2008-11-19Make sure to check that the TX queue is empty before clearing theBrad Smith
watchdog timer. From FreeBSD Tested on quite a few 3c905/B/C/575 adapters.
2008-11-19Do not reset TX threshold value whenever xl_init() is called. InsteadBrad Smith
the initial threshould is initialized at device attach. Later the threshold could be increased if encountering a TX underrun error and the new threshold should be used in xl_init(). From FreeBSD Tested on quite a few 3c905/B/C/575 adapters.
2008-11-19the jack sense automatic muting code has many problems, includingJacob Meuser
being the cause of PR5982. unfortunately, there's no easy and clean solution to automatic muting. we can't always rely on the codec giving us the right information. people have different preferences as to what should be muted and what shouldn't. etc, etc. so instead, just make the sense state of jacks that support sensing available through the mixer interface. this allows for any possible user configuration and supports all pins that have sense capabilities, not just headpones. codecs that use the generic mixer configuration (which is the plan for all codecs) and have sensing capable pins will now get a few more read-only mixer items, such as: outputs.hp_sense=plugged outputs.mic_sense=unplugged outputs.line_sense=unplugged hopefully what they mean is self-explanatory. based on much discussion with ratchov@ and Alexey Suslikov
2008-11-18regenBrad Smith
2008-11-18Correct the product strings for the HP SA P711m/P712m adapters.Brad Smith
2008-11-18Remove dup proto from <alexey.suslikov@gmail.com>Marco Peereboom
2008-11-18regenMiod Vallat
2008-11-18Correct SIIG 2082 identifier; Kurt Mosiejczuk (kurt-openbsd-misc; se.rit.edu)Miod Vallat
2008-11-18instead of going through the drm_map interface, just map the mmioOwain Ainsworth
registers directly (via the memory sharing interface that intagp uses). It doesn't need to be in a map structure. Idea taken from some of intel's work.
2008-11-18Remove a bunch of #ifdef __linux__ code that only serves to confuse me.Owain Ainsworth
2008-11-18Remove dev->agp_buffer_token, linux needs it, we do not.Owain Ainsworth
2008-11-17regenBrad Smith
2008-11-17Add the HP Smart Array P711m/P712m PCI ids.Brad Smith
2008-11-17Add PCI ids for the HP Smart Array P711m/P712m adapters.Brad Smith
From HP via the Linux cciss driver.
2008-11-17Sprinkle a few more tabs.Brad Smith
2008-11-17garbage collect i915_vblank_swap.Owain Ainsworth
2008-11-17Manage vblank interrupts using the PIPESTAT register.Owain Ainsworth
The pipestat register needs tweaking when enabling vblanks, and doing this and playing with the IMR seems to lead to problems, so just leave them always unmasked and just tweak PIPESTAT. From Keith Packard at Intel.
2008-11-17Don't put the buffer counter in a reserved part of the status page.Owain Ainsworth
From intel.
2008-11-17Conditionalise the use of the SAREA in inteldrm. In DRI2 setups (which we don'tOwain Ainsworth
support yet, but will) it won't exist, prepare for this by only writing to it if it's there. Bits of this came from Eric Anholt at intel.
2008-11-17- recognize some Conexant codecs.Jacob Meuser
- recognize several STAC (Sigmatel/IDT) codecs and create converter groups for the multi-channel capable codecs. - use the correct name for Sigmatel 7661/7662.