svn commit: r261653 - in stable/9/sys/dev/drm2: . i915

2014-02-09 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sun Feb 9 13:56:37 2014 New Revision: 261653 URL: http://svnweb.freebsd.org/changeset/base/261653 Log: MFC r254818: drm: Move definition of EREMOTEIO to drmP.h It will be used by both i915 and radeon drivers. Add ERESTARTSYS definition at the same time. Mo

svn commit: r261654 - stable/9/sys/dev/drm2

2014-02-09 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sun Feb 9 14:02:39 2014 New Revision: 261654 URL: http://svnweb.freebsd.org/changeset/base/261654 Log: MFC r254819: drm: Don't delete already deleted iicbus child from drm_iic_dp_aux The iic_dp_aux_detach callback is therefore useless: it's replaced by bus_gen

svn commit: r261658 - stable/9/sys/dev/drm2

2014-02-09 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sun Feb 9 14:58:47 2014 New Revision: 261658 URL: http://svnweb.freebsd.org/changeset/base/261658 Log: MFC r254820: drm: Use driver-provided "use_msi" callback to determine if MSI is blacklisted For now, keep the static array for i915. But eventually, it should

svn commit: r261659 - stable/9/sys/dev/drm2

2014-02-09 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sun Feb 9 15:17:57 2014 New Revision: 261659 URL: http://svnweb.freebsd.org/changeset/base/261659 Log: MFC r254821: drm: Fix cleanup if device initialization fails This plugs some memory leaks. Modified: stable/9/sys/dev/drm2/drm_drv.c Directory Properties:

svn commit: r261660 - stable/9/sys/dev/drm2

2014-02-09 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sun Feb 9 15:27:26 2014 New Revision: 261660 URL: http://svnweb.freebsd.org/changeset/base/261660 Log: MFC r254833: drm: Import Linux commit cd004b3f4cd4169815c82bf9e424fda06978898a Author: Shirish S Date: Thu Aug 30 07:04:06 2012 + drm: edid:

svn commit: r261661 - stable/9/sys/dev/drm2

2014-02-09 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sun Feb 9 15:34:38 2014 New Revision: 261661 URL: http://svnweb.freebsd.org/changeset/base/261661 Log: MFC r254835: drm: Fix typo in KASSERT message: s/Dandling/Dangling/ Modified: stable/9/sys/dev/drm2/drm_gem.c Directory Properties: stable/9/sys/ (props chan

svn commit: r261662 - stable/9/sys/dev/drm2

2014-02-09 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sun Feb 9 15:48:49 2014 New Revision: 261662 URL: http://svnweb.freebsd.org/changeset/base/261662 Log: MFC r254836, r254837: drm: Support gem_open_object() and gem_close_object() callbacks ... in struct drm_driver_info. Modified: stable/9/sys/dev/drm2/drmP.h

svn commit: r261664 - stable/9/sys/dev/drm2

2014-02-09 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sun Feb 9 15:56:15 2014 New Revision: 261664 URL: http://svnweb.freebsd.org/changeset/base/261664 Log: MFC r254838: drm: In drm_gem_name_create(), verify argument before acquiring lock Submitted by: J.R. Oldroyd Modified: stable/9/sys/dev/drm2/drm_gem_names.

svn commit: r261665 - stable/9/sys/dev/drm2

2014-02-09 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sun Feb 9 16:01:18 2014 New Revision: 261665 URL: http://svnweb.freebsd.org/changeset/base/261665 Log: MFC r254840: drm: Use DRM_IF_MAJOR & DRM_IF_MINOR from drm_core.h Modified: stable/9/sys/dev/drm2/drm_ioctl.c Directory Properties: stable/9/sys/ (props chan

svn commit: r261666 - stable/9/sys/dev/drm2

2014-02-09 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sun Feb 9 16:07:24 2014 New Revision: 261666 URL: http://svnweb.freebsd.org/changeset/base/261666 Log: MFC r254841: drm: Import list_for_each_entry_safe_from() macro Modified: stable/9/sys/dev/drm2/drm_linux_list.h Directory Properties: stable/9/sys/ (props ch

svn commit: r261667 - stable/9/sys/dev/drm2

2014-02-09 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sun Feb 9 16:16:24 2014 New Revision: 261667 URL: http://svnweb.freebsd.org/changeset/base/261667 Log: MFC r254848, r258930: drm: Import drm_pcie_get_speed_cap_mask() in drm_pci.c This comes with several PCI_VENDOR_ID_* defines which should go in a more centra

svn commit: r261669 - stable/9/sys/dev/drm2

2014-02-09 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sun Feb 9 16:38:58 2014 New Revision: 261669 URL: http://svnweb.freebsd.org/changeset/base/261669 Log: MFC r254853: drm: Import drm_fixed.h from Linux 3.8 Added: stable/9/sys/dev/drm2/drm_fixed.h - copied unchanged from r254853, head/sys/dev/drm2/drm_fixed.h

svn commit: r261673 - stable/9/sys/dev/drm2

2014-02-09 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sun Feb 9 19:54:39 2014 New Revision: 261673 URL: http://svnweb.freebsd.org/changeset/base/261673 Log: MFC r258262: drm: Support DRM_CAP_TIMESTAMP_MONOTONIC capability This fixes DPMS with KDE and radeonkms. Without this, the display would freeze when the moni

svn commit: r261674 - stable/9/sys/dev/drm2

2014-02-09 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sun Feb 9 20:08:16 2014 New Revision: 261674 URL: http://svnweb.freebsd.org/changeset/base/261674 Log: MFC r258549: drm: Dereference pointers given to qsort_r()'s cmp callback drm_le_cmp() (qsort_r()'s callback) receives pointers to elements in the array passe

svn commit: r261675 - stable/9/sys/dev/drm2

2014-02-09 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sun Feb 9 20:17:40 2014 New Revision: 261675 URL: http://svnweb.freebsd.org/changeset/base/261675 Log: MFC r259717: drm: Lower priority of "EDID checksum is invalid" message The priority goes from "error" to "debug". Connectors are polled every 10 seconds.

svn commit: r257869 - in head/sys/dev/drm2: . radeon

2013-11-08 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Fri Nov 8 22:44:46 2013 New Revision: 257869 URL: http://svnweb.freebsd.org/changeset/base/257869 Log: drm: Initialize "handle" to 0 before calling drm_gem_handle_create() This is variable is being checked in drm_gem_name_create() before being set. Modified: hea

svn commit: r257870 - head/sys/dev/drm2/radeon

2013-11-08 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Fri Nov 8 22:47:43 2013 New Revision: 257870 URL: http://svnweb.freebsd.org/changeset/base/257870 Log: drm/radeon: Wake up userland after page flip For instance, this caused issues in KDE, such as stuttered animations (with desktop effects enabled). Modified: he

svn commit: r258062 - in stable/10/sys/dev/drm2: . radeon

2013-11-12 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Tue Nov 12 19:10:28 2013 New Revision: 258062 URL: http://svnweb.freebsd.org/changeset/base/258062 Log: MFC r257869: drm: Initialize "handle" to 0 before calling drm_gem_handle_create() This is variable is being checked in drm_gem_name_create() before being set

svn commit: r258068 - stable/10/sys/dev/drm2/radeon

2013-11-12 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Tue Nov 12 20:00:51 2013 New Revision: 258068 URL: http://svnweb.freebsd.org/changeset/base/258068 Log: MFC r257870: drm/radeon: Wake up userland after page flip For instance, this caused issues in KDE, such as stuttered animations (with desktop effects enabled

svn commit: r258262 - head/sys/dev/drm2

2013-11-17 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sun Nov 17 16:07:52 2013 New Revision: 258262 URL: http://svnweb.freebsd.org/changeset/base/258262 Log: drm: Support DRM_CAP_TIMESTAMP_MONOTONIC capability This fixes DPMS with KDE and radeonkms. Without this, the display would freeze when the monitor is put into sl

svn commit: r258549 - head/sys/dev/drm2

2013-11-25 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Mon Nov 25 11:15:51 2013 New Revision: 258549 URL: http://svnweb.freebsd.org/changeset/base/258549 Log: drm: Dereference pointers given to qsort_r()'s cmp callback drm_le_cmp() (qsort_r()'s callback) receives pointers to elements in the array passed to qsort_r(), no

svn commit: r258553 - head/sys/dev/drm2

2013-11-25 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Mon Nov 25 15:01:59 2013 New Revision: 258553 URL: http://svnweb.freebsd.org/changeset/base/258553 Log: drm: Fix build with gcc, broken with r258549 The code was easier to read without __DECONST and clang didn't report any error. I thought the cast was enough...

svn commit: r258706 - stable/10/sys/dev/drm2

2013-11-28 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Thu Nov 28 09:30:05 2013 New Revision: 258706 URL: http://svnweb.freebsd.org/changeset/base/258706 Log: MFC r258262: drm: Support DRM_CAP_TIMESTAMP_MONOTONIC capability This fixes DPMS with KDE and radeonkms. Without this, the display would freeze when the moni

svn commit: r258707 - stable/10/sys/dev/drm2

2013-11-28 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Thu Nov 28 10:04:53 2013 New Revision: 258707 URL: http://svnweb.freebsd.org/changeset/base/258707 Log: MFC r258549 and r258553: drm: Dereference pointers given to qsort_r()'s cmp callback drm_le_cmp() (qsort_r()'s callback) receives pointers to elements in the

svn commit: r258930 - head/sys/dev/drm2

2013-12-04 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Wed Dec 4 19:04:56 2013 New Revision: 258930 URL: http://svnweb.freebsd.org/changeset/base/258930 Log: drm: Read PCIER_LINK_CAP/PCIER_LINK_CAP2 from the PCI bridge Before this fix, capabilities were read from vgapci and were incorrect. Modified: head/sys/dev/drm2/

svn commit: r259101 - head/sys/dev/drm2/radeon

2013-12-08 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sun Dec 8 14:21:54 2013 New Revision: 259101 URL: http://svnweb.freebsd.org/changeset/base/259101 Log: drm/radeon: agp_info->ai_aperture_size is in bytes, not Mbytes This fixes radeon_agp_init() and gtt_size is now correct. However, this is not enough to make Radeo

svn commit: r259104 - head/sys/dev/drm2/radeon

2013-12-08 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sun Dec 8 18:48:07 2013 New Revision: 259104 URL: http://svnweb.freebsd.org/changeset/base/259104 Log: drm/radeon: radeon_dp_i2c_aux_ch() must return 0 on FreeBSD The code was unmodified compared to Linux and returned the amount of received bytes from the i2c bus.

svn commit: r259234 - stable/10/sys/dev/drm2/radeon

2013-12-11 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Wed Dec 11 22:26:09 2013 New Revision: 259234 URL: http://svnweb.freebsd.org/changeset/base/259234 Log: MFC r259101: drm/radeon: agp_info->ai_aperture_size is in bytes, not Mbytes This fixes radeon_agp_init() and gtt_size is now correct. However, this is not en

svn commit: r259236 - stable/10/sys/dev/drm2/radeon

2013-12-11 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Wed Dec 11 23:06:03 2013 New Revision: 259236 URL: http://svnweb.freebsd.org/changeset/base/259236 Log: MFC r259104: drm/radeon: radeon_dp_i2c_aux_ch() must return 0 on FreeBSD The code was unmodified compared to Linux and returned the amount of received bytes

svn commit: r259237 - stable/10/sys/dev/drm2

2013-12-11 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Wed Dec 11 23:15:19 2013 New Revision: 259237 URL: http://svnweb.freebsd.org/changeset/base/259237 Log: MFC r258930: drm: Read PCIER_LINK_CAP/PCIER_LINK_CAP2 from the PCI bridge Before this fix, capabilities were read from vgapci and were incorrect. Modified:

svn commit: r259367 - releng/10.0/sys/dev/drm2/radeon

2013-12-13 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sat Dec 14 00:25:25 2013 New Revision: 259367 URL: http://svnweb.freebsd.org/changeset/base/259367 Log: MFC r259234: drm/radeon: agp_info->ai_aperture_size is in bytes, not Mbytes This fixes radeon_agp_init() and gtt_size is now correct. However, this is not en

svn commit: r259370 - releng/10.0/sys/dev/drm2/radeon

2013-12-13 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sat Dec 14 00:40:47 2013 New Revision: 259370 URL: http://svnweb.freebsd.org/changeset/base/259370 Log: MFC r259236: drm/radeon: radeon_dp_i2c_aux_ch() must return 0 on FreeBSD The code was unmodified compared to Linux and returned the amount of received bytes

svn commit: r259376 - releng/10.0/sys/dev/drm2

2013-12-13 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sat Dec 14 01:01:32 2013 New Revision: 259376 URL: http://svnweb.freebsd.org/changeset/base/259376 Log: MFC r259237: drm: Read PCIER_LINK_CAP/PCIER_LINK_CAP2 from the PCI bridge Before this fix, capabilities were read from vgapci and were incorrect. Approved

svn commit: r259679 - head/sys/dev/pci

2013-12-21 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sat Dec 21 12:55:42 2013 New Revision: 259679 URL: http://svnweb.freebsd.org/changeset/base/259679 Log: vga_pci: Improve boot display detection The previous code was checking the "VGA Enable" bit on the video card's parent PCI-to-PCI bridge only. This didn't work fo

svn commit: r259684 - in head/sys/dev/drm2: radeon ttm

2013-12-21 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sat Dec 21 15:40:36 2013 New Revision: 259684 URL: http://svnweb.freebsd.org/changeset/base/259684 Log: drm/ttm, drm/radeon: Replace EINTR/ERESTART by ERESTARTSYS... ... for msleep/cv_*wait() return values, where wait_event*() is used on Linux. ERESTARTSYS is the re

svn commit: r259717 - head/sys/dev/drm2

2013-12-22 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sun Dec 22 11:11:23 2013 New Revision: 259717 URL: http://svnweb.freebsd.org/changeset/base/259717 Log: drm: Lower priority of "EDID checksum is invalid" message The priority goes from "error" to "debug". Connectors are polled every 10 seconds. Reading EDID is pa

svn commit: r259741 - stable/10/sys/dev/pci

2013-12-22 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sun Dec 22 21:09:43 2013 New Revision: 259741 URL: http://svnweb.freebsd.org/changeset/base/259741 Log: MFC r259679: vga_pci: Improve boot display detection The previous code was checking the "VGA Enable" bit on the video card's parent PCI-to-PCI bridge only. T

svn commit: r259742 - in stable/10/sys/dev/drm2: radeon ttm

2013-12-22 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sun Dec 22 21:18:21 2013 New Revision: 259742 URL: http://svnweb.freebsd.org/changeset/base/259742 Log: MFC r259684: drm/ttm, drm/radeon: Replace EINTR/ERESTART by ERESTARTSYS... ... for msleep/cv_*wait() return values, where wait_event*() is used on Linux. ERE

svn commit: r259745 - stable/10/sys/dev/drm2

2013-12-22 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sun Dec 22 21:53:08 2013 New Revision: 259745 URL: http://svnweb.freebsd.org/changeset/base/259745 Log: MFC r259717: drm: Lower priority of "EDID checksum is invalid" message The priority goes from "error" to "debug". Connectors are polled every 10 seconds.

svn commit: r259752 - releng/10.0/sys/dev/pci

2013-12-22 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sun Dec 22 23:31:04 2013 New Revision: 259752 URL: http://svnweb.freebsd.org/changeset/base/259752 Log: Merge from stable/10, r259741: vga_pci: Improve boot display detection The previous code was checking the "VGA Enable" bit on the video card's parent PCI-to-

svn commit: r259754 - in releng/10.0/sys/dev/drm2: radeon ttm

2013-12-22 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sun Dec 22 23:41:14 2013 New Revision: 259754 URL: http://svnweb.freebsd.org/changeset/base/259754 Log: Merge from stable/10, r259742: drm/ttm, drm/radeon: Replace EINTR/ERESTART by ERESTARTSYS... ... for msleep/cv_*wait() return values, where wait_event*() is us

svn commit: r259755 - releng/10.0/sys/dev/drm2

2013-12-22 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sun Dec 22 23:52:11 2013 New Revision: 259755 URL: http://svnweb.freebsd.org/changeset/base/259755 Log: Merge from stable/10, r259745: drm: Lower priority of "EDID checksum is invalid" message The priority goes from "error" to "debug". Connectors are polled

svn commit: r256771 - head/sys/dev/drm2/radeon

2013-10-19 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sat Oct 19 17:11:58 2013 New Revision: 256771 URL: http://svnweb.freebsd.org/changeset/base/256771 Log: drm/radeon: radeonkms depends on firmware(9) Submitted by: tijl@ Modified: head/sys/dev/drm2/radeon/radeon_drv.c Modified: head/sys/dev/drm2/radeon/radeon_drv.c

svn commit: r257358 - stable/10/sys/dev/drm2/radeon

2013-10-29 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Tue Oct 29 19:50:40 2013 New Revision: 257358 URL: http://svnweb.freebsd.org/changeset/base/257358 Log: MFC r256771: drm/radeon: radeonkms depends on firmware(9) Submitted by: tijl@ Approved by: re (kib) Modified: stable/10/sys/dev/drm2/radeon/radeon_drv.c

svn commit: r230211 - head/tools/regression/bin/sh/builtins

2012-01-16 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Mon Jan 16 10:59:44 2012 New Revision: 230211 URL: http://svn.freebsd.org/changeset/base/230211 Log: sh: Test EXIT trap with multiple statements in it Reviewed by: jilles MFC after:2 weeks Added: head/tools/regression/bin/sh/builtins/trap9.0 (contents, pro

svn commit: r230212 - in head: bin/sh tools/regression/bin/sh/builtins

2012-01-16 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Mon Jan 16 11:07:46 2012 New Revision: 230212 URL: http://svn.freebsd.org/changeset/base/230212 Log: sh: Fix execution of multiple statements in a trap when evalskip is set Before this fix, only the first statement of the trap was executed if evalskip was set. This

svn commit: r230595 - stable/9/sys/dev/acpica

2012-01-26 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Thu Jan 26 19:15:13 2012 New Revision: 230595 URL: http://svn.freebsd.org/changeset/base/230595 Log: MFC r227992: Prevent a division by zero with some broken batteries This problem was seen on a laptop with a dead battery. Modified: stable/9/sys/dev/acpica/acp

svn commit: r230596 - stable/8/sys/dev/acpica

2012-01-26 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Thu Jan 26 19:18:10 2012 New Revision: 230596 URL: http://svn.freebsd.org/changeset/base/230596 Log: MFC r227992: Prevent a division by zero with some broken batteries This problem was seen on a laptop with a dead battery. Modified: stable/8/sys/dev/acpica/acp

svn commit: r230597 - in stable/9: sbin/dhclient tools/regression/sbin tools/regression/sbin/dhclient

2012-01-26 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Thu Jan 26 19:46:13 2012 New Revision: 230597 URL: http://svn.freebsd.org/changeset/base/230597 Log: MFC r228259: Support domain-search in dhclient(8) The "domain-search" option (option 119) allows a DHCP server to publish a list of implicit domain suffixes used d

svn commit: r230603 - in stable/8: sbin/dhclient tools/regression/sbin tools/regression/sbin/dhclient

2012-01-26 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Thu Jan 26 22:01:05 2012 New Revision: 230603 URL: http://svn.freebsd.org/changeset/base/230603 Log: MFC r228259: Support domain-search in dhclient(8) The "domain-search" option (option 119) allows a DHCP server to publish a list of implicit domain suffixes used d

svn commit: r230728 - stable/9/sbin/dhclient

2012-01-29 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sun Jan 29 10:55:19 2012 New Revision: 230728 URL: http://svn.freebsd.org/changeset/base/230728 Log: MFC r229002: Set svn:executable on dhclient-script Sponsored by: Yakaz (http://www.yakaz.com) Modified: Directory Properties: stable/9/sbin/dhclient/ (props cha

svn commit: r230729 - stable/8/sbin/dhclient

2012-01-29 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sun Jan 29 11:00:00 2012 New Revision: 230729 URL: http://svn.freebsd.org/changeset/base/230729 Log: MFC r229002: Set svn:executable on dhclient-script Sponsored by: Yakaz (http://www.yakaz.com) Modified: Directory Properties: stable/8/sbin/dhclient/ (props cha

svn commit: r231082 - stable/9/tools/regression/bin/sh/builtins

2012-02-06 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Mon Feb 6 13:14:26 2012 New Revision: 231082 URL: http://svn.freebsd.org/changeset/base/231082 Log: MFC r230211: sh: Test EXIT trap with multiple statements in it Reviewed by: jilles Added: stable/9/tools/regression/bin/sh/builtins/trap9.0 - copied unchang

svn commit: r231083 - stable/8/tools/regression/bin/sh/builtins

2012-02-06 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Mon Feb 6 13:17:57 2012 New Revision: 231083 URL: http://svn.freebsd.org/changeset/base/231083 Log: MFC r230211: sh: Test EXIT trap with multiple statements in it Reviewed by: jilles Added: stable/8/tools/regression/bin/sh/builtins/trap9.0 - copied unchang

svn commit: r231085 - in stable/9: bin/sh tools/regression/bin/sh/builtins

2012-02-06 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Mon Feb 6 13:29:50 2012 New Revision: 231085 URL: http://svn.freebsd.org/changeset/base/231085 Log: MFC r230212: sh: Fix execution of multiple statements in a trap when evalskip is set Before this fix, only the first statement of the trap was executed if evalskip

svn commit: r231086 - in stable/8: bin/sh tools/regression/bin/sh/builtins

2012-02-06 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Mon Feb 6 13:36:49 2012 New Revision: 231086 URL: http://svn.freebsd.org/changeset/base/231086 Log: MFC r230212: sh: Fix execution of multiple statements in a trap when evalskip is set Before this fix, only the first statement of the trap was executed if evalskip

svn commit: r244405 - head/sys/dev/atkbdc

2012-12-18 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Tue Dec 18 20:02:53 2012 New Revision: 244405 URL: http://svnweb.freebsd.org/changeset/base/244405 Log: psm: Support detection of Synaptics touchpad v7.5 and above Starting with firmware v7.5, the "Read TouchPad Modes" ($01) and "Read Capabilities" ($02) commands ch

svn commit: r244976 - stable/9/sys/dev/atkbdc

2013-01-02 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Wed Jan 2 21:27:32 2013 New Revision: 244976 URL: http://svnweb.freebsd.org/changeset/base/244976 Log: MFC r244405: psm: Support detection of Synaptics touchpad v7.5 and above Starting with firmware v7.5, the "Read TouchPad Modes" ($01) and "Read Capabilities" ($

svn commit: r244982 - stable/8/sys/dev/atkbdc

2013-01-02 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Wed Jan 2 22:14:18 2013 New Revision: 244982 URL: http://svnweb.freebsd.org/changeset/base/244982 Log: MFC r244405: psm: Support detection of Synaptics touchpad v7.5 and above Starting with firmware v7.5, the "Read TouchPad Modes" ($01) and "Read Capabilities" ($

svn commit: r233507 - head/lib/libpam/modules/pam_exec

2012-03-26 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Mon Mar 26 12:18:15 2012 New Revision: 233507 URL: http://svn.freebsd.org/changeset/base/233507 Log: Use program exit status as pam_exec return code (optional) pam_exec(8) now accepts a new option "return_prog_exit_status". When set, the program exit status is used

svn commit: r233575 - head/sys/gnu/fs/reiserfs

2012-03-27 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Tue Mar 27 20:36:03 2012 New Revision: 233575 URL: http://svn.freebsd.org/changeset/base/233575 Log: Make ReiserFS MPSAFE Most functions seemed to be already fine w.r.t. what's done in msdosfs. MFC after:1 month Modified: head/sys/gnu/fs/reiserfs/reiserfs_

svn commit: r234184 - head/lib/libpam/modules/pam_exec

2012-04-12 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Thu Apr 12 14:02:59 2012 New Revision: 234184 URL: http://svn.freebsd.org/changeset/base/234184 Log: Fix error messages containing the executed command name Before, we took the first argument to pam_exec(8). With the addition of options in front of the command, this

svn commit: r234836 - head/lib/libc/stdio

2012-04-30 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Mon Apr 30 11:28:17 2012 New Revision: 234836 URL: http://svn.freebsd.org/changeset/base/234836 Log: Remove incorrect __restrict qualifier on several pointers The typical case was: static __inline int convert_ccl(FILE *fp, char * __restrict p, [...]) {

svn commit: r234842 - stable/9/lib/libpam/modules/pam_exec

2012-04-30 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Mon Apr 30 13:34:15 2012 New Revision: 234842 URL: http://svn.freebsd.org/changeset/base/234842 Log: MFC r233507: Use program exit status as pam_exec return code (optional) pam_exec(8) now accepts a new option "return_prog_exit_status". When set, the program exit

svn commit: r234843 - stable/8/lib/libpam/modules/pam_exec

2012-04-30 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Mon Apr 30 13:37:07 2012 New Revision: 234843 URL: http://svn.freebsd.org/changeset/base/234843 Log: MFC r233507: Use program exit status as pam_exec return code (optional) pam_exec(8) now accepts a new option "return_prog_exit_status". When set, the program exit

svn commit: r234845 - stable/9/sys/gnu/fs/reiserfs

2012-04-30 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Mon Apr 30 15:46:41 2012 New Revision: 234845 URL: http://svn.freebsd.org/changeset/base/234845 Log: MFC r233575: Make ReiserFS MPSAFE Most functions seemed to be already fine w.r.t. what's done in msdosfs. Modified: stable/9/sys/gnu/fs/reiserfs/reiserfs_vfsops.c

svn commit: r234847 - head/share/misc

2012-04-30 Thread Jean-Sebastien Pedron
2010/08/30"] dougb [label="Doug Barton\ndo...@freebsd.org\n2000/10/26"] dteske [label="Devin Teske\ndte...@freebsd.org\n2012/04/10"] +dumbbell [label="Jean-Sebastien Pedron\ndumbb...@freebsd.org\n2004/11/29"] dwmalone [label="David Malone\ndwmal...@f

svn commit: r247837 - head/sys/geom/label

2013-03-05 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Tue Mar 5 11:02:05 2013 New Revision: 247837 URL: http://svnweb.freebsd.org/changeset/base/247837 Log: g_label_ntfs.c: Mark structures as __packed Without this, read data is mis-interpreted. This could trigger a panic, as was the case on one computer where computed

svn commit: r247839 - head/sys/dev/drm2

2013-03-05 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Tue Mar 5 11:18:57 2013 New Revision: 247839 URL: http://svnweb.freebsd.org/changeset/base/247839 Log: drm_global.c: Destroy sx in drm_global_release() This fixes a build error at the same time (unused variable "item"), if the kernel is compiled without INVARIANTS.

svn commit: r200674 - in head: share/man/man4 sys/dev/atkbdc

2009-12-18 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Fri Dec 18 17:46:57 2009 New Revision: 200674 URL: http://svn.freebsd.org/changeset/base/200674 Log: Add new "hw.psm.tap_enabled" tunable and sysctl. This tunable allows one to enable (1) or disable (0) gestures like tap and tap-hold on Synaptics TouchPad when the E

svn commit: r186175 - head/sys/dev/atkbdc

2008-12-16 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Tue Dec 16 09:51:13 2008 New Revision: 186175 URL: http://svn.freebsd.org/changeset/base/186175 Log: Rephrase and/or fix some comments in Synaptics touchpad initialization function. Modified: head/sys/dev/atkbdc/psm.c Modified: head/sys/dev/atkbdc/psm.c =

svn commit: r186218 - head/sys/dev/atkbdc

2008-12-17 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Wed Dec 17 10:42:53 2008 New Revision: 186218 URL: http://svn.freebsd.org/changeset/base/186218 Log: Synaptics touchpads must be reinitialized after suspend/resume. This fixes touchpad resume on Asus EeePC among others. Submitted by: rpaulo Modified: head/sys/

svn commit: r183888 - head/sys/dev/atkbdc

2008-10-14 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Tue Oct 14 17:48:36 2008 New Revision: 183888 URL: http://svn.freebsd.org/changeset/base/183888 Log: Rewrite Synaptics touchpads support with the following goals in mind: o better quality of the movement smoothing o more features such as tap-hold and virtual

svn commit: r267430 - in stable/9/sys: dev/drm2/radeon modules/drm2/radeonkms

2014-06-12 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Thu Jun 12 22:42:31 2014 New Revision: 267430 URL: http://svnweb.freebsd.org/changeset/base/267430 Log: drm/radeon: Add 32bit ioctls support This allows to run 32bit applications on a 64bit host. This was tested successfully with Wine (emulators/i386-wine-devel) and

svn commit: r272537 - head/sys/dev/vt

2014-10-04 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sat Oct 4 18:40:40 2014 New Revision: 272537 URL: https://svnweb.freebsd.org/changeset/base/272537 Log: vt(4): Don't recalculate buffer size if we don't know screen size When the screen size is unknown, it's set to 0x0. We can't use that as the buffer size, otherwi

svn commit: r273036 - stable/10/sys/dev/vt

2014-10-13 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Mon Oct 13 13:50:51 2014 New Revision: 273036 URL: https://svnweb.freebsd.org/changeset/base/273036 Log: vt(4): Save/restore keyboard mode & LED states when switching window (MFC of r272416) Add new functions to manipulate these mode & state, instead of calling

svn commit: r273037 - stable/10/sys/dev/vt

2014-10-13 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Mon Oct 13 14:40:00 2014 New Revision: 273037 URL: https://svnweb.freebsd.org/changeset/base/273037 Log: vt(4): Don't recalculate buffer size if we don't know screen size (MFC of r272537) When the screen size is unknown, it's set to 0x0. We can't use that as th

svn commit: r273103 - releng/10.1/sys/dev/vt

2014-10-14 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Tue Oct 14 19:01:11 2014 New Revision: 273103 URL: https://svnweb.freebsd.org/changeset/base/273103 Log: vt(4): Save/restore keyboard mode & LED states when switching window MF10: r273036 MFC: r272416 Add new functions to manipulate these mode & state, instead

svn commit: r273104 - releng/10.1/sys/dev/vt

2014-10-14 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Tue Oct 14 19:10:00 2014 New Revision: 273104 URL: https://svnweb.freebsd.org/changeset/base/273104 Log: vt(4): Don't recalculate buffer size if we don't know screen size MF10: r273037 MFC: r272537 When the screen size is unknown, it's set to 0x0. We can't use

svn commit: r273330 - head/sys/dev/vt

2014-10-20 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Mon Oct 20 14:25:23 2014 New Revision: 273330 URL: https://svnweb.freebsd.org/changeset/base/273330 Log: vt(4): Refuse to load a font if hw.vga.textmode is selected Before, the font was loaded and the window size recalculated, giving an unusable terminal, even if th

svn commit: r273544 - in head: sys/dev/vt sys/sys usr.sbin/vidcontrol

2014-10-23 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Thu Oct 23 12:38:05 2014 New Revision: 273544 URL: https://svnweb.freebsd.org/changeset/base/273544 Log: vt(4): Add PIO_VFONT_DEFAULT ioctl to restore the default builtin font To restore the default font using vidcontrol(1), use the "-f" flag without an argument:

svn commit: r273545 - stable/10/sys/dev/vt

2014-10-23 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Thu Oct 23 13:32:01 2014 New Revision: 273545 URL: https://svnweb.freebsd.org/changeset/base/273545 Log: vt(4): Refuse to load a font if hw.vga.textmode is selected Before, the font was loaded and the window size recalculated, giving an unusable terminal, even if th

svn commit: r273921 - in stable/10: sys/dev/vt sys/sys usr.sbin/vidcontrol

2014-10-31 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Fri Oct 31 23:10:58 2014 New Revision: 273921 URL: https://svnweb.freebsd.org/changeset/base/273921 Log: vt(4): Add PIO_VFONT_DEFAULT ioctl to restore the default builtin font To restore the default font using vidcontrol(1), use the "-f" flag without an argument:

svn commit: r273932 - in head/sys: dev/vt kern sys

2014-11-01 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sat Nov 1 17:05:15 2014 New Revision: 273932 URL: https://svnweb.freebsd.org/changeset/base/273932 Log: vt(4): Adjust the cursor position after changing the window size A new terminal_set_cursor() is added: it wraps the existing teken_set_cursor() function. In

svn commit: r273962 - in head/sys/dev/drm2: . radeon

2014-11-02 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sun Nov 2 09:52:22 2014 New Revision: 273962 URL: https://svnweb.freebsd.org/changeset/base/273962 Log: drm: Lower priority of two messages related to invalid EDID Like in r259717, the prority goes from "error" to "debug" to avoid spamming logs when the connectors

svn commit: r273973 - head/sys/dev/vt

2014-11-02 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sun Nov 2 16:04:48 2014 New Revision: 273973 URL: https://svnweb.freebsd.org/changeset/base/273973 Log: vt(4): Fix keyboard allocation when kbdmux(4) isn't used The problem was that only the kbdmux keyboard index was saved in vd->vd_keyboard. This index is -1 when

svn commit: r274031 - head/sys/dev/drm2

2014-11-03 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Mon Nov 3 10:42:27 2014 New Revision: 274031 URL: https://svnweb.freebsd.org/changeset/base/274031 Log: drm: Take vt(4) default mode from loader tunables By default, vt(4) gets the "preferred mode" from DRM, when using a DRM video driver as its backend. The preferr

svn commit: r274049 - head/sys/dev/drm2

2014-11-03 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Mon Nov 3 14:35:07 2014 New Revision: 274049 URL: https://svnweb.freebsd.org/changeset/base/274049 Log: drm: When reading connector mode tunables, list connectors ... and their associated tunables. This gives a way to know the list of available connectors, no matte

svn commit: r274050 - head/share/man/man4

2014-11-03 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Mon Nov 3 14:57:41 2014 New Revision: 274050 URL: https://svnweb.freebsd.org/changeset/base/274050 Log: vt(4): Document kern.vt.fb.default_mode and kern.vt.fb.modes.* Those tunables are used to set a specific mode in vt(4) instead of using the default mode. Di

svn commit: r274051 - head/share/man/man4

2014-11-03 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Mon Nov 3 15:25:48 2014 New Revision: 274051 URL: https://svnweb.freebsd.org/changeset/base/274051 Log: vt(4): Improve the description of kern.vt.fb.modes.$connector Differential Revision:https://reviews.freebsd.org/D1098 Submitted by: emaste@ MFC after:

svn commit: r274053 - head/share/man/man4

2014-11-03 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Mon Nov 3 16:01:44 2014 New Revision: 274053 URL: https://svnweb.freebsd.org/changeset/base/274053 Log: vt(4): Start new sentences on their own lines Submitted by: brueffer@ MFC after:1 week Modified: head/share/man/man4/vt.4 Modified: head/share/man/man4/v

svn commit: r274085 - in head: . sys/kern sys/sys

2014-11-04 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Tue Nov 4 10:18:03 2014 New Revision: 274085 URL: https://svnweb.freebsd.org/changeset/base/274085 Log: Enable vt(4) by default vt(4) is a new console driver which brings features such as: o Support for Unicode and double-width characters o Integration

svn commit: r274117 - head/sys/dev/vt

2014-11-04 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Tue Nov 4 23:51:35 2014 New Revision: 274117 URL: https://svnweb.freebsd.org/changeset/base/274117 Log: vt(4): Support syscons' SC_HISTORY_SIZE to configure history size Therefore, to set histry size to 2000 lines, add the following line to your kernel configuratio

svn commit: r266594 - in stable/10/sys: dev/drm2/radeon modules/drm2/radeonkms

2014-05-23 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Fri May 23 19:43:20 2014 New Revision: 266594 URL: http://svnweb.freebsd.org/changeset/base/266594 Log: drm/radeon: Add 32bit ioctls support This allows to run 32bit applications on a 64bit host. This was tested successfully with Wine (emulators/i386-wine-devel) and

svn commit: r269729 - in head/usr.bin/sed: . tests

2014-08-08 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Fri Aug 8 17:29:01 2014 New Revision: 269729 URL: http://svnweb.freebsd.org/changeset/base/269729 Log: sed(1): Don't force a newline on last line, if input stream doesn't have one While here, change how we check if the current line is the last one. Before, we just

svn commit: r269779 - head/sys/dev/fb

2014-08-10 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sun Aug 10 14:55:39 2014 New Revision: 269779 URL: http://svnweb.freebsd.org/changeset/base/269779 Log: fbd: Fix a bug where vt_fb_attach() success would be considered a failure vt_fb_attach() currently always returns 0, but it could return a code defined in errno.h

svn commit: r269780 - head/sys/dev/vt

2014-08-10 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sun Aug 10 15:02:51 2014 New Revision: 269780 URL: http://svnweb.freebsd.org/changeset/base/269780 Log: vt(4): Add vtbuf_dirty*_locked() to lock vtbuf once, not twice In several functions, vtbuf_putchar() in particular, the lock on vtbuf is acquired twice: 1.

svn commit: r269783 - in head/sys/dev: fb vt/colors vt/hw/efifb vt/hw/fb vt/hw/ofwfb

2014-08-10 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sun Aug 10 17:04:10 2014 New Revision: 269783 URL: http://svnweb.freebsd.org/changeset/base/269783 Log: vt(4): Colors are indexed against a console palette, not a VGA palette Rename vt_generate_vga_palette() to vt_generate_cons_palette() and change it to build a pal

svn commit: r269791 - in head/sys: arm/freescale/imx powerpc/ps3

2014-08-10 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sun Aug 10 22:24:14 2014 New Revision: 269791 URL: http://svnweb.freebsd.org/changeset/base/269791 Log: Fix two files forgotten in r269783 (vt_generate_cons_palette) Reported by: bz MFC after:1 week MFC with: 269783 Modified: head/sys/arm/freescale/imx

svn commit: r270182 - stable/10/sys/dev/vt

2014-08-19 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Tue Aug 19 20:53:28 2014 New Revision: 270182 URL: http://svnweb.freebsd.org/changeset/base/270182 Log: vt(4): Add vtbuf_dirty*_locked() to lock vtbuf once, not twice In several functions, vtbuf_putchar() in particular, the lock on vtbuf is acquired twice: 1.

<    1   2   3   >