summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2008-12-10syncTheo de Raadt
2008-12-10Macro spacing. No binary change.Marcus Glocker
2008-12-10use maximum value of dwMaxVideoFrameBufferSize in each vs descriptorsYojiro Uo
as the maximum frame buffer size of video(4) current logic potentially brake the device initialization (and the result of the query is not correct). ok mglocker@
2008-12-10sizeofa -> nitemsKevin Lo
ok jsg@
2008-12-09Non soundblaster-like devices must set AUDIO_PROP_INDEPENDENTAlexandre Ratchov
flag even if playback and record are not independent; otherwise AUDIO_GETINFO ioctl may return false parameters on devices like envy(4) that don't use the same number of channels for playback and recording.
2008-12-09sparc does not have extended precision, therefore remove unusedMartynas Venckus
definitions. ok millert@. tested by jsg@
2008-12-09Replace the sc_type/sc_details enum's in the softc struct with a sc_flagsBrad Smith
flags field and use the flags as appropriate. ok jakemsg@
2008-12-09uvideo uses firmware loading...Theo de Raadt
2008-12-09Also allow V4L2 apps to recognize the UYVY support.Brad Smith
ok mglocker@
2008-12-09assign ehcidebug to USB_DEBUG ioctl argument.Yojiro Uo
add priv check to the ioctl. only root priv should access these debug flags. ok deraadt@
2008-12-08do device classification for non-UVC and firmware-needing devices togetherTheo de Raadt
in the same device table, and abstract usb control out of the ricoh firmware loader so that it can be reused by other loaders ok mglocker
2008-12-08syncTheo de Raadt
2008-12-08there are two isight models, at leastTheo de Raadt
2008-12-08syncTheo de Raadt
2008-12-08isightTheo de Raadt
2008-12-08some sscom and interrupt cleanup, closer to usable userland.Dale Rahn
2008-12-08Don't forget to map the pci interrupt.Owain Ainsworth
Noticed by kettenis@.
2008-12-08Make the various drm drivers print the interrupt they're using.Mark Kettenis
ok oga@
2008-12-08- Firmware header field "len" for Ricoh devices is uint8_t not uint16_t.Marcus Glocker
- Consistency in comments.
2008-12-08Add ability to load firmware for devices which require it.Marcus Glocker
Tested by deraadt@ and myself.
2008-12-07yet another one nvidia ahci controller that needs special handling.Mike Belopuhov
from form@. ok dlg, krw
2008-12-07typos in comments: recieve -> receive.Matthieu Herrb
2008-12-07Make acpiprt(4) check whether the current interrupt routing is "possible" andMark Kettenis
pick a new one from the list of possible routings if it isn't or if a pin is currently not routed. Delay re-routing interrupts until we establish a handler for it. This prevents us from messing with unused interrupt pins which may have fatal consequences (some machines spontaniously reboot). The heuristics for picking an interrupt from the list of possibe ones probably needs some tweaking still, but this makes several NVIDIA-based boards work much better than before. tested by many, ok marco@
2008-12-06No need to set dwMaxVideoFrameSize and dwMaxPayloadTransferSize to 0Marcus Glocker
in the negotation routine explicitly, because the whole structure gets bzero'ed before.
2008-12-06Revert this to, due to the ppc intr backout. -moj ok @kettenisMats O Jansson
2008-12-06revert all changes related to the mpsafe intr handler. i screwed up the commitTed Unangst
and even then it didn't work. we have higher standards than this.
2008-12-06not commited, i'm a retardTed Unangst
2008-12-06the not MP version didn't compile, mglocker foundTed Unangst
2008-12-06uncount clusters taken off the rx ring immediately. if those clusters wereDavid Gwynne
being chained into a jumbo we would not replace them when filling the rx ring again until they were passed up the stack.
2008-12-06typo, no binary change.Damien Bergamini
2008-12-06cvs wouldn't let me check this in beforeTed Unangst
2008-12-06some more trouble where i failed to account for oga's diffTed Unangst
2008-12-06mpsafe intr_establish that doesn't get biglock, so that we may dream of the ↵Ted Unangst
day when this is useful. mostly macro magic that does nothing. only actually useful on amd64 for now, compliments of art.
2008-12-05Sort uvideo_vs_iface struct a bit.Marcus Glocker
2008-12-05add ethertype and tcpdump support for VLAN stacking (QinQ) withStuart Henderson
type number 0x88a8 specified by 802.1ad. from reyk on misc@. "ok, go for it" dlg
2008-12-05enable 9k frames on the "jumbo" ringDavid Gwynne
2008-12-05Garbage collect now unused field in the softc struct again.Brad Smith
2008-12-04enable to large clusters again now that arts put the pool allocator forDavid Gwynne
them in again.
2008-12-04Don't hardcode the bus_space_tag to use, grab if from pci_attach_argsOwain Ainsworth
like you're supposed to. Makes this file slightly less horrible. ok kettenis@, "yes" deraadt@.
2008-12-04*sigh* unbreak the tree.Owain Ainsworth
Some old diff snuck into this change.
2008-12-04Revert ppc intr stuff. Make socppc compile again. -mojMats O Jansson
2008-12-04Fix "fp_save ipi didn't" panic, and move i386/amd64 closer in the process.Tobias Weingartner
Positive test results by a handful of people. Ok kettenis@
2008-12-04Move the bus_dma generic functions out of the far-too-podgy machdep.c andOwain Ainsworth
into bus_dma.c (a-la amd64). Discussed with art and toby in coimbra. Ok mikeb.
2008-12-04Put back the support for pools > PAGE_SIZE. This time the compare functionArtur Grabowski
works and there's even some sanity checks that it actually returns what we expect it to return.
2008-12-04fix typo in the dwFrameInterval commentYojiro Uo
2008-12-04regenBrad Smith
2008-12-04typo.Brad Smith
2008-12-04Add some more Intel GM45 MCH PCI id's.Brad Smith
2008-12-04Add initial support for the ICH9 IGP M and ICH9 IGP M AMT chipsets.Brad Smith
For now the chunk in em_detect_gig_phy() is a hack to get things going until it can be figured out why exactly the PHY id is not probed properly. Based on a diff from jcs@ via ckuethe@ ok kettenis@
2008-12-04move Option GlobeTrotter 3G Quad / 3G Quad Plus and theFelix Kronlage
Vodafone Mobile Connect from ubsa(4) to umsm(4) as these should work better with that driver. discussed with yuo@, jsg@ and deraadt@.