summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2009-09-13Fix command undo for compression. Fixes artifacts seen in some cases.Marcus Glocker
2009-09-13Move some real noisy operations to a higher debug level.Marcus Glocker
2009-09-13Use function pointers in erasecols and eraserows for framebufferMarcus Glocker
operations, so we do compression in there as well.
2009-09-12Don't use function pointers at places where we always call the sameMarcus Glocker
function.
2009-09-12Re-sort some functions. Fix comment. No functional changes.Marcus Glocker
2009-09-12GPIO quirk for Dell Inspiron 1400Jacob Meuser
2009-09-12there are machines that have more than one fixed speaker. useJacob Meuser
the one with the lowest association.
2009-09-12move code for getting controller capabilities out of azalia_init()Jacob Meuser
and into it's own function, azalia_get_ctrlr_caps()
2009-09-12Add DIOCSDINFO support to the three fd drivers. No change to existingKenneth R Westerback
behaviour.
2009-09-11Don't panic if the command buffer runs full. Instead try to flush it,Marcus Glocker
and continue operation afterwards. If we can't flush immediately, we will undo the operation and return EAGAIN to wsdisplay (like we do already for the xfer queue). This allows us to set higher resolutions (tested up to 1280x1024) without bumping the command buffer or xfer buffer memory further.
2009-09-10better to wait for codecs to finish resetting in azalia_reset()Jacob Meuser
rather than in it's user(s)
2009-09-09reorganize attach/initialization into more task specific functions.Jacob Meuser
2009-09-09Palm: Integration into the treeMarek Vasut
OK deraadt@
2009-09-09move code to reset the controller from the attach function to it'sJacob Meuser
own function
2009-09-09Today we just support a font width up to 8 pixels. Allow a font widthMarcus Glocker
up to 16 pixels now. Reported by maja@
2009-09-09add a few more members to stream_t and use it as a coherent sourceJacob Meuser
of information about a stream
2009-09-09move code to enable widget unsolicited event generation into it'sJacob Meuser
own function
2009-09-09handle mixer get/set requests for class type mixer items in the underlyingJacob Meuser
mixer get/set routines instead of in the MI audio routines.
2009-09-09make sure node id for stream mode mixer items is validJacob Meuser
2009-09-09azalia.h:Jacob Meuser
* remove irrelevant comment * this driver uses at most 2 converter groups per group set, don't allocate more than needed * remove unused members from codec_t azalia.c: * macros for register values
2009-09-08cleanup/fix RIRB processing:Jacob Meuser
* move the code for azalia_comresp() to be nearer the functions it uses (azalia_set_command() and azalia_get_response()) for easier comprehension. * don't turn off RIRB interrupts in azalia_set_command(), then reenable them in azalia_get_response(). it's ugly, problematic, and the code is already at SPL_AUDIO. * in azalia_get_response(), wait for a solicited response (the response from azalia_set_command()) instead of "waiting" for just any response as there may already be an unsolicited response in the RIRB. * no need to run the unsolicited response handler in azalia_get_response(). since RIRB interrupts aren't being disables, the unsolicited response handler will be run by the RIRB interrupt handler. * in azalia_rirb_intr(), when a solicited response is found in the RIRB, instead of stopping and losing the response, print a debug message and keep going. there should never be a solicited response in the RIRB at this point. * remove some now useless #if 0'd debug cruft. * minor KNF while here.
2009-09-08Something i should have commited months ago.Owain Ainsworth
Instead of planes, use pipes for the vblank code (this matters with the newer drivers we're now using). originally from upstream (kinda, i adapted it a little). Much cleaner now, too. Helps with some vblank issues sthen@ has been seeing. Also seems to fix any issues i've seen with the x40, with suspend-on-lid disabled shutting hte lid no longer borks X on my x40, this issue pointed out (and reminded regularly until I found time :) by deraadt@
2009-09-07Add another umass-to-modem request type which is needed forMarco Pfatschbacher
the Novatel MC950D. Input & ok jsg; ok fkr, deraadt.
2009-09-07sizeof ptr vs sizeof *ptr bug; ok mglocker@Miod Vallat
2009-09-07syncStuart Henderson
2009-09-07Correct the PHY ID for IC+ IP1001. From Brad, confirmed with the datasheet.Stuart Henderson
2009-09-06Don't pass uninitialized stack memory to setdisklabel() as the 'old'Kenneth R Westerback
label. Use the existing label, since we now check and reuse some values in it. And that's what all other drivers do. Bonus: we don't need that label on the stack anymore. ok deraadt@
2009-09-06Fix typo in comment, safe -> save.Marcus Glocker
Spotted by miod@
2009-09-06Fix udl_copycols overlay copy problem by copying area to off-screen firstMarcus Glocker
(same as in udl_copyrows).
2009-09-05Make use of the new wsdisplay ability, committed by miod previously, whichMarcus Glocker
allows our rasops functions to return EAGAIN if our usb command queue is full. This gets us rid of the ugly while { delay(); } loop and makes udl work also on MP kernels now (we faced a deadlock so far because spinning in that delay() loop with biglock active wasn't that much fun). With help from miod@
2009-09-05Buglet crept in.Miod Vallat
2009-09-05u_int32_t not u_int32_ts in debug code.Claudio Jeker
2009-09-05Check the return value of all emulops in the emulation code, and abortMiod Vallat
tty output as soon as we hit a failure. Since the `output' of a character may cause several emulops to be called (e.g. if it causes scrollup or if this is the end of an escape sequence), all emulation code maintain a so-called `abort state', to be able to properly recover when the character is tentatively output later, and not reissue the emulops which did not fail the first time. With help from mglocker@
2009-09-05Make the output() wsemul_op return the number of characters processed andMiod Vallat
check it in wsdisplaystart() to suspend output if not all characters have been output; they will get reissued at the next tty rstrt_to timeout.
2009-09-05Change the wsdisplay_emulops return types from void to int; emulops will nowMiod Vallat
return zero on success and nonzero on failure. This commit only performs mechanical changes for the existing emulops to always return zero.
2009-09-05Rework internal interfaces in the wsdisplay emulation code to prepare forMiod Vallat
upcoming changes. No functional change.
2009-09-05scsi_done before COMPLETEDavid Gwynne
2009-09-05scsi_done before COMPLETE.David Gwynne
2009-09-05call scsi_done before returning COMPLETEDavid Gwynne
2009-09-05call scsi_done before returning COMPLETE in the stuffup case.David Gwynne
pointed out by miod
2009-09-05Make sure ehci_open() invokes ehci_device_setintr() at splusb; found withMiod Vallat
splassert.
2009-09-05Remove unnecessary assignments in sii311[24]_chip_map().Miod Vallat
2009-09-04Add common framework for storing device listsJordan Hargrave
Useful for acpitz, acpipwrres, etc.
2009-09-04Bring back support for iCH10 based chips. This time support for fiber cardsDariusz Swiderski
seems to be fixed, thanks to tests done by mpf at mailq dot de. Also support for older fiber cards that have no PHY seems to be working, thanks to claudio@ The code includes all the changes that i backed out, plus two tweaks: 1. em_detect_gig_phy() gets called in em_setup_link() instead of em_copper_link_preconfig(), this enables phy detection on fiber cards. 2. em_detect_gig_phy() gets a condition to look for old fiber cards, that have no PHY. ok by claudio@, prodded by deraadt@
2009-09-04Make sure the MAC address is correct on big-endian platforms if it isn't readMark Kettenis
from the EEPROM. ok miod@
2009-09-04Missing scsi_done() in some error path returning COMPLETE; ok dlg@Miod Vallat
2009-09-03Check the return value of copyin().Joel Sing
ok marco@
2009-09-03Don't call VOP_CLOSE() with a null pointer, if the VOP_OPEN() call failed.Joel Sing
ok marco@
2009-09-03call scsi_done before returning COMPLETEDavid Gwynne
2009-09-03must call scsi_done before returning complete.David Gwynne