summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
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-13note to everyone: nitems(pointer) is 0, not what you wantTheo de Raadt
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-12Introduce a if_priority that will be added to RTP_STATIC when routes areClaudio Jeker
added without an expilict priority. This allows to specify less prefered interfaces that will only take over if the primary interface loses link. OK deraadt@
2008-12-12Make sure that incomming routing messages don't have RTP_DOWN set. MaskClaudio Jeker
the rtm_priority with RTP_MASK so that userland (e.g. arp) can issue a RTM_GET and reissue the message as RTM_DELETE.
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-12Add netmpls/mpls_output.cMichele Marchetto
ok claudio@
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-11Kill the $ARCH prefix for isa_dma_cookie. With this change, the i386 andOwain Ainsworth
amd64 isa dma code is identical save for some formatting, and a slight difference in bus_dmamem_alloc. "Die x86_!" krw@.
2008-12-11export per-interface mbuf cluster pool use statistics out to userlandTheo de Raadt
inside if_data, so that netstat(1) and systat(1) can see them ok dlg
2008-12-11a little bit of paranoiaTheo de Raadt
2008-12-11revert back to 1.4, since there's still some code that uses this; pointedMartynas Venckus
out by theo
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-10When booting from a CD on i386/amd64, assume the root filesystemKenneth R Westerback
is on the CD rather than always asking for its location. Behaviour pointed out at OpenCON by Stephan Rickauer. Tested by Stephan. nick@ has no objections. ok deraadt@
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-10both x86 platforms isa bus_dma implementations handle bus_dmamap_syncOwain Ainsworth
incorrectly. The spec (manpage) states that using two PRE or two POST ops together is entirely valid, but mixing pre and post is invalid. The way this was handled before with a switch statement meant that only individual commands actually would be recognised, so move to just checking the commands indidually using "if (op & $command)". Additionally, add a DIAGNOSTIC check and panic for the mixing of pre and post operations (this is done on several other architectures already). tested by several people; thanks! ok dlg@, kettenis@, "the diff made sense" deraadt.
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-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@