summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
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@
2008-11-09systrace activation happens in the middle of a rather sensitive piece ofTheo de Raadt
fork(), i worry about it a lot but cannot prove yet that sleeping there is bad. Anyways, this change makes us never sleep in that area -- the memory needed is allocated ealier like the ptrace state. tested by many developers.
2008-11-08Use atop() and ptoa() in buf_free_pages() to make it consistent withPedro Martelletto
the rest of the code, okay art@.
2008-11-08Get rid of va-ppc.h.Mark Kettenis
ok miod@
2008-11-08when defragmenting an mbuf chain, do not call M_DUP_PKTHDR.Damien Bergamini
this is an overkill in this case as it duplicates mbuf tags etc... following a discussion with kettenis@ a few months ago about gem(4) did some cleanup while i was there.
2008-11-08remove two printfs that slipped through my last commit.Damien Bergamini
2008-11-08initialize k to NULL in wpi_tx_data()Damien Bergamini
2008-11-08fix macros up so they use the do { } while (/* CONSTCOND */ 0) idiomDavid Gwynne
ok deraadt@ otto@
2008-11-08do not call if_start() from tx_done() unless there is a reason to do soDamien Bergamini
(IFF_OACTIVE was set.)
2008-11-08do not allocate cmd memory for rings 5 and 6 (HCCA) which are unused.Damien Bergamini
2008-11-08rework iwn_start().Damien Bergamini
2008-11-08major wpi(4) overhaul.Damien Bergamini
wpi(4) and iwn(4) used to be in sync but with the latest iwn(4) changes, this was no longer the case. that commit repair this. it brings HW CCMP encryption/decryption among other things. requires an update of the wpi-firmware package. please report any regression you might see.
2008-11-08major wpi(4) overhaul.Damien Bergamini
wpi(4) and iwn(4) used to be in sync but with the latest iwn(4) changes, this was no longer the case. that commit repair this. it brings HW CCMP encryption/decryption among other things. requires an update of the wpi-firmware package. please report any regression you might see.
2008-11-08brad, noone said you could go making changes like that (doubling theTheo de Raadt
amount of memory and interrupt time each bge uses) without discussing it with other people. lots of people are complaining about the lack of communication in your process, and you are going to have to change that.
2008-11-08When initializing the standard RX ring, do not allocate mbufs clusters for theTheo de Raadt
whole ring.
2008-11-08Clean up some of the comments.Brad Smith
2008-11-08When initializing the standard RX ring, allocate mbufs clusters for theBrad Smith
whole ring.
2008-11-08Reduce the delay's a bit in the miibus read/write routines.Brad Smith
Based on the Linux r8169 driver. Tested on PCI/CardBus and PCIe adapters.