dragonfly.git
3 hours ago<cpu/limits.h>: Adjust visibility of various *_{MIN,MAX} constants. master
Sascha Wildner [Sun, 7 Feb 2016 19:35:53 +0000 (20:35 +0100)]
<cpu/limits.h>: Adjust visibility of various *_{MIN,MAX} constants.

This commit just affects POSIX environments (to reduce namespace
pollution), not our default one where all of this is visible. No
dports breakage was observed in my tests, as is expected because
this change is...

Taken-from: FreeBSD

3 hours ago<cpu/limits.h>: Minor whitespace fixes.
Sascha Wildner [Sun, 7 Feb 2016 19:25:02 +0000 (20:25 +0100)]
<cpu/limits.h>: Minor whitespace fixes.

3 hours ago<grp.h>: Include <machine/stdint.h> instead of the whole of <sys/types.h>.
Sascha Wildner [Sun, 7 Feb 2016 19:22:18 +0000 (20:22 +0100)]
<grp.h>: Include <machine/stdint.h> instead of the whole of <sys/types.h>.

It is only needed for __uint32_t.

After this commit, namespace pollution for <grp.h> is considerably lower.

3 hours ago<grp.h>: Minor whitespace fixes.
Sascha Wildner [Sun, 7 Feb 2016 19:19:04 +0000 (20:19 +0100)]
<grp.h>: Minor whitespace fixes.

14 hours agotools/tcp_stream: Kill netperf children proactively upon SIGINT
Sepherosa Ziehau [Sun, 7 Feb 2016 11:56:37 +0000 (19:56 +0800)]
tools/tcp_stream: Kill netperf children proactively upon SIGINT

TCP_MAERTS test traps the first SIGINT, so use SIGKILL to terminate
them, if we are about to die.

14 hours agotools/tcp_stream: Add dual side test support
Sepherosa Ziehau [Sun, 7 Feb 2016 11:21:30 +0000 (19:21 +0800)]
tools/tcp_stream: Add dual side test support

15 hours agodrm/linux: Sync linux/math64.h with FreeBSD
François Tigeot [Sun, 7 Feb 2016 10:49:07 +0000 (11:49 +0100)]
drm/linux: Sync linux/math64.h with FreeBSD

Removing 32-bit inline functions.

15 hours agotools/tcp_stream: Allow performing test to multiple hosts
Sepherosa Ziehau [Sun, 7 Feb 2016 10:15:28 +0000 (18:15 +0800)]
tools/tcp_stream: Allow performing test to multiple hosts

16 hours agoRemove FreeBSD OS/ABI from raid driver blobs.
Imre Vadász [Sat, 6 Feb 2016 19:46:55 +0000 (20:46 +0100)]
Remove FreeBSD OS/ABI from raid driver blobs.

This fixes kgdb issues when the kernel was linked with ld.gold.

The problem was caused by ld.gold's behaviour of setting the OS/ABI in
the output binary to FreeBSD when any of the input objects is tagged
with the FreeBSD OS/ABI.

The hpt27xx, hptmv and hptrr raid-drivers are using binary blobs, with
the FreeBSD OS/ABI flag, so we should just set the OS/ABI of these
objects to none after uudecode-ing them.

17 hours agotools/tcp_stream: Set message size on both send and receive sides
Sepherosa Ziehau [Sun, 7 Feb 2016 08:44:13 +0000 (16:44 +0800)]
tools/tcp_stream: Set message size on both send and receive sides

20 hours agotools/tcp_stream: Move sockbuf string to the main stack
Sepherosa Ziehau [Sun, 7 Feb 2016 05:56:01 +0000 (13:56 +0800)]
tools/tcp_stream: Move sockbuf string to the main stack

22 hours agotools/tcp_stream: Compile on Linux and add option for sockbuf size
Sepherosa Ziehau [Sun, 7 Feb 2016 03:58:17 +0000 (11:58 +0800)]
tools/tcp_stream: Compile on Linux and add option for sockbuf size

35 hours agolinux/kref.h: Add kref_put_mutex()
François Tigeot [Sat, 6 Feb 2016 14:11:36 +0000 (15:11 +0100)]
linux/kref.h: Add kref_put_mutex()

37 hours agoetc/rc.d: Update rtsold
Markus Pfeiffer [Sat, 6 Feb 2016 12:17:16 +0000 (12:17 +0000)]
etc/rc.d: Update rtsold

* Remove precmd, it did not work because autocmd does not exist
* Add postcmd, taken from FreeBSD head

38 hours ago{msg,sem,shm}*.2: Some mdoc improvements (mainly adding .Dv).
Sascha Wildner [Sat, 6 Feb 2016 11:12:12 +0000 (12:12 +0100)]
{msg,sem,shm}*.2: Some mdoc improvements (mainly adding .Dv).

2 days ago<libgen.h>: Clean up whitespace and some #if 0'd code.
Sascha Wildner [Wed, 3 Feb 2016 19:28:54 +0000 (20:28 +0100)]
<libgen.h>: Clean up whitespace and some #if 0'd code.

2 days agoMakefile_upgrade.inc: Don't remove manpages which we have to keep.
Sascha Wildner [Fri, 5 Feb 2016 12:55:12 +0000 (13:55 +0100)]
Makefile_upgrade.inc: Don't remove manpages which we have to keep.

They were not part of the library privatization (which can only
affect section 3 manual pages). Those tools are consumers of
privatized libs but of course they must keep their documentation.

2 days agoMakefile_upgrade.inc: Add missing files from the lib privatization.
Sascha Wildner [Fri, 5 Feb 2016 12:52:33 +0000 (13:52 +0100)]
Makefile_upgrade.inc: Add missing files from the lib privatization.

2 days agoMakefile_upgrade.inc: Expand all wildcards from the lib privatization.
Sascha Wildner [Fri, 5 Feb 2016 12:51:54 +0000 (13:51 +0100)]
Makefile_upgrade.inc: Expand all wildcards from the lib privatization.

We want to see exactly what we remove, not just approximately.
'make upgrade' changes are a pain to review when everything is
muddled with patterns. And it gets worse over time because
without a not yet upgraded system one has no choice but to
restore a world from the time and replaying the 'make upgrade'
to see what was going on.

Also, if we ever need to bring back one file which is covered
by a pattern later on (and we've had such cases), no one will
know what the rest of the wildcard was covering aside from
that file.

2 days agoMakefile_upgrade.inc: Sort lib privatization entries per commit.
Sascha Wildner [Fri, 5 Feb 2016 12:48:14 +0000 (13:48 +0100)]
Makefile_upgrade.inc: Sort lib privatization entries per commit.

2 days agoMakefile_upgrade.inc: Add many missing '.gz'.
Sascha Wildner [Fri, 5 Feb 2016 12:47:44 +0000 (13:47 +0100)]
Makefile_upgrade.inc: Add many missing '.gz'.

2 days ago<unistd.h>: Use #if 0 for _POSIX_SAVED_IDS. Update some comments.
Sascha Wildner [Fri, 5 Feb 2016 12:14:51 +0000 (13:14 +0100)]
<unistd.h>: Use #if 0 for _POSIX_SAVED_IDS. Update some comments.

2 days agokernel: Use POSIX constants for pathconf defaults (no functional change).
Sascha Wildner [Fri, 5 Feb 2016 07:56:27 +0000 (08:56 +0100)]
kernel: Use POSIX constants for pathconf defaults (no functional change).

4 days ago<time.h>: CLOCKS_PER_SEC must be of type clock_t.
Sascha Wildner [Wed, 3 Feb 2016 10:44:21 +0000 (11:44 +0100)]
<time.h>: CLOCKS_PER_SEC must be of type clock_t.

Note that its value violates the standards requirement that it be
1000000. See the STANDARDS section of clock(3)'s manual page for
further information.

4 days ago<time.h>: struct timespec's definition has to be visible for C11.
Sascha Wildner [Wed, 3 Feb 2016 10:12:14 +0000 (11:12 +0100)]
<time.h>: struct timespec's definition has to be visible for C11.

See B.26 in the C11 standard.

Note that this is not in the N1548 committee draft.

5 days ago<time.h>: C11 actually specifies that TIME_UTC be "greater than 0".
Sascha Wildner [Tue, 2 Feb 2016 17:05:20 +0000 (18:05 +0100)]
<time.h>: C11 actually specifies that TIME_UTC be "greater than 0".

In-discussion-with: xenu

6 days agomake upgrade: Add an obsolete time zone.
Sascha Wildner [Mon, 1 Feb 2016 21:13:23 +0000 (22:13 +0100)]
make upgrade: Add an obsolete time zone.

6 days agobump __DragonFly_version for library privatizaton
John Marino [Mon, 1 Feb 2016 08:51:46 +0000 (09:51 +0100)]
bump __DragonFly_version for library privatizaton

Better late than never.   Version is now 400502

8 days agoSync zoneinfo database with tzdata2016a from ftp://ftp.iana.org/tz/releases
Sascha Wildner [Sat, 30 Jan 2016 10:49:54 +0000 (11:49 +0100)]
Sync zoneinfo database with tzdata2016a from ftp://ftp.iana.org/tz/releases

* America/Cayman will not observe daylight saving this year after all.
    Revert our guess that it would.  (Thanks to Matt Johnson.)

* Asia/Chita switches from +0800 to +0900 on 2016-03-27 at 02:00.
    (Thanks to Alexander Krivenyshev.)

* Asia/Tehran now has DST predictions for the year 2038 and later,
    to be March 21 00:00 to September 21 00:00.  This is likely better
    than predicting no DST, albeit off by a day every now and then.

* America/Metlakatla switched from PST all year to AKST/AKDT on
    2015-11-01 at 02:00.  (Thanks to Steffen Thorsen.)

* America/Santa_Isabel has been removed, and replaced with a
    backward compatibility link to America/Tijuana.  Its contents were
    apparently based on a misreading of Mexican legislation.

* Asia/Karachi's two transition times in 2002 were off by a minute.
    (Thanks to Matt Johnson.)

* The Theory and asia files now mention the 2015 book "The Global
    Transformation of Time, 1870-1950", and cite a couple of reviews.

* The America/Chicago entry now documents the informal use of US
    central time in Fort Pierre, South Dakota.  (Thanks to Rick
    McDermid, Matt Johnson, and Steve Jones.)

8 days agolibc - implement C11 function timespec_get()
Tomasz Konojacki [Fri, 29 Jan 2016 14:02:53 +0000 (15:02 +0100)]
libc - implement C11 function timespec_get()

8 days agoRevert "boot/acpi: Implement hint.acpi.0.rsdp kenv."
Sascha Wildner [Sat, 30 Jan 2016 09:37:52 +0000 (10:37 +0100)]
Revert "boot/acpi: Implement hint.acpi.0.rsdp kenv."

This reverts commit 0a259e612e301dbd1a36b7878773ea511b3a1e10.

9 days agoboot/acpi: Use an ACPICA constant instead of a magic number.
Sascha Wildner [Fri, 29 Jan 2016 22:49:15 +0000 (23:49 +0100)]
boot/acpi: Use an ACPICA constant instead of a magic number.

While here, reword a comment to not refer to any specific version of
the ACPI specification.

9 days agoboot/acpi: Implement hint.acpi.0.rsdp kenv.
Sascha Wildner [Fri, 29 Jan 2016 22:39:50 +0000 (23:39 +0100)]
boot/acpi: Implement hint.acpi.0.rsdp kenv.

ACPICA can make use of it.

9 days agokernel/isofs: Add all iso9660 number conversion routines.
zrj [Tue, 26 Jan 2016 14:55:37 +0000 (16:55 +0200)]
kernel/isofs: Add all iso9660 number conversion routines.

Mainly to remove 7.2.2 and 7.3.2 routines from lib/libstand.

While there, fix return type for 7.1.2 to be signed as per ISO9660.

This commit breaks sysutils/hal dport again,
it should have been patched in the first place.

Taken-from: FreeBSD

9 days agokernel/isofs: Remove UNALIGNED_ACCESS
zrj [Tue, 26 Jan 2016 14:31:46 +0000 (16:31 +0200)]
kernel/isofs: Remove UNALIGNED_ACCESS

Don't make assumptions against clever compilers.

9 days agokernel/msdosfs: Remove UNALIGNED_ACCESS
zrj [Tue, 26 Jan 2016 14:25:22 +0000 (16:25 +0200)]
kernel/msdosfs: Remove UNALIGNED_ACCESS

This is basically r165431 from FreeBSD.

9 days agokernel/isofs: style(9) fixes.
zrj [Tue, 26 Jan 2016 13:41:28 +0000 (15:41 +0200)]
kernel/isofs: style(9) fixes.

9 days agogcc50/libconv_supc: cp-demangle.c needs HAVE_CONFIG_H.
Sascha Wildner [Fri, 29 Jan 2016 11:51:54 +0000 (12:51 +0100)]
gcc50/libconv_supc: cp-demangle.c needs HAVE_CONFIG_H.

This fixes 22 warnings about incompatible implicit declarations of
various functions.

10 days agogames/snack: fix after ncurses privatization
John Marino [Fri, 29 Jan 2016 01:08:39 +0000 (02:08 +0100)]
games/snack: fix after ncurses privatization

I had NO_GAMES set in /etc/make.conf, so all the games the omitted from
the testing.  When I turned it, I found snake was missing LDFLAGS.

10 days agoprivatize libncurses (touches many, many programs)
John Marino [Fri, 29 Jan 2016 00:18:54 +0000 (01:18 +0100)]
privatize libncurses (touches many, many programs)

The ncurses software produces 8 libraries: normal and wide versions of
ncurses, forms, menu, and panel.  The dragonfly base doesn't use forms
or menu at all so we can remove 4 libraries immediately and their
associated man pages.

The panel library is only used in one place, so technically libpanelw
is no longer required, but let's keep building it anyway.

While here, delete references to libcurses.  It was just symlinked to
ncurses, so let's take the opportunity to only reference ncurses from
this point forward and not install a private version of libcurses.

10 days agoLocal adjustments for OpenSSL 1.0.1r.
Sascha Wildner [Thu, 28 Jan 2016 22:26:19 +0000 (23:26 +0100)]
Local adjustments for OpenSSL 1.0.1r.

10 days agoMerge branch 'vendor/OPENSSL'
Sascha Wildner [Thu, 28 Jan 2016 22:25:50 +0000 (23:25 +0100)]
Merge branch 'vendor/OPENSSL'

10 days agoImport OpenSSL 1.0.1r. vendor/OPENSSL
Sascha Wildner [Thu, 28 Jan 2016 21:33:36 +0000 (22:33 +0100)]
Import OpenSSL 1.0.1r.

* Protection for DH small subgroup attacks

* Fix CVE-2015-3197 (SSLv2 doesn't block disabled ciphers)

* Reject DH handshakes with parameters shorter than 1024 bits

10 days agomove private edit library to /lib/priv
John Marino [Thu, 28 Jan 2016 19:17:37 +0000 (20:17 +0100)]
move private edit library to /lib/priv

While here, fix private ssh and ldns.  The .so and .a versions were
not installed and this probably will break future builds for anyone
that's built world in the last few hours.

Also, all of these private libraries also need -L flags in addition
to -rpath flags.

10 days agomove private ssh library to /usr/lib/priv
John Marino [Thu, 28 Jan 2016 12:14:18 +0000 (13:14 +0100)]
move private ssh library to /usr/lib/priv

10 days agoMove private ldns library to /usr/lib/priv
John Marino [Thu, 28 Jan 2016 11:18:46 +0000 (12:18 +0100)]
Move private ldns library to /usr/lib/priv

It's been decided to relocate private libraries to either /lib/priv or
/usr/lib/priv.  This requires the use of the -rpath linker flag as the
libraries are no longer located in a standard search path.

discussed with: dillon, swildner

11 days agoAdd a missing file to make upgrade's list.
Sascha Wildner [Wed, 27 Jan 2016 09:52:38 +0000 (10:52 +0100)]
Add a missing file to make upgrade's list.

11 days ago<sys/unistd.h>: Comment some POSIX options.
Sascha Wildner [Wed, 27 Jan 2016 09:23:17 +0000 (10:23 +0100)]
<sys/unistd.h>: Comment some POSIX options.

12 days agoprivatize libedit (used by numerous base programs)
John Marino [Wed, 27 Jan 2016 00:24:52 +0000 (01:24 +0100)]
privatize libedit (used by numerous base programs)

Besides affecting far more programs than the first two conversions,
this privatization requires a modification to bin/sh which is a bootstrap
program.  If bootstrapping, it will use libedit.* if it exists, otherwise
it will use libprivate_edit.*.  After "make upgrade", /usr/lib/libedit will
no longer be on the system so the private version will then be used in all
cases.

12 days ago<limits.h>: Several changes related to Issue 7 of the standard.
Sascha Wildner [Tue, 26 Jan 2016 23:06:38 +0000 (00:06 +0100)]
<limits.h>: Several changes related to Issue 7 of the standard.

* NL_NMAX was removed, so change its visibility accordingly.

* NL_ARGMAX, NL_MSGMAX, NL_SETMAX and NL_TEXTMAX were moved from XSI
  into the base. Adjust for that too. The change history does not
  mention NL_ARGMAX but the [XSI] margin code was removed from it so
  I think this is just an oversight.

The 32 ports that reference NL_NMAX, which is the only of these
defines where visibility was restricted with this commit, all still
build.

12 days agoprivatize libssh (used by several secure applications)
John Marino [Tue, 26 Jan 2016 22:35:47 +0000 (23:35 +0100)]
privatize libssh (used by several secure applications)

Renames libssh.* to libprivate_ssh.*
The original libssh.* libraries are unavoidable removed by make upgrade.
While here, remove an obsolete libldns.a from the profiles directory as
this was forgotten in the previous commit.

12 days agoprivatize ldns library (only used for drill(1))
John Marino [Tue, 26 Jan 2016 21:00:09 +0000 (22:00 +0100)]
privatize ldns library (only used for drill(1))

This is the first conversion in a series to rename base libraries
so that they are only used by base assets.  Libraries such as ldns and
ssh have been getting picked up by dports with undesirable results.

These libraries are getting renamed to libprivate_<name>.*.
Coincidentially, FreeBSD-CURRENT is using a similar scheme with
libprivate<name>.*.  FreeBSD Release 10 used the scheme
/usr/lib/private/lib<name>* and DF did not want to follow that.

There may be some breakage for any third party software (including
dports) that have linked to libldns erroneously.  Recompiling and
linking against port libldns should resolve those issues.  Removing
the base libldns.* files is necessary and unavoidable.

12 days agoinstall(1): Add an override DONTSTRIP
zrj [Fri, 22 Jan 2016 14:48:26 +0000 (16:48 +0200)]
install(1): Add an override DONTSTRIP

This allows to easily install debugable binaries when
one cannot simply edit a package's Makefiles and/or
maintainer feeling lazy.

While there document STRIPBIN environment variable
that could use touch or true but not always usable.

Taken-from: FreeBSD

12 days agoinstall(1): Add -U option from FreeBSD
zrj [Fri, 22 Jan 2016 14:07:09 +0000 (16:07 +0200)]
install(1): Add -U option from FreeBSD

This allows to install without root privileges.
Also sort options a bit.

Taken-from: FreeBSD

12 days agoinstall(1): Move out iflags setup from switch()
zrj [Fri, 22 Jan 2016 12:47:24 +0000 (14:47 +0200)]
install(1): Move out iflags setup from switch()

To prepare for next.
No functional change.

12 days agoinstall(1): Add missing static keywords.
zrj [Fri, 22 Jan 2016 11:38:22 +0000 (13:38 +0200)]
install(1): Add missing static keywords.

While there, perform some cosmetic changes.

12 days agonewvers.sh: Allow to override hostname
zrj [Tue, 26 Jan 2016 07:30:04 +0000 (09:30 +0200)]
newvers.sh: Allow to override hostname

This allows to specify used hostname value
when building kernel and/or loader.

While there, split variable assignments.

12 days agoCorrect BSD License clause numbering from 1-2-4 to 1-2-3.
zrj [Mon, 25 Jan 2016 15:14:17 +0000 (17:14 +0200)]
Correct BSD License clause numbering from 1-2-4 to 1-2-3.

12 days agoRemove advertising header from src
zrj [Mon, 25 Jan 2016 14:53:01 +0000 (16:53 +0200)]
Remove advertising header from src

Correct BSD License clause numbering from 1-2-4 to 1-2-3.

12 days agoRemove advertising header from sys/
zrj [Mon, 25 Jan 2016 12:48:47 +0000 (14:48 +0200)]
Remove advertising header from sys/

Correct BSD License clause numbering from 1-2-4 to 1-2-3.

Some less clear cases taken as it was done of FreeBSD.

12 days agoRemove advertising header from lib/ and libexec/
zrj [Mon, 25 Jan 2016 11:41:23 +0000 (13:41 +0200)]
Remove advertising header from lib/ and libexec/

Correct BSD License clause numbering from 1-2-4 to 1-2-3.

12 days agoRemove advertising header from include/
zrj [Mon, 25 Jan 2016 10:26:15 +0000 (12:26 +0200)]
Remove advertising header from include/

Correct BSD License clause numbering from 1-2-4 to 1-2-3.

12 days agoRemove advertising header from share/
zrj [Mon, 25 Jan 2016 09:49:20 +0000 (11:49 +0200)]
Remove advertising header from share/

Correct BSD License clause numbering from 1-2-4 to 1-2-3.

12 days agoRemove advertising header from bin/ & sbin/
zrj [Mon, 25 Jan 2016 07:13:41 +0000 (09:13 +0200)]
Remove advertising header from bin/ & sbin/

Correct BSD License clause numbering from 1-2-4 to 1-2-3.

12 days agoRemove advertising header from usr.sbin/
zrj [Mon, 25 Jan 2016 06:37:18 +0000 (08:37 +0200)]
Remove advertising header from usr.sbin/

Correct BSD License clause numbering from 1-2-4 to 1-2-3.

12 days agoRemove advertising header from usr.bin/
zrj [Sun, 24 Jan 2016 18:51:33 +0000 (20:51 +0200)]
Remove advertising header from usr.bin/

Correct BSD License clause numbering from 1-2-4 to 1-2-3.

13 days agolibc - Add c11 and glibc features to fopen()
Matthew Dillon [Mon, 25 Jan 2016 21:11:40 +0000 (13:11 -0800)]
libc - Add c11 and glibc features to fopen()

* Add 'x' flag to fopen() (from c11, O_EXCL)
* Add 'e' flag to fopen() (from glibc, O_CLOEXEC)

Submitted-by: Xenu (w/modifications by Matt)
13 days ago<machine/exec.h> Fix include guard.
Sascha Wildner [Mon, 25 Jan 2016 13:17:44 +0000 (14:17 +0100)]
<machine/exec.h> Fix include guard.

Pointed-out-by: zrj
13 days agogcc50/libconv_1998: Fix GENCC and, by extension, CLEANFILES.
Sascha Wildner [Mon, 25 Jan 2016 10:13:17 +0000 (11:13 +0100)]
gcc50/libconv_1998: Fix GENCC and, by extension, CLEANFILES.

13 days agolibedit: Fix CLEANFILES.
Sascha Wildner [Mon, 25 Jan 2016 09:09:28 +0000 (10:09 +0100)]
libedit: Fix CLEANFILES.

Remove editline.c and add historyn.c and tokenizern.c.

13 days agokernel - Add quirks for xhci (usb)
Matthew Dillon [Mon, 25 Jan 2016 02:33:33 +0000 (18:33 -0800)]
kernel - Add quirks for xhci (usb)

* Add quirks to force 32-bit dma for two chips, one taken
  from FreeBSD, the other from testing an AMD A10-7300
  which reports a 64-bit dma capability but fails when
  32-bit dma is used.

Reported-by: Xenu <1000@carychium-tridentatum.xenu.pl> (irc)
2 weeks agolibz: Add a pkg-config file
François Tigeot [Sun, 24 Jan 2016 17:20:06 +0000 (18:20 +0100)]
libz: Add a pkg-config file

Third party software more often than not requires zlib.pc to build
these days.

Obtained-from: FreeBSD

2 weeks agodrm/radeon: We need the physical address of the dummy page, not the virtual
Imre Vadasz [Sun, 24 Jan 2016 12:52:30 +0000 (13:52 +0100)]
drm/radeon: We need the physical address of the dummy page, not the virtual

* rdev->dummy_page.addr is supposed to hold the physical address of the
  dummy page, not the virtual address.

2 weeks agokernel/vm_machdep: Fix a typo in a comment.
Sascha Wildner [Sun, 24 Jan 2016 09:40:20 +0000 (10:40 +0100)]
kernel/vm_machdep: Fix a typo in a comment.

2 weeks agoi386 removal, part 51/x: Remove gatea20.c in sys/boot.
Sascha Wildner [Sun, 24 Jan 2016 09:39:30 +0000 (10:39 +0100)]
i386 removal, part 51/x: Remove gatea20.c in sys/boot.

The last usage of gateA20() was removed in 4b8727de15f89b1665d9cb.

Pointed-out-by: zrj
2 weeks agokernel/linux: Add ioremap_nocache()
François Tigeot [Sun, 24 Jan 2016 09:10:06 +0000 (10:10 +0100)]
kernel/linux: Add ioremap_nocache()

2 weeks agodrm/radeon: Add radeon_ucode.c. Support new firmware format.
Imre Vadász [Sat, 23 Jan 2016 18:05:38 +0000 (19:05 +0100)]
drm/radeon: Add radeon_ucode.c. Support new firmware format.

* This is just further synchronizing to Linux 3.18.

* Add le32_to_cpup macro to drm_os_linux.h.

* Use __DECONST in container_of usages in radeon_ucode.c to make it build.

2 weeks agodrm/i915: Update to Linux 4.1
François Tigeot [Sat, 23 Jan 2016 17:26:28 +0000 (18:26 +0100)]
drm/i915: Update to Linux 4.1

* Valleyview support has been vastly improved and is no longer considered
  preliminary

* Skylake support improvements: runtime power management, turbo and sleep
  states should now be fully operational.
  Many workarounds have been added for Skylake specific issues

* Preliminary changes to prepare for Broxton (future Atom SOCs) support

* Distinguish hardware minimum and user minimum frequencies. Set the GPU
  frequency to the hardware minimum on idle in order to reduce power usage

* DRRS (dynamic refresh rate switching) is now enabled where supported.
  The idea is to reduce the refresh rate of the panel to save power when
  nothing changes on the screen

* DP deadlock bugfixes and improved link rate computation. Intermediate
  link rate support for eDP 1.4

* XenGT client-side support. This is paravirtualization to allow virtual
  machines to tap into the render engines

* Plenty of internal work to prepare for atomic mode setting

* Lots of other smaller work all over such as added documentation, dead
  UMS code removal, vblank interrupt cleanings, etc...

2 weeks ago<limits.h>: Add a CHARCLASS_NAME_MAX definition.
Sascha Wildner [Fri, 22 Jan 2016 21:42:32 +0000 (22:42 +0100)]
<limits.h>: Add a CHARCLASS_NAME_MAX definition.

2 weeks agodrm/i915: Add and document the drm.i915.enable_execlists tunable.
Imre Vadász [Fri, 22 Jan 2016 19:23:22 +0000 (20:23 +0100)]
drm/i915: Add and document the drm.i915.enable_execlists tunable.

This tunable is specific for the Broadwell IGP.
Setting drm.i915.enable_execlists=0 can work around some stability issues
with execlists on Broadwell.

2 weeks agosys/boot: Add missing '+'.
Sascha Wildner [Fri, 22 Jan 2016 18:38:42 +0000 (19:38 +0100)]
sys/boot: Add missing '+'.

2 weeks agosys/boot: Unbreak build. btx must come before boot2.
Sascha Wildner [Fri, 22 Jan 2016 18:33:29 +0000 (19:33 +0100)]
sys/boot: Unbreak build. btx must come before boot2.

2 weeks agoi386 removal, part 50/x: Remove the i386 specific kgzldr.
Sascha Wildner [Fri, 22 Jan 2016 18:27:02 +0000 (19:27 +0100)]
i386 removal, part 50/x: Remove the i386 specific kgzldr.

It was only needed for kgzip(8)'ed kernels anyway. kgzip(8) was removed
in c425a6254f909db65a1ccbc31a09e09e371bf847. All of this was only needed
for loading kernels without the standard loader anyway.

Pointed-out-by: zrj
2 weeks agoi915kms.4: Add missing space.
Sascha Wildner [Fri, 22 Jan 2016 17:36:13 +0000 (18:36 +0100)]
i915kms.4: Add missing space.

2 weeks agousb4bsd: Cleanup pass1.
zrj [Fri, 22 Jan 2016 09:20:14 +0000 (11:20 +0200)]
usb4bsd: Cleanup pass1.

* Uniformly use #if 0 to deactivate code instead of C comments.

* Move MODULE macros after struct declarations.

2 weeks agousb4bsd: Cleanup pass0.
zrj [Fri, 22 Jan 2016 09:15:32 +0000 (11:15 +0200)]
usb4bsd: Cleanup pass0.

* Adjust indentation, whitespace and typos.

2 weeks agoFix SEE ALSO sorting in a number of manual pages.
Sascha Wildner [Thu, 21 Jan 2016 20:24:19 +0000 (21:24 +0100)]
Fix SEE ALSO sorting in a number of manual pages.

2 weeks agobus_dma.9: Adjust column width a bit in a list.
Sascha Wildner [Thu, 21 Jan 2016 10:36:25 +0000 (11:36 +0100)]
bus_dma.9: Adjust column width a bit in a list.

2 weeks ago<net/if.h>: Cleanup the namespace a bit.
Sascha Wildner [Thu, 21 Jan 2016 10:26:05 +0000 (11:26 +0100)]
<net/if.h>: Cleanup the namespace a bit.

* Put everything that is not covered by POSIX under #if __BSD_VISIBLE.
  Pretty much like FreeBSD did it already.

* Use standard types for stuff covered by POSIX.

2 weeks ago<net/if.h>: Whitespace adjustment (no functional change).
Sascha Wildner [Thu, 21 Jan 2016 10:21:49 +0000 (11:21 +0100)]
<net/if.h>: Whitespace adjustment (no functional change).

2 weeks agobus_dma.9: Document the BUS_DMA_NOCACHE flag for bus_dmamem_alloc(9).
Imre Vadász [Wed, 20 Jan 2016 21:27:49 +0000 (22:27 +0100)]
bus_dma.9: Document the BUS_DMA_NOCACHE flag for bus_dmamem_alloc(9).

Inspired-By: FreeBSD
2 weeks agoipfw3: forward args verification
Bill Yuan [Mon, 18 Jan 2016 21:57:02 +0000 (21:57 +0000)]
ipfw3: forward args verification

2 weeks agoi386 removal, part 49/x: Remove the i386 & a.out specific -v flag in ld(1).
Sascha Wildner [Tue, 19 Jan 2016 04:28:47 +0000 (05:28 +0100)]
i386 removal, part 49/x: Remove the i386 & a.out specific -v flag in ld(1).

It continues to be accepted without having an effect for compatibility
reasons.

2 weeks agopstat - Add -h option
Matthew Dillon [Tue, 19 Jan 2016 02:37:07 +0000 (18:37 -0800)]
pstat - Add -h option

* Add the -h option to ignore BLOCKSIZE and humanize the output.

2 weeks agoif_iwm: Fix up the rate control setup code.
Imre Vadász [Mon, 18 Jan 2016 20:15:28 +0000 (21:15 +0100)]
if_iwm: Fix up the rate control setup code.

- Initialise rates in the order we want to use them.
- The rate table was being initialised in low->high, but the link quality
  table was being initialised high->low. So, when we did a lookup, we
  would get the indexes wrong.

Taken-From: FreeBSD (SVN r294248)

3 weeks agodrm/linux: Implement pci_iomap()
François Tigeot [Sat, 16 Jan 2016 12:45:08 +0000 (13:45 +0100)]
drm/linux: Implement pci_iomap()

3 weeks agodrm/include: Add missing parentheses in a macro.
Sascha Wildner [Sat, 16 Jan 2016 12:11:38 +0000 (13:11 +0100)]
drm/include: Add missing parentheses in a macro.

3 weeks agotip(1): Minor cleanup
Sascha Wildner [Sat, 16 Jan 2016 11:48:20 +0000 (12:48 +0100)]
tip(1): Minor cleanup

3 weeks agotip(1): Remove some dead code that was never built.
Sascha Wildner [Sat, 16 Jan 2016 11:33:08 +0000 (12:33 +0100)]
tip(1): Remove some dead code that was never built.

3 weeks agodrm/linux: Add for_each_set_bit()
François Tigeot [Sat, 16 Jan 2016 09:10:59 +0000 (10:10 +0100)]
drm/linux: Add for_each_set_bit()