dragonfly.git
9 months agokernel - Correct edge-case for machdep.pmap_mmu_optimize
Matthew Dillon [Sat, 28 Dec 2013 05:33:39 +0000 (21:33 -0800)]
kernel - Correct edge-case for machdep.pmap_mmu_optimize

* machdep.pmap_mmu_optimize defaults to disabled and is still highly
  experimental.

* Fix an edge case where the segment optimization was incorrectly being
  allowed for the segment straddling the end of the mapping, when the
  end was not segment-aligned.

* Fixes an endless loop which can occur with the following test case
  (only when machdep.pmap_mmu_optimize is enabled).

rm /var/db/pkg/repo-*
pkg update

9 months agobsd.man.mk: change `mandiff' from groff to nroff
Franco Fichtner [Fri, 27 Dec 2013 17:05:20 +0000 (18:05 +0100)]
bsd.man.mk: change `mandiff' from groff to nroff

The cacos(3) incident showed that groff(1) output is not to
be trusted.  Use nroff(1) instead.  2575 -> 2565.

9 months agolibm: cacos(3) character magic zapped
Franco Fichtner [Fri, 27 Dec 2013 16:44:20 +0000 (17:44 +0100)]
libm: cacos(3) character magic zapped

Assisted-by: swildner
9 months agolibc: Remove documentation for strtoq_l() and strtouq_l().
Sascha Wildner [Fri, 27 Dec 2013 15:32:02 +0000 (16:32 +0100)]
libc: Remove documentation for strtoq_l() and strtouq_l().

They are not provided and I was misled by xlocale.3 listing them.
Fix this too.

9 months agolibc: Document some more *_l() functions.
Sascha Wildner [Fri, 27 Dec 2013 15:15:13 +0000 (16:15 +0100)]
libc: Document some more *_l() functions.

mbrtowc_l()
mbsinit_l()
mbstowcs_l()
mbtowc_l()
ungetwc_l()
wcrtomb_l()
wcsftime_l()
wcstombs_l()
wcswidth_l()
wctomb_l()
wcwidth_l()

9 months agolibc: Document some more *_l() functions.
Sascha Wildner [Thu, 26 Dec 2013 02:34:40 +0000 (03:34 +0100)]
libc: Document some more *_l() functions.

mbsnrtowcs_l()
mbsrtowcs_l()
wcsnrtombs_l()
wcsrtombs_l()

9 months agolibc: Document some more *_l() functions.
Sascha Wildner [Thu, 26 Dec 2013 00:38:28 +0000 (01:38 +0100)]
libc: Document some more *_l() functions.

fgetws_l()
fputws_l()
mblen_l()
mbrlen_l()

9 months agolibc: Add xlocale(3) references to some manual pages.
Sascha Wildner [Thu, 26 Dec 2013 00:20:56 +0000 (01:20 +0100)]
libc: Add xlocale(3) references to some manual pages.

9 months agolibc: Document some more *_l() functions.
Sascha Wildner [Thu, 26 Dec 2013 00:09:46 +0000 (01:09 +0100)]
libc: Document some more *_l() functions.

wcstod_l()
wcstof_l()
wcstoimax_l()
wcstol_l()
wcstold_l()
wcstoll_l()
wcstoul_l()
wcstoull_l()
wcstoumax_l()

9 months agolibc: Document some more *_l() functions.
Sascha Wildner [Wed, 25 Dec 2013 23:27:29 +0000 (00:27 +0100)]
libc: Document some more *_l() functions.

strtod_l()
strtof_l()
strtoimax_l()
strtol_l()
strtold_l()
strtoll_l()
strtoq_l()
strtoul_l()
strtoull_l()
strtoumax_l()
strtouq_l()

9 months agolibc: Document some more *_l() functions.
Sascha Wildner [Wed, 25 Dec 2013 22:44:25 +0000 (23:44 +0100)]
libc: Document some more *_l() functions.

fgetwc_l()
getwc_l()
getwchar_l()

fputwc_l()
putwc_l()
putwchar_l()

9 months agomdocml: mark lib.in as locally modified
Franco Fichtner [Wed, 25 Dec 2013 16:46:38 +0000 (17:46 +0100)]
mdocml: mark lib.in as locally modified

DragonFly, FreeBSD, and groff all disagree on the name of
libbluetooth.  Treat the previous commit as a DragonFly
modification then.  Thanks to Ingo Schwarze for pointing
out this fact.

9 months agozic.8: Fix section in .Xr macro.
Sascha Wildner [Wed, 25 Dec 2013 16:03:26 +0000 (17:03 +0100)]
zic.8: Fix section in .Xr macro.

9 months agomdocml: adjust libbluetooth name
Franco Fichtner [Wed, 25 Dec 2013 14:06:19 +0000 (15:06 +0100)]
mdocml: adjust libbluetooth name

9 months agomdocml: fix .Fo/.Fa output
Franco Fichtner [Wed, 25 Dec 2013 13:14:31 +0000 (14:14 +0100)]
mdocml: fix .Fo/.Fa output

`mandiff' differences reduced from 2686 to 2575.

9 months agoSome improvements to *_l.3 manual pages (all part of 1003.1-2008).
Sascha Wildner [Wed, 25 Dec 2013 15:01:28 +0000 (16:01 +0100)]
Some improvements to *_l.3 manual pages (all part of 1003.1-2008).

* Fix the SYNOPSIS to show that for these functions, <xlocale.h> need
  not be included.

* Better markup for the locale argument.

* Additional mentioning of the *_l() function in descriptions, return
  value, etc.

9 months agosmrsh: silence patching
Franco Fichtner [Wed, 25 Dec 2013 12:01:41 +0000 (13:01 +0100)]
smrsh: silence patching

9 months agomdocml: most recent stable fixes; especially .Fn indent fix
Franco Fichtner [Wed, 25 Dec 2013 11:37:44 +0000 (12:37 +0100)]
mdocml: most recent stable fixes; especially .Fn indent fix

Reduces `make mandiff | grep "^@@" | wc -l' run from 2921 to 2682.

Taken-from: mdocml.bsd.lv

9 months agomdocml: update to stable snapshot as per 12/23/13
Franco Fichtner [Wed, 25 Dec 2013 10:53:40 +0000 (11:53 +0100)]
mdocml: update to stable snapshot as per 12/23/13

Courtesy-of: Ingo Schwarze <schwarze at mdocml dot bsd dot lv>

9 months agozoneinfo: Add the NEWS file from tzcode.
Sascha Wildner [Wed, 25 Dec 2013 12:13:10 +0000 (13:13 +0100)]
zoneinfo: Add the NEWS file from tzcode.

9 months agostrcasecmp.3: Mention _l() functions better, add to STANDARDS.
Sascha Wildner [Wed, 25 Dec 2013 02:11:50 +0000 (03:11 +0100)]
strcasecmp.3: Mention _l() functions better, add to STANDARDS.

9 months ago<xlocale.h>: strcasecmp_l() and strncasecmp_l() are in 1003.1-2008.
Sascha Wildner [Wed, 25 Dec 2013 02:10:39 +0000 (03:10 +0100)]
<xlocale.h>: strcasecmp_l() and strncasecmp_l() are in 1003.1-2008.

9 months agoImprove various ctype.h manual pages.
Sascha Wildner [Wed, 25 Dec 2013 01:52:00 +0000 (02:52 +0100)]
Improve various ctype.h manual pages.

Mention the *_l() functions in descriptions, return type information etc.,
and additional other improvements.

9 months agoWe don't have wcscasecmp_l() and wcsncasecmp_l(), so #if 0 prototypes.
Sascha Wildner [Wed, 25 Dec 2013 00:52:43 +0000 (01:52 +0100)]
We don't have wcscasecmp_l() and wcsncasecmp_l(), so #if 0 prototypes.

9 months agoDocument wcscoll_l() and wcsxfrm_l().
Sascha Wildner [Wed, 25 Dec 2013 00:51:23 +0000 (01:51 +0100)]
Document wcscoll_l() and wcsxfrm_l().

9 months agoiswalnum_l: iswnumber_l() isn't in 1003.1-2008 either.
Sascha Wildner [Tue, 24 Dec 2013 23:46:05 +0000 (00:46 +0100)]
iswalnum_l: iswnumber_l() isn't in 1003.1-2008 either.

9 months agomdocml: revert local test changes to apropos/mandocdb
Franco Fichtner [Mon, 23 Dec 2013 09:12:46 +0000 (10:12 +0100)]
mdocml: revert local test changes to apropos/mandocdb

Our makewhatis(8) got fixed.  No need to replace it then.

9 months agomdocml: end-of-sentence spacing for man(7) macros
Franco Fichtner [Mon, 23 Dec 2013 09:05:03 +0000 (10:05 +0100)]
mdocml: end-of-sentence spacing for man(7) macros

This patch needed upstream confirmation.  It got merged yesterday,
so it's safe to pull this in now.

9 months agoRemove America/Shiprock and Antarctica/South_Pole zones via 'make upgrade'.
Sascha Wildner [Mon, 23 Dec 2013 13:21:49 +0000 (14:21 +0100)]
Remove America/Shiprock and Antarctica/South_Pole zones via 'make upgrade'.

They are equivalent to existing same-country-code zones for post-1970
time stamps.

9 months agomount_msdos(8): Adjust usage() and the manual page SYNOPSIS.
Sascha Wildner [Sun, 22 Dec 2013 15:59:46 +0000 (16:59 +0100)]
mount_msdos(8): Adjust usage() and the manual page SYNOPSIS.

9 months agoSync zoneinfo database with tzdata2013i from ftp://ftp.iana.org/tz/releases
Sascha Wildner [Sun, 22 Dec 2013 10:47:01 +0000 (11:47 +0100)]
Sync zoneinfo database with tzdata2013i from ftp://ftp.iana.org/tz/releases

See https://github.com/eggert/tz/blob/master/NEWS for a list of
what changed. We were previously in sync with tzdata2013d.

9 months agozic(8): Sync with tzcode2013i from ftp://ftp.iana.org/tz/releases
Sascha Wildner [Sun, 22 Dec 2013 09:29:33 +0000 (10:29 +0100)]
zic(8): Sync with tzcode2013i from ftp://ftp.iana.org/tz/releases

See https://github.com/eggert/tz/blob/master/NEWS for a list of
what changed. We were previously in sync with tzcode2012c.

9 months agolibc/stdtime: Sync with tzcode2013i from ftp://ftp.iana.org/tz/releases
Sascha Wildner [Sun, 22 Dec 2013 08:21:36 +0000 (09:21 +0100)]
libc/stdtime: Sync with tzcode2013i from ftp://ftp.iana.org/tz/releases

The compile-time flag NOSOLAR has been removed, as nowadays the
benefit of slightly shrinking runtime table size is outweighed by the
cost of disallowing potential future updates that exceed old limits.

9 months agolibhammer - Gather additional information about PFSes.
Antonio Huete Jimenez [Thu, 19 Dec 2013 13:20:15 +0000 (05:20 -0800)]
libhammer - Gather additional information about PFSes.

* Add transaction information to libhammer_pfsinfo.
* Add reserved field for future expansion.

Note that the TID numbers gathered can become outdated for slave PFSes
that are the target of mirroring operations.

9 months agomandoc(1): Add XSH4.2 to the list of known standards (for .St).
Sascha Wildner [Thu, 19 Dec 2013 07:27:36 +0000 (08:27 +0100)]
mandoc(1): Add XSH4.2 to the list of known standards (for .St).

9 months agokgdb(1): Mention -w in the usage().
Sascha Wildner [Thu, 19 Dec 2013 06:36:07 +0000 (07:36 +0100)]
kgdb(1): Mention -w in the usage().

9 months agokernel: forbid ptrace on system processes
Nicolas Thery [Wed, 18 Dec 2013 09:40:37 +0000 (10:40 +0100)]
kernel: forbid ptrace on system processes

The scenario that triggered this change is the GDB test suite which
tries to attach to process 0 (the swapper).  This dereferenced a NULL
pointer while reparenting the swapper to GDB as the former has no
parent.

ptrace(2) is intended for debugging user processes so prevent it
altogether on system processes as this is deadlock prone.

There were already calls to procfs for preventing accesses to registers
of system processes.  Remove the now superfluous comments but leave
these calls as they may be extended someday to check for more
conditions.

Dragonfly-bug: <http://bugs.dragonflybsd.org/issue2615>

9 months agoMark up some email addresses in various manual pages.
Sascha Wildner [Tue, 17 Dec 2013 12:59:21 +0000 (13:59 +0100)]
Mark up some email addresses in various manual pages.

9 months agonsdispatch.3: Use lists instead of displays to better handle nesting.
Sascha Wildner [Tue, 17 Dec 2013 12:46:20 +0000 (13:46 +0100)]
nsdispatch.3: Use lists instead of displays to better handle nesting.

While here, properly use .Vt and .Fa instead of .Va everywhere.

9 months agolibalias.3: Remove nested displays, we can live without them here.
Sascha Wildner [Tue, 17 Dec 2013 12:44:53 +0000 (13:44 +0100)]
libalias.3: Remove nested displays, we can live without them here.

9 months agodfregress.8: fix typo
Nicolas Thery [Mon, 16 Dec 2013 11:28:20 +0000 (12:28 +0100)]
dfregress.8: fix typo

9 months agoppp.8: Fix the last mandoc(1) warnings.
Sascha Wildner [Mon, 16 Dec 2013 10:55:23 +0000 (11:55 +0100)]
ppp.8: Fix the last mandoc(1) warnings.

Taken-from: OpenBSD

9 months agoUpdate the pciconf(8) database.
Sascha Wildner [Sun, 15 Dec 2013 22:26:41 +0000 (23:26 +0100)]
Update the pciconf(8) database.

December 10, 2013 snapshot from http://pciids.sourceforge.net/

9 months agostrlcpy.3: fix parameter name
Nicolas Thery [Sat, 14 Dec 2013 18:50:59 +0000 (19:50 +0100)]
strlcpy.3: fix parameter name

9 months agoRemove libxpg4 from bsd.libnames.mk too.
Sascha Wildner [Fri, 13 Dec 2013 04:07:54 +0000 (05:07 +0100)]
Remove libxpg4 from bsd.libnames.mk too.

9 months agohammer2 - Refactor file unlink w/open descriptor (3)
Matthew Dillon [Fri, 13 Dec 2013 01:24:47 +0000 (17:24 -0800)]
hammer2 - Refactor file unlink w/open descriptor (3)

* Fix a bug where hammer2_inode_connect() was not calling
  hammer2_chain_lookup() to properly adjust the parent chain pointer
  to the correct insertion point when moving an unlinked-but-open file
  to the hidden directory.

  (triggered with poudriere which uses open/unlinked filesystem FIFO nodes).

* Minor documentation cleanup.

9 months agokernel - Add cache_isopen()
Matthew Dillon [Thu, 12 Dec 2013 17:06:01 +0000 (09:06 -0800)]
kernel - Add cache_isopen()

* Add cache_isopen(), a function which nominally returns whether the
  file referenced by a namecache structure is active (opened or mmapped).

  The code currently just checks the ref-count on the underlying vnode
  if it is present, which should be sufficient.

* Used by HAMMER2.

9 months agokernel - Fix rare buffer cache deadlock
Matthew Dillon [Thu, 12 Dec 2013 17:01:40 +0000 (09:01 -0800)]
kernel - Fix rare buffer cache deadlock

* cluster_collectbufs() was improperly using a blocking vfs/bio calls
  to find nearby buffers, which can deadlock against multi-threaded
  filesystems.

* Only occurs in the write path, probably only H2 is affected.

9 months ago{ctype,iswalnum}_l.3: Remove references to non-existant is{w,}ascii_l().
Sascha Wildner [Thu, 12 Dec 2013 16:58:50 +0000 (17:58 +0100)]
{ctype,iswalnum}_l.3: Remove references to non-existant is{w,}ascii_l().

9 months agohammer2 - cleanup embedded data hacks
Matthew Dillon [Thu, 12 Dec 2013 07:17:41 +0000 (23:17 -0800)]
hammer2 - cleanup embedded data hacks

* Chains of type BREF_TYPE_INODE and BREF_TYPE_FREEMAP_LEAF were embedding
  their data (using a kmalloc()'d copy instead of a buffer-cache mapping).
  This was done due to recursive locking issues with struct buf's.

* With the new hammer2_dio.c module we no longer have to use this hack.
  Remove it and use device buffer mappings (via dio) for these two chain
  types.

* All chains except the embedded volume and freemap headers now use buffer
  maps.

* This should substantially reduce adhoc kernel memory use and improve
  performance as VOP calls no longer have to kmalloc/bcopy/kfree clean
  inode data on every call.

9 months agohammer2 - Refactor file unlink w/open descriptor (2)
Matthew Dillon [Thu, 12 Dec 2013 03:44:38 +0000 (19:44 -0800)]
hammer2 - Refactor file unlink w/open descriptor (2)

* Stabilization pass

* Fix various deadlocks.  When dealing with hardlinks lock the common
  parent directory before locking the source/target directories.
  Move cache_rename() outside of internal H2 locks.

* Fix an issue with nlinks counting.

* Remove some debugging.

9 months agohammer2 - Refactor file unlink w/open descriptor
Matthew Dillon [Wed, 11 Dec 2013 21:33:11 +0000 (13:33 -0800)]
hammer2 - Refactor file unlink w/open descriptor

* Remove the H2 special cases for the HAMMER2_CHAIN_DELETED flag.  These
  special cases existed to deal with the unlink-open-file case, but hackish
  and didn't deal with all the issues (such as bulk-free scan code losing
  track of the unlinked open file).

* Change the unlink case when the file is still open or mmap'd.  Instead of
  deleting the inode H2 will now move the inode to a hidden directory in
  the mount root.  This way the bulk freeing code still sees it.

  When the inode is moved it is re-keyed to its inode number, thus guaranteed
  not to conflict with anything else sitting in the hidden directory.

* Add code to create the hidden directory in the mount root if it does not
  exist.

* Add code to wipe the contents of the hidden directory on-mount (as a crash
  recovery mechanic).

9 months agordist.1: Untangle nested displays.
Sascha Wildner [Wed, 11 Dec 2013 17:00:28 +0000 (18:00 +0100)]
rdist.1: Untangle nested displays.

9 months agohammer2 - Refactor reserved block selection in freemap code (2)
Matthew Dillon [Wed, 11 Dec 2013 04:45:06 +0000 (20:45 -0800)]
hammer2 - Refactor reserved block selection in freemap code (2)

* Fix off-by-1 bug in last commit when calculating the new offset
  in the freemap code.

* Remove some debugging.

9 months agocallout: Fix callout_terminate() if the callout_reset() is never called
Sepherosa Ziehau [Tue, 10 Dec 2013 15:38:36 +0000 (23:38 +0800)]
callout: Fix callout_terminate() if the callout_reset() is never called

If callout_reset() is never called, then c_gd will be NULL

9 months agobnx: Bring in APE support from FreeBSD bge(4)
Sepherosa Ziehau [Tue, 10 Dec 2013 11:07:49 +0000 (19:07 +0800)]
bnx: Bring in APE support from FreeBSD bge(4)

Obtained-from: FreeBSD 241438 248226

9 months agobinutils 2.24 linkers: enable plugin capability
John Marino [Mon, 9 Dec 2013 23:00:24 +0000 (00:00 +0100)]
binutils 2.24 linkers: enable plugin capability

Binutils 2.22 linkers have plugins enabled already.

9 months agokernel - rate-limit the '%s: FAILURE - oversized DMA transfer' console msg
Matthew Dillon [Mon, 9 Dec 2013 22:50:47 +0000 (14:50 -0800)]
kernel - rate-limit the '%s: FAILURE - oversized DMA transfer' console msg

* Rate-limit an ATA console message which can wind up being printed a lot
  under certain circumstances.

9 months agohammer2 - Refactor reserved block selection in freemap code
Matthew Dillon [Mon, 9 Dec 2013 22:47:11 +0000 (14:47 -0800)]
hammer2 - Refactor reserved block selection in freemap code

* Refactor the reserved block selection in the freemap code.  Move from
  4 copies of each freemap block to 15 copies in order to ensure
  that any of the four volume header backups (which are rotated on each
  flush) can be used at mount-time.

* A better algorithm could use as few as 10 copies but for now I am using
  a more trivial algorithm which needs 15.

* No media changes, the 4MB/2GB of space already reserved had sufficient
  room.

9 months agoSet binutils 2.24 as primary, binutils 2.22 as alternate
John Marino [Fri, 6 Dec 2013 17:51:07 +0000 (18:51 +0100)]
Set binutils 2.24 as primary, binutils 2.22 as alternate

By default, world will now build with binutils 2.24 and objformat will
also default to these programs.  Previously binutils 2.22 has been
performing these duties.

9 months agosed(1): Per the resolution of POSIX bug 0000779 (note 0002050) add
Eitan Adler [Mon, 9 Dec 2013 19:19:39 +0000 (14:19 -0500)]
sed(1): Per the resolution of POSIX bug 0000779 (note 0002050) add
support for using 'i' as a case insensitive flag.

Obtained-from:   FreeBSD r259132

9 months agosysctl.3: Remove useless .Ns and use .Vt for types.
Sascha Wildner [Mon, 9 Dec 2013 18:31:50 +0000 (19:31 +0100)]
sysctl.3: Remove useless .Ns and use .Vt for types.

9 months agomakewhatis(8): replace mdoc(7) OS text macros
Franco Fichtner [Mon, 9 Dec 2013 18:40:33 +0000 (18:40 +0000)]
makewhatis(8): replace mdoc(7) OS text macros

9 months agomakewhatis(8): small cleanups, reduce diff against FreeBSD
Franco Fichtner [Mon, 9 Dec 2013 10:38:38 +0000 (10:38 +0000)]
makewhatis(8): small cleanups, reduce diff against FreeBSD

`.SS'-skipping-bit-taken-from: FreeBSD

9 months agomakewhatis(1): use static where appropriate
Eitan Adler [Sun, 8 Dec 2013 21:20:55 +0000 (16:20 -0500)]
makewhatis(1): use static where appropriate

9 months ago/etc/remote: Sort the explanation on the top of the file.
Eitan Adler [Sun, 8 Dec 2013 19:13:31 +0000 (14:13 -0500)]
/etc/remote: Sort the explanation on the top of the file.

Obtained-from:   FreeBSD

9 months agoRemove /usr/include/tzfile.h, since it is not supposed to be public.
Sascha Wildner [Sun, 8 Dec 2013 20:33:43 +0000 (21:33 +0100)]
Remove /usr/include/tzfile.h, since it is not supposed to be public.

Also see the comments at the top of it.

9 months agoAdd static where useful.
Eitan Adler [Sun, 8 Dec 2013 19:04:09 +0000 (14:04 -0500)]
Add static where useful.

9 months agomakewhatis(8): change index build logic
Franco Fichtner [Sun, 8 Dec 2013 13:38:50 +0000 (13:38 +0000)]
makewhatis(8): change index build logic

This commit reflects on issues brought up by swildner.  The idea
behind this change is simple:  track each manual page via
its inode and append all alternative names to the same struct.
The former logic missed references across sections, so the
manual page indexing now covers all sections before creating
the whatis database.

The index now only reflects the layout of /usr/share/man (or
the specified path), and *not* the contents of a manual page,
except for its description.

As a consequence, all MLINKS are now properly referenced in
the apropos(1) output.

I wanted to have the `real' file as the first name, but it's
better to keep the style consistent with `SEE ALSO' sections
by sorting per section, then per name.  Output as follows:

    # apropos vcd
    vcd(4), vkd(4), vke(4), vkernel(7) - virtual kernel architecture

9 months agobnx: Merge several recent bge changes
Sepherosa Ziehau [Sun, 8 Dec 2013 12:58:22 +0000 (20:58 +0800)]
bnx: Merge several recent bge changes

57b622244562b2b67b60bc5eeecd498f5946d359
f2ccc3cdd409facd7b596fcc3f6157e3a7029df2
e6fdacca28b0af2f878e74dd2acc6f40288a4cb3
b87c703422a52f1b874b6f00516b7a096f826b6a
9062031ed71445ef2de9bf9b4e0d96fd6cdf9c34
cc224beafa386c6a9777d1a3296217d768ea7405
0bf9631eae999627c5ae189775a5fe4b1ee75280
d05296cfacc7c2847af2f475bfb374ddf5f985ac

9 months agobge: Extend delay time for 5761 during firmware hand shaking
Sepherosa Ziehau [Sun, 8 Dec 2013 11:36:59 +0000 (19:36 +0800)]
bge: Extend delay time for 5761 during firmware hand shaking

So the firmware hand shaking will not time out on these chips.

9 months agobge: Bring in APE support from FreeBSD
Sepherosa Ziehau [Sun, 8 Dec 2013 11:14:09 +0000 (19:14 +0800)]
bge: Bring in APE support from FreeBSD

Obtained-from: FreeBSD 241438 248226

9 months agomake upgrade: Fix typo.
Sascha Wildner [Sat, 7 Dec 2013 21:08:16 +0000 (22:08 +0100)]
make upgrade: Fix typo.

9 months agomake upgrade: Remove old binutils manual pages, too.
Sascha Wildner [Sat, 7 Dec 2013 20:41:19 +0000 (21:41 +0100)]
make upgrade: Remove old binutils manual pages, too.

9 months agoUPDATING: Don't stop shouting in the middle of the sentence.
Sascha Wildner [Sat, 7 Dec 2013 11:36:14 +0000 (12:36 +0100)]
UPDATING: Don't stop shouting in the middle of the sentence.

9 months agoacpi utilities: Raise WARNS to 2, bump CSTD to gnu99, fix warnings.
Sascha Wildner [Sat, 7 Dec 2013 11:32:42 +0000 (12:32 +0100)]
acpi utilities: Raise WARNS to 2, bump CSTD to gnu99, fix warnings.

9 months agorogue(6): Fix a warning which crept up with -O2.
Sascha Wildner [Sat, 7 Dec 2013 09:30:12 +0000 (10:30 +0100)]
rogue(6): Fix a warning which crept up with -O2.

9 months agolibwrap: Raise WARNS to 2 and fix warnings.
Sascha Wildner [Fri, 6 Dec 2013 17:46:05 +0000 (18:46 +0100)]
libwrap: Raise WARNS to 2 and fix warnings.

9 months agogold 2.24: Sync with binutils 2.22
John Marino [Fri, 6 Dec 2013 16:11:17 +0000 (17:11 +0100)]
gold 2.24: Sync with binutils 2.22

I had forgotten that the build for gold changed on DragonFly between
binutils 2.21 and binutils 2.22.  When I based 2.24 on 2.21, I lost
these change (namely a common Makefile.gld and the support for the
new utility incremental dump).

I also forgot the update the generated yyscript.[ch] files.
This commit brings binutils 2.24 in-line with 2.22.

9 months agoRemoved the now-unused binutils 2.21 contrib directory
John Marino [Fri, 6 Dec 2013 14:13:03 +0000 (15:13 +0100)]
Removed the now-unused binutils 2.21 contrib directory

9 months agobinutils 2.24: Complete replacement of binutils 2.21
John Marino [Fri, 6 Dec 2013 14:08:44 +0000 (15:08 +0100)]
binutils 2.24: Complete replacement of binutils 2.21

* Binutils 2.22 is still default, pending package build test
* The world breakage cause by previous commit (intended) is fixed
* To use binutils2.24, WORLD_BINUTILS and BINUTILSVER env vars need to
  be set

9 months agoRename binutils221 to binutils224 as a new makefile base
John Marino [Fri, 6 Dec 2013 13:35:06 +0000 (14:35 +0100)]
Rename binutils221 to binutils224 as a new makefile base

* This immediately breaks binutils221 which will be removed imminently
* This temporarily breaks the build completely
* Makefile.buo was realigned to respect 75 characters
* Makefile.buo was tweaked to minimum necessary updates by using :S modifier
* Makefile.buo extra ".else" branches were removed
* NO_BINUTILS221 will be replaced with NO_ALTBINUTILS, this is first step

9 months agoBinutils 2.24: Add READMEs and local modifications
John Marino [Fri, 6 Dec 2013 13:12:06 +0000 (14:12 +0100)]
Binutils 2.24: Add READMEs and local modifications

9 months agoMerge branch 'vendor/BINUTILS224'
John Marino [Fri, 6 Dec 2013 15:13:54 +0000 (16:13 +0100)]
Merge branch 'vendor/BINUTILS224'

9 months agoInitial import of Binutils 2.24 on vendor branch vendor/BINUTILS224
John Marino [Fri, 6 Dec 2013 15:12:33 +0000 (16:12 +0100)]
Initial import of Binutils 2.24 on vendor branch

9 months agoRemove unused file.
Sascha Wildner [Fri, 6 Dec 2013 15:02:27 +0000 (16:02 +0100)]
Remove unused file.

9 months agokernel/i386: Make digi(4) compilable into the kernel and add it to LINT.
Sascha Wildner [Fri, 6 Dec 2013 01:22:02 +0000 (02:22 +0100)]
kernel/i386: Make digi(4) compilable into the kernel and add it to LINT.

9 months agoLINT/LINT64: Additional adjustment for e19e3c77407.
Sascha Wildner [Fri, 6 Dec 2013 01:05:05 +0000 (02:05 +0100)]
LINT/LINT64: Additional adjustment for e19e3c77407.

9 months agokernel: Drop ISA support from most remaining drivers that had some.
Sascha Wildner [Fri, 6 Dec 2013 00:59:18 +0000 (01:59 +0100)]
kernel: Drop ISA support from most remaining drivers that had some.

After this commit we're only left with things like atkbd, sio, etc.
which have to stay.

9 months agokernel: Fix a bunch of drm warnings.
Sascha Wildner [Fri, 6 Dec 2013 00:45:44 +0000 (01:45 +0100)]
kernel: Fix a bunch of drm warnings.

9 months agokernel/i386: Remove some old devices from the userconfig list.
Sascha Wildner [Fri, 6 Dec 2013 00:06:26 +0000 (01:06 +0100)]
kernel/i386: Remove some old devices from the userconfig list.

9 months agoRemove libxpg4 stub which never played a role for DragonFly.
Sascha Wildner [Thu, 5 Dec 2013 23:26:04 +0000 (00:26 +0100)]
Remove libxpg4 stub which never played a role for DragonFly.

9 months agoipfw(8): Raise WARNS to 2 and fix warnings.
Sascha Wildner [Thu, 5 Dec 2013 22:06:28 +0000 (23:06 +0100)]
ipfw(8): Raise WARNS to 2 and fix warnings.

9 months agofsck(8): Raise WARNS to 2 and fix warnings.
Sascha Wildner [Thu, 5 Dec 2013 22:05:57 +0000 (23:05 +0100)]
fsck(8): Raise WARNS to 2 and fix warnings.

9 months agolibm: Properly end some comments before starting a new one.
Sascha Wildner [Thu, 5 Dec 2013 20:06:55 +0000 (21:06 +0100)]
libm: Properly end some comments before starting a new one.

9 months agodrm: Convert idr spinlocks to lockmgr locks
François Tigeot [Thu, 5 Dec 2013 12:39:36 +0000 (13:39 +0100)]
drm: Convert idr spinlocks to lockmgr locks

* Since the idr code uses blocking calls in some code paths we can't
  hold spin locks accross idr calls

* This commit and the idr infinite loop one fix system freeze issues
  with some Xorg operations involving a huge number of pixmaps

9 months agodrm: Reduce differences with Linux 3.8
François Tigeot [Thu, 5 Dec 2013 12:23:03 +0000 (13:23 +0100)]
drm: Reduce differences with Linux 3.8

Rename mode_config.lock to mode_config.mutex

9 months agodrm: Add linux/i2c.h
François Tigeot [Thu, 5 Dec 2013 11:56:40 +0000 (12:56 +0100)]
drm: Add linux/i2c.h

9 months agobge: Don't blindly clear GPIOs configuration.
Sepherosa Ziehau [Thu, 5 Dec 2013 13:27:38 +0000 (21:27 +0800)]
bge: Don't blindly clear GPIOs configuration.

Just use firmware configured one.  This change also fixes non-working
traffic LED on BCM57780.

Obtained-from: FreeBSD 252227

9 months agobge: Correct setting TX random backoff register.
Sepherosa Ziehau [Thu, 5 Dec 2013 13:20:32 +0000 (21:20 +0800)]
bge: Correct setting TX random backoff register.

Obtained-from: FreeBSD 251482