summaryrefslogtreecommitdiff
path: root/sys/dev/pci
AgeCommit message (Collapse)Author
2009-05-29- when a widget will be considered part of a different widget, recordJacob Meuser
the node id of the "parent" widget - initialize widgets' mixer_class ealier
2009-05-28workaround a hardware bug by fixing the pci config space command registerDamien Bergamini
at attach time.
2009-05-28Add "Interrupt Disable" bit definition for the PCI Configuration SpaceDamien Bergamini
Command register. From PCI Express Base Specification Rev 2.0. Use same naming as NetBSD. Needed for wpi(4) and iwn(4).
2009-05-27regenStuart Henderson
2009-05-27add IDs for Intel 82552, RCC (Broadcom) HT-1100. from Brad.Stuart Henderson
2009-05-27allow iwn(4) to coexist with Intel Active Management Technology (AMT)Damien Bergamini
which may use WLAN too. for Intel Centrino 2 vPro only.
2009-05-25Add missing letoh in em(4) vlan handling, resulting in a problem onStuart Henderson
big-endian arch where vlans were in use. Fix from Brad. Problem reported and fix tested by Axton Grams, also tested by me. ok dlg@.
2009-05-25Add Dell Latitude E5500 to the mute quirk list.Robert Nagy
ok jakemsr@
2009-05-24reduce Rx ring size from 256 to 64 slots.Damien Bergamini
2009-05-24Support hardware checksumming, from FreeBSD.Christian Weisgerber
Enable for IP/UDP/TCP receipt and IP transmit. Keep disabled for UDP/TCP transmit because it breaks with pf(4) rdr. ok sthen@
2009-05-24If flags to bind_page include BUS_DMA_COHERENT, set the snooped bit onOwain Ainsworth
the pte. This is currently unused, but will be used soon.
2009-05-24Instead of using magic numbers, define the bits that we set in gtt ptesOwain Ainsworth
and use those defines.
2009-05-23remove PCI vendor/product defines which duplicate those in pcidevsJonathan Gray
2009-05-21add support for BCM576x, 577xx, and some new 572x/578x devices.Stuart Henderson
from Brad; testing by phessler, naddy, myself and others on a range of older and newer devices. ok dlg@.
2009-05-21always set VR_RXCFG_RX_MULTI when setting the chip into promiscuousStuart Henderson
mode; VR_RXCFG_RX_PROMISC isn't enough to allow reception of multicast frames. Discussed with Brad, ok dlg@.
2009-05-20add code to read from OTPROM (1000 and 6000 series only).Damien Bergamini
2009-05-18the block size must be multiple of the pci burst size (overwiseAlexandre Ratchov
dma pointers can overrun)
2009-05-17recognize more Analog Devices codecsJacob Meuser
2009-05-15On the Intel 82801BAM Hub-to-PCI, pass the main PCI io and mmio extents ifMark Kettenis
there are no windows enabled. Restores CardBus functionality on some machines with Intel chipsets.
2009-05-13Match on Adaptec AAR-1225SA, which should work accordingJonathan Gray
to FreeBSD/Linux drivers. ok dlg@
2009-05-13regenJonathan Gray
2009-05-13Adaptec AAR-1225SAJonathan Gray
2009-05-12Cleanup: knf, typos.Owain Ainsworth
2009-05-12hold the mutex in drm_handle_vblank().Owain Ainsworth
Ideally we could avoid this and still be mpsafe using atomic increment/decrement operators, but for now best be correct.
2009-05-12Remove the vblank_disable_allowed crud.Owain Ainsworth
it's a linux compat hack for older X drivers that don't use the right calls. All the drivers capable of turning vblanks off already use the calls correctly, and this way we avoid problems with not being able to turn off vblanks until we switch mode (so until then we're stuck at $REFRESH_RATE interrupts a second from the graphics card, no thanks).
2009-05-12add a bunch of #ifdef DRM_VBLANK_DEBUG debugging to the vblank code.Owain Ainsworth
I'm sick of writing debugging for the refcounting every damned time this fragile as hell code breaks.
2009-05-12switch wpi(4) and iwn(4) over to MCLGETI.Damien Bergamini
notice that i'm not using the per-ifp mbuf accounting/mitigation yet. for iwn(4), this means we wont' be able to support full 8KB AMSDU on machines without an IOMMU since >4KB clusters are not guaranteed to be physcontig. fortunately, we can program the hardware to do 4KB AMSDUs only. simplify {pwi,iwn}_dma_contig_alloc while i'm here: use BUS_DMA_ZERO
2009-05-12fix EDIMAX attachment.Damien Bergamini
2009-05-12cleanup and simplify promiscuous/multicast setup (setmulti -> iff).Stuart Henderson
from Brad; ok dlg.
2009-05-12- try to identify a "main input mixer"Jacob Meuser
- don't unmute input from a built-in mic on the main input mixer intended to stop possible feedback loops between buit-in speakers and built-in mics. built-in mics also tend to capture machine noise, especially fans. actual recording should not be affected.
2009-05-12Fix the URL for datasheets.Stuart Henderson
2009-05-11attach to Edimax RT2860.Damien Bergamini
2009-05-11regenDamien Bergamini
2009-05-11add Edimax PCI vendor ID and Edimax RT2860 product IDs.Damien Bergamini
2009-05-11new PCI IDs for 6000 series.Damien Bergamini
2009-05-11regenDamien Bergamini
2009-05-11new PCI IDs for Intel Wifi Link 6000 2x2Damien Bergamini
2009-05-11fix for some 6000 adapters that have a One Time Programmable (OTP) ROMDamien Bergamini
instead of an EEPROM.
2009-05-11sync setting of the capinfo field of assoc req frames w/ net80211.Damien Bergamini
fixes association with APs that refuse non short slot time capable STAs.
2009-05-11regenJonathan Gray
2009-05-11add some devices from submitted dmesgsJonathan Gray
2009-05-11in the case where mbufs had to be copied _and_ checksums were enabled,Stuart Henderson
m_head could be accessed after it had been freed, so do the access earlier. from chris@.
2009-05-11preliminary parts for hw vlan tag insertion/removal, ideas gleaned fromStuart Henderson
via rhinefet. not yet used, but committing now so it isn't lost. from chris@, ok dlg.
2009-05-11On VT6105M, use hardware IP, TCP and UDP checksums in and out. Tested onStuart Henderson
alix/net5501 with and without software vlan tagging, also with NFS (v2, v3, UDP, TCP). Not used on earlier chips and does not introduce problems on original EPIA board. From chris@, based on enhancements in the FreeBSD driver. "put it in then" dlg@, looks good to claudio@.
2009-05-11Start using VR_RXSTAT_RX_OK instead of VR_RXSTAT_ERR (It existsStuart Henderson
from the oldest vt86c100a datasheet to the newest vt6105m. FreeBSD indicates that it is more reliable than VR_RXSTAT_ERR for detecting error conditions, that its use results in less incorrectly dropped packets). From chris@.
2009-05-11remove local copy of vendor id/device id, there's nothing wrong withStuart Henderson
the data from pcidevs. suggested by chris@.
2009-05-11Rework the pcigart stuff somewhat.Owain Ainsworth
firstly: move the pcigart initialisation in radeon_cp.c into its own function to avoid the horrible nesting and make it more readable. secondly: make the pcigart code more intelligent depending on whether the gart table is in pci memory, or system memory. In the former case we use the bus_space functions and thus don't need BUS_SPACE_LINEAR, while i'm here, stop using the drm wrapper functions for mapping (which require a drm_local_map structure, which will die eventually) and just use bus_space_map itself. tested on pcie (in framebuffer memory) here on my x800. tested on an i386 agp card forced to pci mode by sthen. Doesn't make IGP chips worse, doesn't make them better either (tested on a rs690). basic idea from a commit "upstream" a while ago. All the code from yours truly.
2009-05-10Change agp attach (again) so that the driver passes in the aperture size.Owain Ainsworth
While the aperture size may change during attach, it never changes after the end of the subdriver attach function, so getting this value with a function is a waste of time. shrinks things slightly and makes the code clearer.
2009-05-10In preparation for using agp as a bus_dma backend for drm, convert the bind_pageOwain Ainsworth
and unbind_page callbacks from int bind_page(void *, off_t, bus_addr_t) to void bind_page(void *, bus_addr_t, paddr_t, int) We can make these function void by making sure that the agp code sanity checks properly (it already mostly did), so by definition these functions may not fail. The flags field is currently unused (intagp at least will have a use for it soon). Been in my tree for ages.
2009-05-10change agp driver attach so that the driver passes in the base addressOwain Ainsworth
of its aperture, instead of the BAR and memory type. This is a little larger, but allows the driver to know it's aperture address. Needed for some future stuff.