summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2008-12-15revert 1.20 now that the new allocator is used to control the number ofBrad Smith
RX buffers allocated. ok dlg@
2008-12-14Switch gem(4) over to using MCLGETI when allocating mbufs for the rx ring.Mark Kettenis
help from dlg@, tested by a few, ok dlg@
2008-12-14Disable TX_DMA writing back DDONE into TXD.Damien Bergamini
Some micro-optimizations while I'm here.
2008-12-14o Correctly clear UGEN_ASLP in all cases.Federico G. Schwindt
o Use the timeout for isochronous transfers as well o Allow to set the timeout for both, read and write From FreeBSD. you@ ok some time ago.
2008-12-14- properly handle RT2860_TX_RX_COHERENT interrupts.Damien Bergamini
- update ic_dtim_count and make use of the new ieee80211_notify_dtim function. - add explicit barriers. - cleanup as usual.
2008-12-14Give names to anonymous unions.Ray Lai
Worked on with mglocker. OK mglocker
2008-12-14regenBrad Smith
2008-12-14Add the Novatel Merlin X950D ExpressCard.Brad Smith
2008-12-13use the hardware general-purpose timer interrupt instead of timeout(9).Damien Bergamini
clean up the ctl_ridx mess.
2008-12-13clear the WCID, pairwise keys, shared keys, IV/EIV tables in NIC memoryDamien Bergamini
*after* resetting the hardware. otherwise the tables contain garbage. should fix most of the weird issues people were facing. scary.
2008-12-13;5Anvidia mcp67 ahci controller also needs special handling.Mike Belopuhov
from Marko Pecic. thanks!
2008-12-12Check for zero'd spd data even if we pass the checksumJonathan Gray
and don't offer a match in this case. Deals with the qemu "TODO: Populate SPD eeprom data." tested by todd@
2008-12-12fix a bug that slipped through my last commit.Damien Bergamini
2008-12-12- fix HW crypto using group keys (this should fix the "ExtIV bit not set"Damien Bergamini
logged by some WPA supplicants when connecting to a ral(4) WPA AP.) - get rid of the ugly ack_rate, rate2mcs functions (pre-compute ACKs duration for all rates at node association time.) - lot of clean up, prepare for future enhancements
2008-12-12get rid of the ugly IWN_SET_DESC_SEG/NSEGS macros.Damien Bergamini
add "support" for physical addresses larger than 32-bit.
2008-12-12matthieu and reyk say that using 9k frames for rx breaks vic on esx. i canDavid Gwynne
sometimes reproduce this, but i cannot see why it would be a problem. tres weird. only put 4k frames on the jumbo ring to cope. i'll try to figure this out again later.
2008-12-11Don't do radeon_cp_dispatch flip on lastclose.Owain Ainsworth
Sometimes the sarea isn't there and screws us. The intention of this call was to set the scanout buffer back to being correct. On the other hand: If we're in lastclose the xserver is shutting and thus the scanout buffer is moot. Kernel modesetting will probably revising pageflipping, but that'll be a different interface anyway. Since all lastclose does not is call radeon_do_release() just rename radeon_do_release to lastclose and nuke the old one. Uwe@ has some crashes in here occasionally, this diff fixed them for him.
2008-12-11hook Qualcomm AC8700 modem into ubsa(4), from freebsdFelix Kronlage
discussed with yuo@ and deraadt@
2008-12-11regenFelix Kronlage
2008-12-11add device id for Qualcomm AC8700 modem, from freebsdFelix Kronlage
2008-12-10Fix ohci xfers for some devices by adjusting the number of microframes toMarcus Glocker
a static value of 8. Regression tested by todd@
2008-12-10syncOwain Ainsworth
2008-12-10id for Radeon HD2600 PRO AGP; from johan.Owain Ainsworth
2008-12-10Replace m_free() with m_freem() in foo_start() to ensure that upon errorBrad Smith
the full mbuf chain is freed. ok claudio@ kettenis@
2008-12-10another rum; Arndt at ba-loerrach.deTheo de Raadt
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-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-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-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-05Sort uvideo_vs_iface struct a bit.Marcus Glocker
2008-12-05enable 9k frames on the "jumbo" ringDavid Gwynne