John Marino [Tue, 23 Apr 2013 20:35:58 +0000 (22:35 +0200)]
Merge branch 'vendor/MPFR'
John Marino [Tue, 23 Apr 2013 19:48:02 +0000 (21:48 +0200)]
Upgrade MPFR from 3.1.0 to 3.1.2 on the vendor branch
John Marino [Tue, 23 Apr 2013 19:02:49 +0000 (21:02 +0200)]
diff utils: Update from version 3.2 to 3.3
** New features
--new-file (-N) and --unidirectional-new-file now allow comparisons to
"-". A standard input that's closed acts like a nonexistent file.
A file name containing spaces, double quotes, backslashes or control
characters is now encoded in a diff header as a double-quoted C string
literal. The escape sequences \\, \", \a, \b, \f, \n, \r, \t, \v and
\ooo (a three-digit octal number between 0 and 255) are used.
John Marino [Tue, 23 Apr 2013 19:32:32 +0000 (21:32 +0200)]
Merge branch 'vendor/DIFFUTILS'
John Marino [Tue, 23 Apr 2013 18:22:30 +0000 (20:22 +0200)]
Upgrade diffutils from 3.2 to 3.3 on the vendor branch
John Marino [Tue, 23 Apr 2013 17:04:18 +0000 (19:04 +0200)]
grep utils: Update from version 2.12 to 2.14
=== 2.14 Bug fixes ===
* grep -i '^$' could exit 0 (i.e., report a match) in a multi-byte locale,
even though there was no match, and the command generated no output.
E.g., seq 2 | LC_ALL=en_US.utf8 grep -il '^$' would mistakenly print
"(standard input)". Related, seq 9 | LC_ALL=en_US.utf8 grep -in '^$'
would print "2:4:6:8:10:12:14:16" and exit 0. Now it prints nothing
and exits with status of 1. [bug introduced in grep-2.6]
* 'grep' no longer falsely reports text files as being binary on file
systems that compress contents or that store tiny contents in metadata.
=== 2.13 Bug fixes ===
* grep -i, in a multi-byte locale, when matching a line containing a character
like the UTF-8 Turkish I-with-dot (U+0130) (whose lower-case representation
occupies fewer bytes), would print an incomplete output line.
Similarly, with a matched line containing a character (e.g., the Latin
capital I in a Turkish UTF-8 locale), where the lower-case representation
occupies more bytes, grep could print garbage.
[bug introduced in grep-2.6]
* --include and --exclude can again be combined, and again apply to
the command line, e.g., "grep --include='*.[ch]' --exclude='system.h'
PATTERN *" again reads all *.c and *.h files except for system.h.
[bug introduced in grep-2.6]
=== New 2.13 features ===
* 'grep' without -z now treats a sparse file as binary, if it can
easily determine that the file is sparse.
John Marino [Tue, 23 Apr 2013 17:53:14 +0000 (19:53 +0200)]
Merge branch 'vendor/GREP'
John Marino [Tue, 23 Apr 2013 14:44:50 +0000 (16:44 +0200)]
Upgrade grep from 2.12 to 2.14 on the vendor branch
John Marino [Tue, 23 Apr 2013 14:19:27 +0000 (16:19 +0200)]
libexpat: remove local modification
This was a modification added to implement CVE-2009-3720.
That CVE is included in 2.1.0, and this change was left over.
Remove the modification; there are now no differences from the
vendor branch.
John Marino [Tue, 23 Apr 2013 11:38:06 +0000 (13:38 +0200)]
libexpat (libbsdxml): Upgrade from version 2.0.1 to 2.1.0
This is a security update. Bug fixes since Release 2.0.1:
#1742315: Harmful XML_ParserCreateNS suggestion.
#2895533: CVE-2012-1147 - Resource leak in readfilemap.c.
#1785430: Expat build fails on linux-amd64 with gcc version>=4.1 -O3.
#1983953, 2517952, 2517962, 2649838:
Build modifications using autoreconf instead of buildconf.sh.
#2815947, #2884086: OBJEXT and EXEEXT support while building.
#1990430: CVE-2009-3720 - Parser crash with special UTF-8 sequences.
#2517938: xmlwf should return non-zero exit status if not well-formed.
#2517946: Wrong statement about XMLDecl in xmlwf.1 and xmlwf.sgml.
#2855609: Dangling positionPtr after error.
#2894085: CVE-2009-3560 - Buffer over-read and crash in big2_toUtf8().
#2958794: CVE-2012-1148 - Memory leak in poolGrow.
#2990652: CMake support.
#3010819: UNEXPECTED_STATE with a trailing "%" in entity value.
#3206497: Unitialized memory returned from XML_Parse.
#3287849: make check fails on mingw-w64.
#3496608: CVE-2012-0876 - Hash DOS attack.
New Features / API changes:
Added new API member XML_SetHashSalt() that allows setting an intial
value (salt) for hash calculations. This is part of the fix for
bug #3496608 to randomize hash parameters.
When compiled with XML_ATTR_INFO defined, adds new API member
XML_GetAttributeInfo() that allows retrieving the byte
offsets for attribute names and values (patch #3446384).
Added CMake build system.
See bug #2990652 and patch #3312568.
Added run-benchmark target to Makefile.in - relies on testdata module
present in the same relative location as in the repository.
John Marino [Tue, 23 Apr 2013 13:56:15 +0000 (15:56 +0200)]
Merge branch 'vendor/EXPAT'
John Marino [Tue, 23 Apr 2013 13:54:59 +0000 (15:54 +0200)]
Upgrade Expat from 2.0.1 to 2.1.0 on the vendor branch
Matthew Dillon [Tue, 23 Apr 2013 05:29:41 +0000 (22:29 -0700)]
buildworld - Reorder libcrypto to before libradius
* Reorder libcrypto to build it before libradius. A future libradius
may wind up depending on it, so get this out of the way now.
Sascha Wildner [Mon, 22 Apr 2013 18:08:50 +0000 (20:08 +0200)]
Sync zoneinfo database with tzdata2013c from ftp://ftp.iana.org/tz/releases
* antarctica/australasia/zone.tab: Fix times of habitation for Macquarie
to agree with the Tasmania Parks & Wildlife Service history, which
indicates that permanent habitation was 1899-1919 and 1948 on. It is
politically part of Australia, not Antarctica. (Thanks to Tobias
Conradi.) Also, sort Macquarie more consistently with other parts of
Australia. (Thanks to Tim Parenti.)
* asia: Palestine observed DST starting March 29, 2013. (Thanks to
Steffen Thorsen.) From 2013 on, Gaza and Hebron both observe DST,
with the predicted rules being the last Thursday in March at 24:00
to the first Friday on or after September 21 at 01:00. Also, fix
some historical data for Palestine to agree with that of
timeanddate.com.
* southamerica: Assume that the recent change to Paraguay's DST rules is
permanent, by moving the end of DST to the 4th Sunday in March every
year. (Thanks to Carlos Raul Perasso.)
Sascha Wildner [Sun, 21 Apr 2013 11:27:29 +0000 (13:27 +0200)]
nrelease: Handle dports' /usr/distfiles better and remove /usr/dports.
Sascha Wildner [Sun, 21 Apr 2013 09:15:06 +0000 (11:15 +0200)]
nrelease: Add pkg(8) to our images and ISOs.
'make release' now requires an additional directory with the dports tree.
This commit adds some more steps (such as running 'pkg autoremove').
In-discussion-with: marino
Sascha Wildner [Sat, 20 Apr 2013 11:33:16 +0000 (13:33 +0200)]
nrelease: Remove an unused variable.
Sascha Wildner [Fri, 19 Apr 2013 16:22:36 +0000 (18:22 +0200)]
Update the pciconf(8) database.
April 4, 2013 snapshot from http://pciids.sourceforge.net/
Sascha Wildner [Fri, 19 Apr 2013 15:53:25 +0000 (17:53 +0200)]
nrelease: Don't install the git meta-pkg (it will pull in gitk).
Matthew Dillon [Thu, 18 Apr 2013 17:17:49 +0000 (10:17 -0700)]
powerd - Fix load factor calculation bug for niced processes
* A type-o in the load calculation code was not counting niced
processes at all, so if you have a lot of niced processes
(like ffmpeg's which nice themselves down), powerd can wind
up restricting them all to a single cpu. Doh!
Sascha Wildner [Wed, 17 Apr 2013 20:57:04 +0000 (22:57 +0200)]
installer: Make it possible to start the installer from a running system.
Also clean up a little and add a small manual page.
Note that the installer isn't hooked into the normal build/install per
this commit. These changes are mainly to help with testing and debugging.
John Marino [Tue, 16 Apr 2013 00:42:13 +0000 (02:42 +0200)]
Makefile.inc: Rework automatic backup (bug 2527)
There were three main problems with the recently added backup feature:
1. It didn't work over NFS
2. It didn't work when a non-root built world the second time
3. It didn't use DESTDIR which had potential to conflict backups
It also previously featured "NO_BACKUP" which turned off the automatic
backup feature. To fix the #2 problem, the install timestamp has been
removed, so to avoid unwanted backups for multiple installworlds after
one buildworld, the user needs to pass NO_BACKUP in the command line.
This patch was contributed by Thomas Nikolajsen with minor modifications
added by John Marino.
http://bugs.dragonflybsd.org/issues/2527
Sascha Wildner [Tue, 16 Apr 2013 17:13:19 +0000 (19:13 +0200)]
kernel/checkpoint: Fix wrong sizeof (p_sigacts is a pointer).
Sascha Wildner [Tue, 16 Apr 2013 17:01:01 +0000 (19:01 +0200)]
kernel/isa: Remove redundant check. Already depends on isa per 'files'.
Sascha Wildner [Tue, 16 Apr 2013 16:48:30 +0000 (18:48 +0200)]
kernel: Use NULL for pointers in DRIVER_MODULE()s.
Sascha Wildner [Tue, 16 Apr 2013 16:37:19 +0000 (18:37 +0200)]
kernel/ndis: Fix typo in DRIVER_MODULE().
Sascha Wildner [Tue, 16 Apr 2013 16:22:22 +0000 (18:22 +0200)]
libc: Fix some warnings.
Sascha Wildner [Mon, 15 Apr 2013 21:39:28 +0000 (23:39 +0200)]
mandoc.3: Some small fixes.
Sascha Wildner [Sun, 14 Apr 2013 09:55:10 +0000 (11:55 +0200)]
mandoc(1): Adjust Makefile for 1.12.1.
Sascha Wildner [Sun, 14 Apr 2013 09:49:23 +0000 (11:49 +0200)]
Add libmandoc.
Sascha Wildner [Mon, 15 Apr 2013 20:19:59 +0000 (22:19 +0200)]
Merge branch 'vendor/MDOCML'
Sascha Wildner [Mon, 15 Apr 2013 20:11:00 +0000 (22:11 +0200)]
rm(1): Add -x option to prevent recursive rm crossing mount points.
Submitted-by: Joris Giovannangeli <joris@giovannangeli.fr>
Dragonfly-bug: <http://bugs.dragonflybsd.org/issues/2546>
Sepherosa Ziehau [Mon, 15 Apr 2013 14:27:47 +0000 (22:27 +0800)]
bnx: Save inetrrupt mailbox register in bnx_intr_data
Sepherosa Ziehau [Mon, 15 Apr 2013 14:09:47 +0000 (22:09 +0800)]
bnx: There is no non-oneshot MSI interrupt handler now
Sepherosa Ziehau [Mon, 15 Apr 2013 13:34:43 +0000 (21:34 +0800)]
bnx: Chips supported by this driver always support "one shot" MSI
Sepherosa Ziehau [Mon, 15 Apr 2013 13:21:18 +0000 (21:21 +0800)]
bnx: Move status block related fields into bnx_intr_data
For MSI-X support, each MSI-X vector needs one status block.
Sepherosa Ziehau [Sun, 14 Apr 2013 12:46:08 +0000 (20:46 +0800)]
bnx: Properly setup RX return ring cons index position
Sepherosa Ziehau [Sun, 14 Apr 2013 10:51:56 +0000 (18:51 +0800)]
bnx: Use pre-configured array to setup TX ring's mailbox register
Sepherosa Ziehau [Sun, 14 Apr 2013 08:29:06 +0000 (16:29 +0800)]
bnx: Create dedicated thread for RX standard ring refilling
The RX standard ring descriptors and RX standard producer index register
are updated only in the dedicated thread. The RX standard ring software
ring data are shared between RX return rings' processing threads and the
dedicated thread. The RX standard ring software ring data are updated in
lockless fashion, since only one RX return ring could be the owner of the
entry of RX standard ring software ring data.
The RX standard ring refilling thread scheduling is optimized that only
when certain amount of packets are received by the RX return ring, the
RX standard ring refiling thread will be scheduled.
This prepares for the multiple RX rings support.
Eitan Adler [Sat, 13 Apr 2013 20:37:10 +0000 (16:37 -0400)]
touch(1): Constify where appropriate
Reported-by: emaste@FreeBSD.org
Sascha Wildner [Sun, 14 Apr 2013 08:03:58 +0000 (10:03 +0200)]
Import mdocml-1.12.1
Sascha Wildner [Sat, 13 Apr 2013 07:31:42 +0000 (09:31 +0200)]
pathconf.2: Mention lpathconf() in the ERRORS section.
Sascha Wildner [Sat, 13 Apr 2013 07:09:58 +0000 (09:09 +0200)]
kernel/rmdir: Return EBUSY if the dir is a mount point for a mounted fs.
See: http://pubs.opengroup.org/onlinepubs/
009695399/functions/rmdir.html
It was already documented like that in the manual page.
While here, also document that we return EINVAL if the last component of
the path is "." or ".." (taken from FreeBSD).
Reported-by: Joris Giovannangeli <joris@giovannangeli.fr>
Dragonfly-bug: <http://bugs.dragonflybsd.org/issues/2543>
Sascha Wildner [Sat, 13 Apr 2013 06:58:19 +0000 (08:58 +0200)]
kernel: Add lpathconf(2) syscall.
It's like pathconf(2) but doesn't follow symlinks.
Manual page changes taken from FreeBSD.
Sascha Wildner [Fri, 12 Apr 2013 15:43:26 +0000 (17:43 +0200)]
touch(1): Move ids back to the comments (as per
1de703daf6).
Sepherosa Ziehau [Fri, 12 Apr 2013 05:21:15 +0000 (13:21 +0800)]
bnx: Fix up CPUID for tick callout
Sepherosa Ziehau [Fri, 12 Apr 2013 03:13:40 +0000 (11:13 +0800)]
bnx: Reimplement polling in non-compat mode
Take advantage of the independent TX/RX serializers.
Additionally, save the status tag's location in RX return ring struct.
François Tigeot [Thu, 11 Apr 2013 12:06:34 +0000 (14:06 +0200)]
touch(1): Reintroduce local changes
Major changes introduced by the update from FreeBSD:
* Add the 'h' flag to operate on symlinks rather than what they point to.
* Add -A flag to adjust existing time stamps.
* Add the -d option from POSIX.1-2008.
This is much like -t but with a different format which is ISO8601-like
and allows fractions of a second.
* Remove the advertising clause from UCB copyrighted files. This
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
* Remove useless and potentially dangerous rw() function which tries to
update access and modification times by reading and writing the file.
François Tigeot [Thu, 11 Apr 2013 07:02:56 +0000 (09:02 +0200)]
touch(1): Sync with FreeBSD
Sepherosa Ziehau [Thu, 11 Apr 2013 08:54:08 +0000 (16:54 +0800)]
bnx: Add read-only sysctl node for RX/TX queue count
Sepherosa Ziehau [Thu, 11 Apr 2013 08:15:28 +0000 (16:15 +0800)]
bnx: Switch to IFQ subqueue functions and use per-TX queue watchdog
Sepherosa Ziehau [Thu, 11 Apr 2013 07:33:24 +0000 (15:33 +0800)]
bnx: Split RX/TX serializers
Sascha Wildner [Wed, 10 Apr 2013 17:10:53 +0000 (19:10 +0200)]
Add EXIT STATUS messages in some manual pages.
Sascha Wildner [Wed, 10 Apr 2013 16:57:21 +0000 (18:57 +0200)]
rmdir.1: Add EXIT STATUS section and fix a typo.
Sascha Wildner [Wed, 10 Apr 2013 16:12:08 +0000 (18:12 +0200)]
Makefile_upgrade.inc: Fix typo.
Sepherosa Ziehau [Wed, 10 Apr 2013 09:05:56 +0000 (17:05 +0800)]
bnx: Group interrupt related fields together
Sepherosa Ziehau [Wed, 10 Apr 2013 03:10:33 +0000 (11:10 +0800)]
ioapic: Relocate IRQ if it hits SYSCALL entry
The system hitting the "unused IRQ assertion" has 5x24 pin IOAPICs
Reported-by: ruse39
Sepherosa Ziehau [Wed, 10 Apr 2013 02:13:56 +0000 (10:13 +0800)]
bnx: Save RX return ring and TX ring status block indices' location
Sepherosa Ziehau [Tue, 9 Apr 2013 12:52:24 +0000 (20:52 +0800)]
bnx: Field renaming; no functional changes
Sepherosa Ziehau [Tue, 9 Apr 2013 09:41:37 +0000 (17:41 +0800)]
bnx: Factor out bnx_{alloc,setup,free}_intr()
Sepherosa Ziehau [Tue, 9 Apr 2013 09:18:31 +0000 (17:18 +0800)]
bce: BCM5716's MSI does not have bug either
Sepherosa Ziehau [Tue, 9 Apr 2013 09:03:40 +0000 (17:03 +0800)]
bnx: Don't commit coalesce param changes in interrupt/polling handler
This is only intended for old chips. Just commit the coalesce param
changes in sysctl handlers.
Sepherosa Ziehau [Sat, 6 Apr 2013 11:47:59 +0000 (19:47 +0800)]
bnx: Regroup RX std and return rings into their own structs
Sepherosa Ziehau [Tue, 9 Apr 2013 03:06:39 +0000 (11:06 +0800)]
ip/udp: Fix IP source address setting for multicast address bound socket
It is a common practice to bind UDP socket to multicast address to enjoy
kernel level destination multicast address and port filtering. However,
if data are sent on this kind of socket, source address of the IP packet
will be the bound multicast address?!
Two fixes are added to address this bug:
1) Don't set IP source address in udp_output(), if the inpcb's laddr is
multicast address. Instead the IP source address is set to INADDR_ANY,
so ip_output() could pick up a proper IP source address.
2) With 1) in place, it is possible that IP source address is INADDR_ANY
before the ifnet.if_output() using following steps:
- If the IP_MULTICAST_IF socket option is set to iface0
- The iface0's last IP address is unset, before the ip_output()
This condition could easily be reproduced by using test/mcast:
mcast -m 224.2.2.2 -p 3000 -i iface0_ip -D 10
During the 10sec delay, wipe out all IP addresses from iface0
Well, even without 1), raw IP still could generate IP packet using
INADDR_ANY as source address.
Two checks on the source IP address are added to ip_output() before
ifnet.if_output()
- IP source address should not be INADDR_ANY
- IP source address should not be multicast address
And for multicast IP packets, if the IP source address could be
determined, they will not be looped back and forwarded.
Reported-by: zeroxia
Sepherosa Ziehau [Tue, 9 Apr 2013 03:05:46 +0000 (11:05 +0800)]
test/mcast: Add test for send(2) on multicast address bound socket
Sepherosa Ziehau [Tue, 9 Apr 2013 02:32:22 +0000 (10:32 +0800)]
ip_output: Record the "src was INADDR_ANY" for multicast packets
While I'm here, fix the comment on the unicast packet output path.
Sascha Wildner [Sun, 7 Apr 2013 21:59:44 +0000 (23:59 +0200)]
mined(1): Fix alignment issue on strict alignment architectures.
Reported-by: Eitan Adler <eadler@freebsd.org>
Dragonfly-bug: <http://bugs.dragonflybsd.org/issues/2541>
Sascha Wildner [Sun, 7 Apr 2013 21:04:53 +0000 (23:04 +0200)]
mined.1: Move some info from CAVEATS to DESCRIPTION.
mandoc(1) warns about CAVEATS not being in conventional order and
silencing it by moving the section would have caused it to be behind
HISTORY even.
However, the info is more important than the editor's history, so
instead add it to the DESCRIPTION, which is short in this case, anyway.
Reported-by: Eitan Adler <eadler@freebsd.org>
Dragonfly-bug: <http://bugs.dragonflybsd.org/issues/2540>
Peter Avalos [Sun, 7 Apr 2013 04:55:23 +0000 (21:55 -0700)]
ftp: Update files for tnftp-
20121224 import.
Peter Avalos [Sun, 7 Apr 2013 05:00:55 +0000 (22:00 -0700)]
Merge branch 'vendor/TNFTP'
Sepherosa Ziehau [Sun, 7 Apr 2013 04:57:49 +0000 (12:57 +0800)]
de: Reset chip after calling ether_ifattach()
Else the ifnet is not completely initialized
Reported-by: swildner@
Peter Avalos [Sun, 7 Apr 2013 04:34:01 +0000 (21:34 -0700)]
Import tnftp-
20121224.
* Add https support.
* When using the response to SYST to decide whether to default to
'binary' be a lot less specific.
Obtained-from: NetBSD
Sascha Wildner [Fri, 5 Apr 2013 03:50:55 +0000 (05:50 +0200)]
kernel/if_ndis: Grab the serializer around if_devstart().
Submitted-by: sephe
Sascha Wildner [Tue, 2 Apr 2013 19:23:19 +0000 (21:23 +0200)]
development.7: Mention dragonfly.vim.
Sascha Wildner [Tue, 2 Apr 2013 18:04:08 +0000 (20:04 +0200)]
kernel: Fix build without DDB.
Sascha Wildner [Tue, 2 Apr 2013 17:35:18 +0000 (19:35 +0200)]
<sys/param.h>: Adjust comment indent.
Sepherosa Ziehau [Tue, 2 Apr 2013 03:14:02 +0000 (11:14 +0800)]
re: Don't enable MSI by default even for PCI-e chips
It causes more troubles than the benefits it brings for us; it causes
watchdog, due to loosing interrupt, on certain PCI-e chips.
DragonFly-bug: http://bugs.dragonflybsd.org/issues/2533
Justin C. Sherrill [Tue, 2 Apr 2013 02:11:01 +0000 (22:11 -0400)]
Change to DragonFly 3.5.
Sascha Wildner [Mon, 1 Apr 2013 21:43:09 +0000 (23:43 +0200)]
kernel: Fix buildkernel without INVARIANTS.
Reported-by: Filippo Moretti <filippomore@yahoo.com>
Sascha Wildner [Mon, 1 Apr 2013 21:26:47 +0000 (23:26 +0200)]
mfi(4)/mfiutil(8): Add support for foreign configurations and drives.
For this, the following commands are added to mfiutil(8):
foreign scan - lists the number of foreign configs
foreign drives - lists the drives which are flagged as foreign
foreign display - displays the specified foreign configuration
foreign preview - previews the specified foreign configuration after import
foreign clear - clears the foreign configuration
foreign import - imports the foreign configuration
Foreign drive support has been added to 'show drives' too.
Tested-by: ftigeot
Taken-from: http://www.freebsd.org/cgi/query-pr.cgi?pr=172091
Sascha Wildner [Mon, 1 Apr 2013 15:41:51 +0000 (17:41 +0200)]
kernel/mfi: Add a tunable/sysctl to modify the command timeout.
Sascha Wildner [Mon, 1 Apr 2013 20:14:06 +0000 (22:14 +0200)]
kernel: Make tty_compat.c optional in 'files' instead of in the source.
Sascha Wildner [Mon, 1 Apr 2013 13:47:21 +0000 (15:47 +0200)]
bsd.sys.mk: Add -Wmissing-include-dirs to WARNS >= 1.
It ensures that all directories passed with -I<dir> actually exist.
Sascha Wildner [Mon, 1 Apr 2013 13:45:00 +0000 (15:45 +0200)]
libc: Fix -Wmissing-include-dirs.
Sepherosa Ziehau [Mon, 1 Apr 2013 09:55:27 +0000 (17:55 +0800)]
bnx: Pack TX mbuf and dmamap together; improve cache utilization
Sepherosa Ziehau [Mon, 1 Apr 2013 07:48:49 +0000 (15:48 +0800)]
Merge remote-tracking branch 'hofmann/wlan_serialize'
Sascha Wildner [Sun, 31 Mar 2013 19:45:49 +0000 (21:45 +0200)]
ciss(4): Fix build with CISS_DEBUG.
Sepherosa Ziehau [Sun, 31 Mar 2013 12:29:46 +0000 (20:29 +0800)]
bnx: Properly setup TX ring prod index position
Sepherosa Ziehau [Sun, 31 Mar 2013 10:26:40 +0000 (18:26 +0800)]
bge: Limit STD RX ring prod index increment to 8 for 5750, 5752 and 5755
This works around hardware errata.
NOTE:
For 5750, 5752 and 5755, the STD RX ring replesh threshold has already
been set to 8.
Obtained-from: tg3
Sascha Wildner [Sat, 30 Mar 2013 12:20:58 +0000 (13:20 +0100)]
lock(1): Use %jd for printing intmax_t.
Sascha Wildner [Fri, 29 Mar 2013 19:24:42 +0000 (20:24 +0100)]
libc: Fix -Wunused-parameter.
Sascha Wildner [Fri, 29 Mar 2013 14:09:02 +0000 (15:09 +0100)]
libc: Fix -Wpointer-arith.
Sascha Wildner [Fri, 29 Mar 2013 13:51:55 +0000 (14:51 +0100)]
libc: Fix -Wmissing-field-initializers.
Sascha Wildner [Thu, 28 Mar 2013 22:44:27 +0000 (23:44 +0100)]
libc: Fix -Wempty-body.
Sascha Wildner [Thu, 28 Mar 2013 22:32:39 +0000 (23:32 +0100)]
libc: Fix -Wreturn-type.
Sascha Wildner [Thu, 28 Mar 2013 22:28:33 +0000 (23:28 +0100)]
libc: Fix -Wunused-label.
Sascha Wildner [Thu, 28 Mar 2013 22:13:44 +0000 (23:13 +0100)]
libc: Fix -Wformat.
Sascha Wildner [Thu, 28 Mar 2013 22:07:56 +0000 (23:07 +0100)]
libc: Fix -Wunused-variable.
Sascha Wildner [Thu, 28 Mar 2013 18:29:19 +0000 (19:29 +0100)]
libc: Fix -Wold-style-definition.
Sascha Wildner [Fri, 29 Mar 2013 13:11:13 +0000 (14:11 +0100)]
libc: Bring back warnings to libc.
To disable warnings for the gdtoa sources only, the tweaking of the
CWARNFLAGS has to come _after_ <bsd.lib.mk> is included.
Therefore, it has to be done in libc's Makefile instead of its
Makefile.inc.
Before this commit warnings were completely disabled for libc due
to '-w' passed to every command line.
Also reset WARNS back to 0 since right now, libc doesn't even pass
WARNS=1.