summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
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-12sort usb ids. i found a simpler way to keep them in sync with theDamien Bergamini
ralink linux driver.
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-12add support for the sierra's Truinstlal enabled modems. (ex. Sierra 881U)Yojiro Uo
ok @jsg
2009-05-11run(4) celebrates its 98th USB ID!Damien Bergamini
2009-05-11regenDamien Bergamini
2009-05-11more RT3070 USB IDs, s/Pegasus/Pegatron/ while I'm here.Damien Bergamini
2009-05-11attach to more shits.Damien Bergamini
2009-05-11regenDamien Bergamini
2009-05-11various vendor/product ids for run(4) and otus(4).Damien Bergamini
Belkin ID for run(4) provided by robert@
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-11properly set unicast to me mask in MAC_ADDR_DW1 register.Damien Bergamini
2009-05-11enable USB Rx stream mode (aggregation of muliple bulk xfers in a single one).Damien Bergamini
2009-05-11better scan.Damien Bergamini
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-11When probing for softraid chunks, ensure that a chunk has a valid metadataJoel Sing
signature, rather than just assuming that a partition of type RAID always has metadata. Add a similar test when validating native metadata. Whilst here, make sure that the metadata version is printed correctly. ok marco@
2009-05-11Move the discipline initialisation code into discipline specific functions,Joel Sing
rather than initialising everything in softraid.c. This makes a discipline more self-contained and reduces the number of function declarations needed in softraidvar.h. ok marco@
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-11regen usbdevs*Yojiro Uo
2009-05-11some huawei E220 OEM devices has broken strings in the device descriptor.Yojiro Uo
to suppress broken output in dmesg, add { UQ_NO_STRINGS } flag to the device.
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-10In debug mode let us know which ioctl has been requested.Marcus Glocker
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-10Make inactivity screen blanking (burner) work.Marcus Glocker
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.
2009-05-10- fix whitespace problems (introduces no change with diff -w)Stuart Henderson
- s/FreeBSD/OpenBSD/ in comment, suggested by mpf no binary change.
2009-05-10- use nitems() rather than handrolled version.Stuart Henderson
- add HWTAG capability to the quirks table. not yet used. from chris@. no functional change.
2009-05-10Remove config register gpio definitions for older chips, gpio miiStuart Henderson
access disappeared years ago and replace them with config register definitions for newer chips. From chris@.
2009-05-10- change device matching to use a quirks table.Stuart Henderson
- avoid the need for unnecessary mbuf copies on modern vr(4) devices (ancient ones required longword-alignment, but this has not been the case for several generations now). reduces cpu time, particularly for forwarded traffic. from chris@. tested by chris@, myself, Emilio Perea on various devices including original VIA EPIA, Soekris net5501, pcengines.ch ALIX. ok mpf. deraadt and dlg agree with committing at this stage.
2009-05-10Adjust debug level to be not that noisy by default (level 1).Marcus Glocker
2009-05-09Return -1 from unused udl_mmap() function instead of 0.Marcus Glocker
Spotted by miod@
2009-05-09Initial console device driver for USB displays based on the DisplayLinkMarcus Glocker
DL-120 / DL-160 graphic chips, using the wsdisplay(4) layer. Based on the reversed engineered specifications of Florian Echtler. The driver is disabled in GENERIC for now. Thanks to claudio@ for donating me a device and to oga@ and miod@ for giving me hints in the graphic and wsdisplay area. OK deraadt
2009-05-08The default initiator value is 0 on sgi IP27, IP30 and IP35 systems. SinceMiod Vallat
they don't seem to have a valid NVRAM either, override the default value.