svn commit: r270521 - head/sys/boot/common

2014-08-25 Thread Andrey V. Elsukov
Author: ae Date: Mon Aug 25 07:15:14 2014 New Revision: 270521 URL: http://svnweb.freebsd.org/changeset/base/270521 Log: Since the size of GPT entry may differ from the sizeof(struct gpt_ent), use the size from GPT header to iterate entries. Suggested by: marcel@ MFC after:1 week M

svn commit: r270522 - head/lib/libc++

2014-08-25 Thread Roman Divacky
Author: rdivacky Date: Mon Aug 25 08:40:36 2014 New Revision: 270522 URL: http://svnweb.freebsd.org/changeset/base/270522 Log: The standard we compile libc++ with is called c++11 not c++0x. Modified: head/lib/libc++/Makefile Modified: head/lib/libc++/Makefile

Re: svn commit: r270516 - head/sys/dev/drm2/i915

2014-08-25 Thread Bjoern A. Zeeb
On 25 Aug 2014, at 05:03 , Adrian Chadd wrote: > Author: adrian > Date: Mon Aug 25 05:03:10 2014 > New Revision: 270516 > URL: http://svnweb.freebsd.org/changeset/base/270516 > > Log: > i915 driver - enable opregion handle; program CADL. > > add opregion handling for drm2 - which exposes som

Re: svn commit: r270510 - head

2014-08-25 Thread Gleb Smirnoff
On Sun, Aug 24, 2014 at 04:01:23PM -0700, Don Lewis wrote: D> >>> +# 20040728: GCC 3.4.2 D> >>> +OLD_DIRS+=usr/include/c++/3.3 D> >>> +OLD_FILES+=usr/include/c++/3.3/FlexLexer.h D> >>> +OLD_FILES+=usr/include/c++/3.3/algorithm D> >>> +OLD_FILES+=usr/include/c++/3.3/backward/algo.h D> >> D> >> I su

Re: svn commit: r270516 - head/sys/dev/drm2/i915

2014-08-25 Thread TAKAHASHI Yoshihiro
In article "Bjoern A. Zeeb" writes: >> i915 driver - enable opregion handle; program CADL. > > This broke pc98: > > @/contrib/dev/acpica/include/platform/acfreebsd.h:75:10: fatal error: > 'machine/acpica_machdep.h' file not found The devices supported by drm2 don't work for pc98 so we can d

svn commit: r270571 - head/sys/modules/drm2/i915kms

2014-08-25 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Mon Aug 25 14:55:56 2014 New Revision: 270571 URL: http://svnweb.freebsd.org/changeset/base/270571 Log: drm/i915: Add opt_acpi.h and acpi_if.h to the source files While here, sort the list of generated source files. Modified: head/sys/modules/drm2/i915kms/Makefile

svn commit: r270572 - head/sys/modules/drm2

2014-08-25 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Mon Aug 25 14:58:36 2014 New Revision: 270572 URL: http://svnweb.freebsd.org/changeset/base/270572 Log: drm/i915: Disable the build of i915 on PC98 This module is of no use on this platform and now, i915 depends on ACPI anyway. Suggested by: nyan@ Modified:

Re: svn commit: r270516 - head/sys/dev/drm2/i915

2014-08-25 Thread Jean-Sébastien Pédron
On 25.08.2014 14:45, Bjoern A. Zeeb wrote: On 25 Aug 2014, at 05:03 , Adrian Chadd wrote: Author: adrian Date: Mon Aug 25 05:03:10 2014 New Revision: 270516 URL: http://svnweb.freebsd.org/changeset/base/270516 Log: i915 driver - enable opregion handle; program CADL. This broke pc98: @/con

Re: svn commit: r270516 - head/sys/dev/drm2/i915

2014-08-25 Thread Adrian Chadd
On 25 August 2014 08:29, Jean-Sébastien Pédron wrote: > On 25.08.2014 14:45, Bjoern A. Zeeb wrote: >> >> On 25 Aug 2014, at 05:03 , Adrian Chadd wrote: >>> >>> Author: adrian >>> Date: Mon Aug 25 05:03:10 2014 >>> New Revision: 270516 >>> URL: http://svnweb.freebsd.org/changeset/base/270516 >>> >

Re: svn commit: r270516 - head/sys/dev/drm2/i915

2014-08-25 Thread John Baldwin
On Monday, August 25, 2014 05:03:10 AM Adrian Chadd wrote: > Author: adrian > Date: Mon Aug 25 05:03:10 2014 > New Revision: 270516 > URL: http://svnweb.freebsd.org/changeset/base/270516 > > Log: > i915 driver - enable opregion handle; program CADL. > > add opregion handling for drm2 - which

Re: svn commit: r270516 - head/sys/dev/drm2/i915

2014-08-25 Thread Adrian Chadd
On 25 August 2014 07:26, John Baldwin wrote: > On Monday, August 25, 2014 05:03:10 AM Adrian Chadd wrote: >> Author: adrian >> Date: Mon Aug 25 05:03:10 2014 >> New Revision: 270516 >> URL: http://svnweb.freebsd.org/changeset/base/270516 >> >> Log: >> i915 driver - enable opregion handle; progra

Re: svn commit: r270444 - in head/sys: kern sys

2014-08-25 Thread John Baldwin
On Sunday, August 24, 2014 09:04:09 AM Mateusz Guzik wrote: > Author: mjg > Date: Sun Aug 24 09:04:09 2014 > New Revision: 270444 > URL: http://svnweb.freebsd.org/changeset/base/270444 > > Log: > Fix getppid for traced processes. > > Traced processes always have the tracer set as the parent.

Re: svn commit: r270516 - head/sys/dev/drm2/i915

2014-08-25 Thread Jean-Sébastien Pédron
On 25.08.2014 16:26, John Baldwin wrote: Also, is leaving around the #if 0'd Linux version something the drm2 code does in general or was that unique to this patch? If the latter, we should remove the duplicate #if 0 code (list_for_each, etc.) There's no actual consensus, I guess. In my DRM 3.

Re: svn commit: r270516 - head/sys/dev/drm2/i915

2014-08-25 Thread Nathan Whitehorn
On 08/25/14 09:09, Jean-Sébastien Pédron wrote: On 25.08.2014 16:26, John Baldwin wrote: Also, is leaving around the #if 0'd Linux version something the drm2 code does in general or was that unique to this patch? If the latter, we should remove the duplicate #if 0 code (list_for_each, etc.)

Re: svn commit: r270516 - head/sys/dev/drm2/i915

2014-08-25 Thread Jean-Sébastien Pédron
On 25.08.2014 18:13, Nathan Whitehorn wrote: On 08/25/14 09:09, Jean-Sébastien Pédron wrote: There's no actual consensus, I guess. In my DRM 3.8 branch, where I try to reduce the diff with Linux, I try to provide wrappers and keep the Linux code. What is the status of that branch right now? It

Re: svn commit: r270516 - head/sys/dev/drm2/i915

2014-08-25 Thread Alexey Dokuchaev
On Mon, Aug 25, 2014 at 09:13:42AM -0700, Nathan Whitehorn wrote: > On 08/25/14 09:09, Jean-SИbastien PИdron wrote: > >There's no actual consensus, I guess. In my DRM 3.8 branch, where I try to > >reduce the diff with Linux, I try to provide wrappers and keep the Linux > >code. > > > >Before that b

Re: svn commit: r270516 - head/sys/dev/drm2/i915

2014-08-25 Thread Jean-Sébastien Pédron
On 25.08.2014 18:27, Alexey Dokuchaev wrote: I'll shamelessly hijack this thread and ask you Nathan, what's the current state of newcons+hwaccel w/ ATI RV280 on PowerPC found in e.g. Mac mini G4? I imported Justin Hibbits patches in this DRM 3.8 branch [1] and enabled the build of radeonkms on

Re: svn commit: r270516 - head/sys/dev/drm2/i915

2014-08-25 Thread John Baldwin
On Monday, August 25, 2014 05:03:10 AM Adrian Chadd wrote: > Author: adrian > Date: Mon Aug 25 05:03:10 2014 > New Revision: 270516 > URL: http://svnweb.freebsd.org/changeset/base/270516 > > Log: > i915 driver - enable opregion handle; program CADL. > > add opregion handling for drm2 - which

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

2014-08-25 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Mon Aug 25 16:56:33 2014 New Revision: 270587 URL: http://svnweb.freebsd.org/changeset/base/270587 Log: vt(4): Take font offset into account in vt_is_cursor_in_area() This fixes a "General protection fault" in vt_vga, where vt_is_cursor_in_area() erroneously reporte

Re: svn commit: r270444 - in head/sys: kern sys

2014-08-25 Thread Mateusz Guzik
On Mon, Aug 25, 2014 at 10:23:19AM -0400, John Baldwin wrote: > On Sunday, August 24, 2014 09:04:09 AM Mateusz Guzik wrote: > > Author: mjg > > Date: Sun Aug 24 09:04:09 2014 > > New Revision: 270444 > > URL: http://svnweb.freebsd.org/changeset/base/270444 > > > > Log: > > Fix getppid for traced

Re: svn commit: r270516 - head/sys/dev/drm2/i915

2014-08-25 Thread Nathan Whitehorn
On 08/25/14 09:38, Jean-Sébastien Pédron wrote: On 25.08.2014 18:27, Alexey Dokuchaev wrote: I'll shamelessly hijack this thread and ask you Nathan, what's the current state of newcons+hwaccel w/ ATI RV280 on PowerPC found in e.g. Mac mini G4? I imported Justin Hibbits patches in this DRM 3.8

svn commit: r270588 - head/sys/ufs/ufs

2014-08-25 Thread Davide Italiano
Author: davide Date: Mon Aug 25 17:06:18 2014 New Revision: 270588 URL: http://svnweb.freebsd.org/changeset/base/270588 Log: Rather than using an hardcoded reclaim age, rely on an LRU-like approach for dirhash cache, setting a target percent to reclaim (exposed via SYSCTL). This allows to al

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

2014-08-25 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Mon Aug 25 17:08:38 2014 New Revision: 270589 URL: http://svnweb.freebsd.org/changeset/base/270589 Log: vt(4): The cursor coordinates are relative to the drawn area ... not the whole screen. Don't use font offsets in vt_mark_mouse_position_as_dirty(). This fixe

Re: svn commit: r270516 - head/sys/dev/drm2/i915

2014-08-25 Thread Jean-Sébastien Pédron
On 25.08.2014 19:04, Nathan Whitehorn wrote: Does our radeon KMS code support AGP-based Radeons? I vaguely remember this not being the case. Unfortunately no, AGP isn't supported. And I currently don't have neither the knowledge nor the hardware to add this. Furthermore, it would be a lower p

Re: svn commit: r270510 - head

2014-08-25 Thread Benjamin Kaduk
On Mon, Aug 25, 2014 at 10:10 AM, Gleb Smirnoff wrote: > > And carrying this stuff costs us almost nothing. > The cost of having it in the tree is small, yes. But the runtime cost when people actually run delete-old will only keep increasing ... it already feels kind of slow, to me. -Ben _

Re: svn commit: r270510 - head

2014-08-25 Thread Bryan Drewery
On 8/25/2014 12:36 PM, Benjamin Kaduk wrote: > On Mon, Aug 25, 2014 at 10:10 AM, Gleb Smirnoff > wrote: > > > And carrying this stuff costs us almost nothing. > > > The cost of having it in the tree is small, yes. But the runtime cost > when people actually run

svn commit: r270613 - in head/sys/dev: fb vt vt/hw/fb vt/hw/ofwfb vt/hw/vga

2014-08-25 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Mon Aug 25 19:06:31 2014 New Revision: 270613 URL: http://svnweb.freebsd.org/changeset/base/270613 Log: vt(4): Store a rectangle for the drawable area, not just the top-left corner This allows backends to verify they do not draw outside of this area. This fixes a bu

Re: svn commit: r270444 - in head/sys: kern sys

2014-08-25 Thread John Baldwin
On Monday, August 25, 2014 07:02:41 PM Mateusz Guzik wrote: > On Mon, Aug 25, 2014 at 10:23:19AM -0400, John Baldwin wrote: > > On Sunday, August 24, 2014 09:04:09 AM Mateusz Guzik wrote: > > > Author: mjg > > > Date: Sun Aug 24 09:04:09 2014 > > > New Revision: 270444 > > > URL: http://svnweb.free

Re: svn commit: r270510 - head

2014-08-25 Thread John Baldwin
On Monday, August 25, 2014 01:35:21 PM Bryan Drewery wrote: > On 8/25/2014 12:36 PM, Benjamin Kaduk wrote: > > On Mon, Aug 25, 2014 at 10:10 AM, Gleb Smirnoff > > > > wrote: > > And carrying this stuff costs us almost nothing. > > > > The cost of having it in the

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

2014-08-25 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Mon Aug 25 19:52:13 2014 New Revision: 270618 URL: http://svnweb.freebsd.org/changeset/base/270618 Log: vt(4): Intialize drawable area rectangle each time a font is loaded This also fixes a problem where early in boot, the area was zero, leading to nothing displayed

svn commit: r270620 - head/sys/dev/vt/hw/vga

2014-08-25 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Mon Aug 25 20:15:19 2014 New Revision: 270620 URL: http://svnweb.freebsd.org/changeset/base/270620 Log: vt_vga: Use Write Mode 0 to draw group of 8 pixels using 3 or more colors This replaces the method based on Write Mode 3, which required reads from the video memo

Re: svn commit: r270516 - head/sys/dev/drm2/i915

2014-08-25 Thread Tijl Coosemans
On Mon, 25 Aug 2014 19:11:43 +0200 Jean-Sébastien Pédron wrote: > On 25.08.2014 19:04, Nathan Whitehorn wrote: >> Does our radeon KMS code support AGP-based Radeons? I vaguely remember >> this not being the case. > > Unfortunately no, AGP isn't supported. And I currently don't have > neither th

Re: svn commit: r270444 - in head/sys: kern sys

2014-08-25 Thread John-Mark Gurney
John Baldwin wrote this message on Mon, Aug 25, 2014 at 13:35 -0400: > On Monday, August 25, 2014 07:02:41 PM Mateusz Guzik wrote: > > On Mon, Aug 25, 2014 at 10:23:19AM -0400, John Baldwin wrote: > > > On Sunday, August 24, 2014 09:04:09 AM Mateusz Guzik wrote: > > > > Author: mjg > > > > Date: Su

Re: svn commit: r270444 - in head/sys: kern sys

2014-08-25 Thread Mateusz Guzik
On Mon, Aug 25, 2014 at 01:35:58PM -0400, John Baldwin wrote: > On Monday, August 25, 2014 07:02:41 PM Mateusz Guzik wrote: > > On Mon, Aug 25, 2014 at 10:23:19AM -0400, John Baldwin wrote: > > > On Sunday, August 24, 2014 09:04:09 AM Mateusz Guzik wrote: > > > > Author: mjg > > > > Date: Sun Aug 2

svn commit: r270643 - head/sys/dev/usb/wlan

2014-08-25 Thread Kevin Lo
Author: kevlo Date: Tue Aug 26 02:20:37 2014 New Revision: 270643 URL: http://svnweb.freebsd.org/changeset/base/270643 Log: Fix typo: s/mac_rev/mac_ver/ Submitted by: Stefan Sperling Modified: head/sys/dev/usb/wlan/if_run.c Modified: head/sys/dev/usb/wlan/if_run.c =