summaryrefslogtreecommitdiffstats
path: root/sys/dev
AgeCommit message (Collapse)AuthorFilesLines
2013-06-02The AML on the Lanner FW-8758 does a Store() to a named object that's neverkettenis1-3/+18
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.mlarkin1-3/+9
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 allowsmatthieu1-1/+5
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.kettenis2-6/+6
ok jsg@
2013-06-01Add vmx(4) to the kernel config, but comment it out for now.reyk1-2/+7
ok deraadt@
2013-05-31Fix the build for a kernel without wd and pciide in its config.bluhm1-1/+6
OK deraadt@ tedu@
2013-05-31Replace shutdownhooks with activate functions, properly doing thosederaadt1-12/+28
operations only if device is console ok kettenis
2013-05-31Correct sequencing in ca_activate function. Some operations were in thederaadt3-9/+15
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.uebayasi2-0/+1518
Tested by reyk@, yasuoka@ OK'ed by reyk@, deraadt@
2013-05-31Rename tpms(4), the driver for Apple USB touchpads, to utpms(4) and movempi2-1/+657
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) supportjcs2-3/+220
tested on an asus ux21a ok mpi@ stsp@
2013-05-31Add switch screen and scrollback commands to be used with upcomingmpi1-16/+16
virtual terminal support.
2013-05-31enable REALTEK 8211C(L) GbE phy with axe(4).yuo2-23/+53
ok jsg@
2013-05-31New logic to accommodate the E5/C600 and 5719/5720 changes in PCI-Emikeb2-24/+34
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,deraadt38-231/+288
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@kurt1-429/+0
2013-05-29regenyuo2-4/+9
2013-05-29add ASIX AX88179yuo1-1/+2
2013-05-29add another pid of Centrino Advanced-N 6235.yuo1-2/+4
2013-05-29regenyuo2-2/+7
2013-05-29add another pid for Intel Centrino Advanced-N 6235yuo1-1/+2
2013-05-29PHY auto-polling mode should not be used for anything newer than BCM5705.mikeb2-14/+36
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-28regenjsg2-10/+1125
2013-05-28add some more radeon devicesjsg1-4/+227
2013-05-28Fix a common issue across different PHY drivers to reset themikeb7-15/+29
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 evenmiod3-4/+10
got ok's for azalia but I don't remember from whom.
2013-05-27Make i915_gem_set_domain_ioctl closer to the Linux code. Prepares us for akettenis1-19/+43
future where we don't map everything through the GTT anymore.
2013-05-24MacBookAir4,1 needs the same unmute quirk as MacBookAir3,1jsg1-2/+3
problem reported and fix tested by jcs@
2013-05-24Since audio code is mp safe, establish isa and pci audio interruptsratchov27-78/+85
with the IPL_MPSAFE flag. In certain circumstances, this prevents interrupt handlers from waiting the global kernel_lock possibly (hold by slower code) to be released. ok kettenis
2013-05-23Revert Active PS/2 support for now, until we find a solution suitabletobias5-262/+57
for chipsets which stopped working. ok mpi
2013-05-23Properly implement access to IndexField() field units. The origional codekettenis1-10/+79
only worked for field units that were 8 bits or less in size on fields using byte access. Fixes issues origionally reported by jcs@ and armani@. ok mlarkin@
2013-05-22BUS_DMA_WAITOK can't be used in the bge_init path since itmikeb1-3/+3
might be called from a timeout(9); ok kettenis, dlg, deraadt
2013-05-21Delete unused function.kettenis2-22/+2
2013-05-21Rewrite ioctl handling bits.brad1-39/+19
ok sthen@
2013-05-21Rewrite ioctl handling bits.brad1-31/+14
ok sthen@
2013-05-21Simplify the debug output to help diagnose problems without needingmpi1-59/+20
special glasses. No object change if UHUB_DEBUG is not defined.
2013-05-21Check for NULL ptr before dereferencing, not after; found the hard way bymiod1-5/+5
dcoppa@
2013-05-21Ensure that sc_lock is held when calling sr_meta_native_bootprobe() - thejsing1-2/+6
softraid status functions will complain otherwise. Found the hard way by ajacoutot@
2013-05-21sr_raid_startwu() is no longer called from interrupt context, hence doesjsing1-25/+13
not need to invoke a workq-based callback.
2013-05-21Provide a function that handles the scheduling of work units. Thisjsing8-136/+83
simplifies the discipline code, avoids code duplication and moves the scheduling logic into a single location. ok krw@
2013-05-21Make the sr_raid_startwu() function handle deferred work units, instead ofjsing1-11/+7
the caller having to handle the state changes.
2013-05-21Fix missing work unit state initialisations.jsing3-3/+6
2013-05-21Use a state to indicate that a work unit should only be constructed and notjsing5-11/+14
scheduled, rather than trying to imply this from the rebuild flag.
2013-05-20Remove `abort_task' from usb task queue before recycling a `structyasuoka3-3/+15
usbd_xfer object' which includes the `abort_task'. Otherwise usb_abort_task_thread() may try to dequeue the recycled task then it causes panic with page fault. reported by Edd Barrett and Wade, Daniel. ok mpi
2013-05-18Add parameters describing the usable part of the GTT and enable the checkskettenis3-13/+16
that use them.
2013-05-18Sync with Linux. Mostly comment and whitespace changes, but adds some missingkettenis1-75/+93
locking, and enables some #ifdef'ed out code.
2013-05-18enw->new in comment;jmc1-2/+2
spotted by krw, missed by jsg, and forwarded From: Alexey Suslikov
2013-05-17wsmoused supportkettenis1-2/+12
2013-05-17Implement wsmoused support based on the new multiple screen support. Onlykettenis2-8/+26
works if the RI_VCONS flag is specified when initializing a rasops_info descriptor.
2013-05-17Make it clear that the code related to a transfer submission doesn'tmpi1-5/+4
leak anything to userland because it doesn't set the USBD_SHORT_XFER_OK flag. Also prevent a bad copy/paste from introducing a similar issue by using the actual transferred length instead of the requested one in uiomove(). ok miod@