summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
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-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-12KNF (whitespace fixes). ok brad@.Stuart Henderson
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-11Spacing.Marcus Glocker
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-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-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-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-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-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-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-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.
2008-11-08Reduce the number of TX descriptors to 512, such a large number is notBrad Smith
necessary without TSO.
2008-11-08Add a softc field mii_oui to store the OUI.Brad Smith
2008-11-08Add additional link status checking for for the BCM5906 PHY.Brad Smith
Based on info from the Linux tg3 driver.
2008-11-08Only read the Gig status register if Gig media status is detected.Brad Smith
2008-11-08remove dead stores and newly created unused variables.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok krw@
2008-11-07When initializing the MAC put the PHY into ready state for BCM5906Brad Smith
chipsets. From the Linux tg3 driver via FreeBSD. Tested by Jordi Creix <jbcreix dot mail at gmail dot com>
2008-11-07When initializing the MAC put the PHY into ready state for BCM5906Brad Smith
chipsets. From the Linux tg3 driver via FreeBSD. Tested by Jordi Creix <jbcreix dot mail at gmail dot com>
2008-11-07- Set default RX coal packets to 64, so RX coal timeout takes control duringBrad Smith
bulk data operations. This greately reduces the interrupt rate while keeps bulk data performance. - Set default TX coal packets to 64 and TX coal timeout to 65535us (maximum allowable value). This greately reduce the interrupt rate while greately increases (almost doubles) small packet TX performance. From DragonFly