summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2013-06-11final removal of daddr64_t. daddr_t has been 64 bit for a long enoughTheo de Raadt
test period; i think 3 years ago the last bugs fell out. ok otto beck others
2013-06-10A couple of changes from Masanobu SAITOH <msaitoh@netbsd.org>:Mike Belopuhov
- fixup the Random Backoff Register value masking; - keep the GPIO settings when modifying the Misc Local Control register value. Tested by Rob Sessink on 5719, David Imhoff on 5719, 5720, 5721, me on 5719 and 5715; ok dlg
2013-06-10Make use of pci_matchbyid().Brad Smith
ok yasuoka@
2013-06-09adapt to a pcidevs name changeTheo de Raadt
2013-06-09syncTheo de Raadt
2013-06-09shorten many names to cope with uvm code growthTheo de Raadt
ok jsg
2013-06-08Remove redundant code setting PCI_COMMAND_MASTER_ENABLE as this is alreadyBrad Smith
taken care of by pci_mapreg_map(). Ok yasuoka@ uebayasi@
2013-06-07Add proper mmap(2) support for drm(4)/inteldrm(4). This changes theMark Kettenis
DRM_I915_GEM_MMAP and DRM_I915_GEM_MMAP_GTT ioctls to be compatible with Linux. This also is the first step that moves us away from accessing all graphics memory through the GTT, which should make things faster. ok tedu@ (for the uvm bits)
2013-06-06Add the remaining support code for 4th gen Intel Core/Haswell graphicsJonathan Gray
and match the same pci devices Linux does. Untested for lack of hardware but should work. Note that 3D/OpenGL won't work until we update to a newer version of Mesa, which can't happen until the Radeon KMS work is ready. ok deraadt@
2013-06-06regenJonathan Gray
2013-06-06add 4th gen Intel Core/Haswell graphics devicesJonathan Gray
ok deraadt@
2013-06-06dont count rx ring overruns as input errors. with MCLGETI controlling theDavid Gwynne
ring we expect to run out of rx descriptors as a matter of course, its not an error. ok mikeb@
2013-06-05tweak vmxnet3_load_mbuf to use m_pulldown to safely reach into the mbuf forDavid Gwynne
the tcp/udp headers and to make theyre contiguous for the hypervisors offload to work correctly. use m_defrag instead of handrolling a copy of a heavily fragmented mbuf into a single mbuf or cluster. ok reyk@ yasuoka@
2013-06-04Prevent panic'ing on alpha after ifconfig'ing up an unplugged de interface,Miod Vallat
by making tulip_txput() aware of whether or not the mbuf it is processing is in if_snq or not, rather than abusing the TULIP_TXPROBE_ACTIVE flag. Found the hard way by kurt@, tested on AlphaServer 1000A, I've been sleeping on this diff for about 3 years.
2013-06-04remove orphaned macrosMiod Vallat
2013-06-04A couple of style/comment fixes from FreeBSD, with input fromMike Belopuhov
David Imhoff. No functional change.
2013-06-04Substitute a couple of magic numbers with newly added PCIEMike Belopuhov
DCTL flag defines. Now with the right defines, doh!
2013-06-04Substitute a couple of magic numbers with newly added PCIEMike Belopuhov
DCTL flag defines. No binary change.
2013-06-03remove unless linesYojiro Uo
ok reyk@ deraadt@
2013-06-03Define some more DCSR/DCTL bits; ok kettenisMike Belopuhov
2013-06-03vmxnet3_load_mbuf() could replace the mbuf but did not return the newReyk Floeter
one which caused the following Tx bpf call to panic. Instead of moving the bpf hook in front of the vmxnet3_load_mbuf() function, we return the updated mbuf because we want don't want to see packets that don't go on the wire/chipset. Analyzed and discussed with yasuoka@ uebayasi@ OK yasuoka@ uebayasi@
2013-06-03Correctly increment the refcounter when trying to open a non connectedMartin Pieuchot
serial. Fix a panic triggered by removing the USB device while the opener is sleeping holding a reference to the softc. Found the hardway by tobiasu@. While here add more sanity checks to avoid races when the driver is being detached. ok tobiasu@
2013-06-03Use IF_POLL to check for available transmit descriptors before IF_DEQUEUE.Reyk Floeter
ok uebayasi@ yasuoka@ dlg@
2013-06-02support aml_store to a method object to override itjoshua stein
resolves a problem parsing the AML on an ASUS UX21A originally from armani@ ok kettenis@
2013-06-02The AML on the Lanner FW-8758 does a Store() to a named object that's neverMark Kettenis
actually defined. The ACPI standard isn't clear wether this is allowed, but it makes some sense to just initialize the object with the source of the Store(). Fixes the resulting panic on that particular machine. ok mlarkin@
2013-06-01Stop printing ACPI wakeup devices in dmesg after the 16th wakeup device.Mike Larkin
Helps with VMware VMs that report hundreds of wakeup devices. ok reyk@, deraadt@
2013-06-01Add defines for DRM_CAP_PRIME capability. Not implemented, but allowsMatthieu Herrb
the intel driver to build and work with X server 1.14. ok jsg@
2013-06-01Make mutexes that get used in interrupts IPL_TTY instead of IPL_NONE.Mark Kettenis
ok jsg@
2013-06-01Add vmx(4) to the kernel config, but comment it out for now.Reyk Floeter
ok deraadt@
2013-05-31Fix the build for a kernel without wd and pciide in its config.Alexander Bluhm
OK deraadt@ tedu@
2013-05-31Replace shutdownhooks with activate functions, properly doing thoseTheo de Raadt
operations only if device is console ok kettenis
2013-05-31Correct sequencing in ca_activate function. Some operations were in theTheo de Raadt
wrong order, and depth traversal was not gauranteed. ok stsp (tested too)
2013-05-31Add vmx(4), driver for VMware's VMXNET3 ethernet controller, written for IIJ.uebayasi
Tested by reyk@, yasuoka@ OK'ed by reyk@, deraadt@
2013-05-31Rename tpms(4), the driver for Apple USB touchpads, to utpms(4) and moveMartin Pieuchot
it to dev/usb because it could be used on intel based mac laptops. Discussed with jcs@, ok deraadt@
2013-05-31add elantech v4 (clickpad) supportjoshua stein
tested on an asus ux21a ok mpi@ stsp@
2013-05-31Add switch screen and scrollback commands to be used with upcomingMartin Pieuchot
virtual terminal support.
2013-05-31enable REALTEK 8211C(L) GbE phy with axe(4).Yojiro Uo
ok jsg@
2013-05-31New logic to accommodate the E5/C600 and 5719/5720 changes in PCI-EMike Belopuhov
maximum payload size handling from FreeBSD. Fixes RX path on 5719 found in newer machines such as HP DL3[68]0 G8 and Dell R320. Tested by dlg@ on 5714, 5719 (Sun V445) and 5720, 5721 (Dell R420); David Imhoff on 5719, 5720, 5721 (various Dell servers); Rob Sessnik on 5719 (HP DL360p G8); mikeb@ on 5719 (HP DL380p G8). ok dlg
2013-05-30Enforce ca_activate tree-walks over the entire heirarchy for all events,Theo de Raadt
cleaning up some shutdown-hook related code on the way. (A few drivers related to sparc are still skipped at kettenis' request) ok kettenis mlarkin, tested by many others too
2013-05-30tedu unused header. okay krw@Kurt Miller
2013-05-29regenYojiro Uo
2013-05-29add ASIX AX88179Yojiro Uo
2013-05-29add another pid of Centrino Advanced-N 6235.Yojiro Uo
2013-05-29regenYojiro Uo
2013-05-29add another pid for Intel Centrino Advanced-N 6235Yojiro Uo
2013-05-29PHY auto-polling mode should not be used for anything newer than BCM5705.Mike Belopuhov
Figured out by David Imhoff, checked against FreeBSD, Linux and official documentation. Fixes up link negotiation on BCM5719. Original diff by David, tweaked by me; tested on BCM5702X and BCM5761 by naddy@; BCM5714, BCM5719, BCM5720 and BCM5721 by dlg@, BCM5721 and BCM5719 by David and BCM5719 by me. ok dlg
2013-05-28regenJonathan Gray
2013-05-28add some more radeon devicesJonathan Gray
2013-05-28Fix a common issue across different PHY drivers to reset theMike Belopuhov
autonegotiation timer when PHY gets the link so that if we restart the timer the mii_ticks value would be sane. Lifted originally from FreeBSD, tested by a few on re(4) and bge(4), ok kettenis
2013-05-27Fix edge cases of uninitialized variables. In my tree for too long, I evenMiod Vallat
got ok's for azalia but I don't remember from whom.