summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2008-11-16clear pending interrupts in the driver attach routine.Damien Bergamini
otherwise the chip comes up with the RF_TOGGLED bit set which triggers an if_stop() call if a shared interrupt occurs.
2008-11-16remove dead code.Damien Bergamini
2008-11-16syncDamien Bergamini
2008-11-16USB IDs for Atheros AR9170.Damien Bergamini
2008-11-16Make sure to increment the the output error counter ifBrad Smith
not using TRUNK_PROTO_NONE and there are no member ports. ok mpf@
2008-11-16Add new style replacement for isp_inline.h.Kenneth R Westerback
2008-11-14oops. not yet. sorry for the noise.Jacob Meuser
2008-11-14* readability improvement in azalia_codec_connect_streamJacob Meuser
* DEBUG cleanup from Alexey Suslikov, thanks
2008-11-14Revert the reduction in the delays in the miibus read/write routines,Christian Weisgerber
which broke on-board RTL8111C adapters.
2008-11-14Garbage collect the LDT segments, and simply use the GDT segments.Tobias Weingartner
The beginning of i386 segment review/cleanup. Tested by various people.
2008-11-14Atomically update the PTE.Kurt Miller
okay weingart@ art@
2008-11-14regenBrad Smith
2008-11-14Add more NVIDIA MCP77 PCI ids and correct the existing MCP77 SMBus PCI id.Brad Smith
2008-11-13add support for ST's chip since documentation is now available atTheo de Raadt
http://www.st.com/stonline/products/literature/ds/13448/stts424e02.pdf as discovered by Gert-Jan Vons.
2008-11-13use different TSCs when sending the two MIC failure report framesDamien Miller
to our AP as we enter TKIP countermeasures by caching the TSC of the last frame to fail the MIC; prompted by and ok damien@
2008-11-13Mitigate the new WPA attack described in Beck, M. and Tews S. "PracticalDamien Miller
attacks against WEP and WPA". The attack works by using the MIC failure notification messages sent station->AP on MIC failure as an oracle to verify guesses to reverse the CRC. To stop this, we can skip sending these notify frames except when we are going into "countermeasures" mode (drop the AP association, do not process traffic for 60s). When we go into countermeasures, I send two MIC failure notifications in a row - this should force the AP into countermeasures too. ok damien@
2008-11-12KNF (whitespace fixes). ok brad@.Stuart Henderson
2008-11-12Add a comment to sigcode() to explain why the use of 'int $0x80' isTobias Weingartner
necessary, so that future hackers will not be mislead the same way I was when looking at this code.
2008-11-12fix typo in debug printf; ok ratchov@Stuart Henderson
2008-11-11Remove the (unworking to the point it doens't even compile) viadrm driver.Owain Ainsworth
Eventually a drm driver for via hardware may be written, but it will be utterly different to this one. No one objected, ok matthieu@.
2008-11-11Fix prototype for drm_addmap(), okay oga@.Pedro Martelletto
2008-11-11for ^T support, grab all the information from the process before goingTheo de Raadt
into a potentially sleeping function... ok tedu.
2008-11-11Spacing.Marcus Glocker
2008-11-11slightly optimized the ptrace stat allocation to only happen when needed.Ted Unangst
ok deraadt
2008-11-11make sure that any messing we do with a process's directories happens ↵Ted Unangst
atomically and not after sleeping. ok deraadt pedro
2008-11-10typo: be -> by in commentOwain Ainsworth
``of course'' deraadt@.
2008-11-10Clear ifindex2ifnet[] in if_detach() this is needed because link localClaudio Jeker
addressing in IPv6 likes to do ifp = ifindex2ifnet[ifindex] without properly checking if the ifindex is valid. As a side-effect this solves parts of PR 5981. Debugged by jsing@. OK jsing@, deraadt@
2008-11-10clean namespace a fair bit; wrap kernel-use-only structures and gunk inTheo de Raadt
#ifdef _KERNEL
2008-11-10Fix the bits to enable bus mastering mode on some newer chips. FromOwain Ainsworth
Alex Deuchar via drm git.
2008-11-10Make writeback work on after a suspend. From Dave Airlie via drm git.Owain Ainsworth
2008-11-10Use the correct sizeof for the _ca.Artur Grabowski
"obviously correct" kettenis@
2008-11-10remove unused variable 'error' from two functions; llvm/clang; ok dlgConstantine A. Murenin
2008-11-10Remove 17 unused vars from uvideo_softc.Marcus Glocker
2008-11-10One more replacement; 2 -> UVIDEO_SH_MIN_LENMarcus Glocker
2008-11-10Fix typo in comment, okay jmc@.Pedro Martelletto
2008-11-10don't assign ifp to ifp; llvm/clang; ok jsgConstantine A. Murenin
2008-11-10remove some dead code and fix a comment; llvm/clang; ok jsgConstantine A. Murenin
2008-11-10uninitialised value caused some lmenv(4) fans to never appear sometimes;Constantine A. Murenin
the bug was reported long time ago by Simon Slaytor with adm9240; the eyes were cleared today by LLVM/Clang Static Analyser; ok deraadt
2008-11-10vm_map_lock() around calls to uvm_map_findspace(); ok teduTheo de Raadt
2008-11-10same vmspace song and dance as in kern_sysctl.c 1.167; ok kurtTheo de Raadt
2008-11-09correct device name.Owain Ainsworth
2008-11-09Don't attach to the agp bridges on amd64 machines. They have a differentOwain Ainsworth
interface (which is currently used by iommu(4) on amd64). I have a driver for that interface, but it would currently conflict with iommu and as such has not been commited.
2008-11-09Make own struct for the stream header instead saving the data in singleMarcus Glocker
variables.
2008-11-09Add BULK xfer support.Marcus Glocker
Thanks to Carlos Valiente for donating an EeePC 701 where this has been developed and tested.
2008-11-09workaround lack of struct proc. this whole mess must be cleaned out.Theo de Raadt
userland processes should not see all the kernel components.
2008-11-09Rework that way that agp attaches.Owain Ainsworth
previously, we had a static list of pcidevs and which agp driver would be interanlly attached. Instead, split the agp drivers so they work like audio(4), where we attach a driver, which sets up some callbacks and initial state, then attaches the interface (agp(4)). Since this allows us to attach different drivers in different places, and give them /proper/ probe functions move most of the drivers back to attaching at pchb, where they should, and intagp (formerly agp_i810) stays attaching at vga, since it's part of the intel integrated graphics chips. Diff shrinks the kernel slightly, gets rid of the annoying "no integrated graphics" warning, and allows more cleanup later. Tested by many. fix for alpha build (the only other vga_pci.c consumer) suggested by miod.
2008-11-09Introduce bpf_mtap_ether(), which for the benefit of bpf listenersChristian Weisgerber
creates the VLAN encapsulation from the tag stored in the mbuf header. Idea from FreeBSD, input from claudio@ and canacar@. Switch all hardware VLAN enabled drivers to the new function. ok claudio@
2008-11-09typo fixed (overriden -> overridden)Tobias Stoeckmann
ok espie, jmc
2008-11-09rework the rate coding code to get rid of the ugly {wpi,iwn}_plcp_signal()Damien Bergamini
function. will be required for future MCS support in iwn.
2008-11-09uninitialized value, caused by a typo.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok damien@