freebsd-dev/sys
Gleb Smirnoff b63720c613 Unbreak mouse on resume on Thinkpads when hw.psm.trackpoint_support=0,
which is default.  It was broken in r281441.

It appears that set_trackpoint_parameters() call on resume disables the
mouse.  So, we need not call it on resume if hw.psm.trackpoint_support=0.

The problem is that the probe functions are used both for probing and
for reiniting on resume. And the absense of the softc parameter is used
as a mark to distinguish reinit and probe, which is quite ugly. At the
same time the softc parameter is needed to call set_trackpoint_parameters().

o Change the arguments of probefunc_t to always supply the softc, and
  use additional enum argument to tell probing from initing.
o Don't call set_trackpoint_parameters() from global doinitialize(),
  instead call it from the enable_trackpoint() only.
o In enable_synaptics() call enable_trackpoint() in both probe and
  reinit cases.

Together with:  Jan Kokemüller <jan.kokemueller gmail.com>
2015-06-12 13:57:04 +00:00
..
amd64 Allow DTrace to be compiled-in to the kernel. 2015-06-10 15:53:39 +00:00
arm Add basic support for ACPI. It splits out the nexus driver to two new 2015-06-11 15:45:33 +00:00
arm64 Add basic support for ACPI. It splits out the nexus driver to two new 2015-06-11 15:45:33 +00:00
boot Pass the ACPI table pointer to the arm64 kernel from loader.efi. 2015-06-11 14:02:23 +00:00
bsm
cam Add support for reading MAM attributes to camcontrol(8) and libcam(3). 2015-06-09 21:39:38 +00:00
cddl MFV r284036: 5961 Fix stack overflow in zfs_create_fs 2015-06-12 11:10:49 +00:00
compat linux: make sure to grab all cow structs when creating a thread 2015-06-10 15:34:43 +00:00
conf Rename ECAM PCI driver file. 2015-06-12 13:54:25 +00:00
contrib MFV: r283965 2015-06-03 19:39:59 +00:00
crypto In the version of gcc in the FreeBSD tree, this modification was made to 2015-04-16 17:42:52 +00:00
ddb ddb: de-register 2015-05-23 14:59:27 +00:00
dev Unbreak mouse on resume on Thinkpads when hw.psm.trackpoint_support=0, 2015-06-12 13:57:04 +00:00
fs Make KPI of vm_pager_get_pages() more strict: if a pager changes a page 2015-06-12 11:32:20 +00:00
gdb CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten 2015-05-22 17:05:21 +00:00
geom Teach G_PART_GPT class to handle g_resize_provider event. 2015-06-08 12:52:41 +00:00
gnu The GNU Amlogic DTS files have some errors (e.g. bad register 2015-04-11 08:17:39 +00:00
i386 Allow DTrace to be compiled-in to the kernel. 2015-06-10 15:53:39 +00:00
isa
kern Make KPI of vm_pager_get_pages() more strict: if a pager changes a page 2015-06-12 11:32:20 +00:00
kgssapi
libkern Add more __aeabi_memcpy functions, later versions of clang generate calls 2015-05-31 07:31:20 +00:00
mips Retire VM_FREEPOOL_CACHE as the next step in eliminating PG_CACHE pages. 2015-06-08 04:59:32 +00:00
modules Import ugold driver from OpenBSD supporting digital USB temperature 2015-06-11 15:23:47 +00:00
net CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten 2015-05-22 17:05:21 +00:00
net80211 Break out the current 802.11 software scan methods into an indirect table. 2015-06-08 02:35:43 +00:00
netgraph CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten 2015-05-22 17:05:21 +00:00
netinet Fix a callout race condition introduced in TCP timers callouts with r281599. 2015-06-10 20:43:07 +00:00
netinet6 Move RTM announces into generic code to be independent from Layer2 code. 2015-05-29 10:24:16 +00:00
netipsec drop key_sa_stir_iv as it isn't used... 2015-06-11 13:05:37 +00:00
netnatm
netpfil pf: Remove frc_direction 2015-06-11 17:57:47 +00:00
netsmb
nfs Avoid closing unallocated socket in case socreate fails. 2015-02-28 20:30:29 +00:00
nfsclient Remove some oldnfs remnants. 2015-04-18 16:08:06 +00:00
nfsserver
nlm
ofed Implement lockless resource limits. 2015-06-10 10:48:12 +00:00
opencrypto Use the correct number of arguments for the 2015-05-25 01:31:39 +00:00
pc98 Build GENERIC with RACCT/RCTL support by default. Note that it still 2015-05-14 14:03:55 +00:00
powerpc Allow DTrace to be compiled-in to the kernel. 2015-06-10 15:53:39 +00:00
rpc Remove hard limits on number of accepting NFS connections. 2015-04-07 10:25:27 +00:00
security cred: add proc_set_cred helper 2015-03-16 00:10:03 +00:00
sparc64 Generalised support for copy-on-write structures shared by threads. 2015-06-10 10:43:59 +00:00
sys several lockstat improvements 2015-06-12 10:01:24 +00:00
teken
tools
ufs Syncing a directory vnode might drop the vnode lock in the 2015-06-03 20:48:00 +00:00
vm Make KPI of vm_pager_get_pages() more strict: if a pager changes a page 2015-06-12 11:32:20 +00:00
x86 Handle X2APIC entries in the MADT for APICs with an ID < 255. At least one 2015-06-09 10:49:40 +00:00
xdr
xen xen-blk{front/back}: remove broken FreeBSD extensions 2015-06-12 07:50:34 +00:00
Makefile Kill EoL whitespace. 2015-05-29 14:03:07 +00:00