Re: svn commit: r221502 - in head: lib/libutil sys/sys

2011-05-06 Thread Bruce Evans
On Thu, 5 May 2011, David E. O'Brien wrote: Log: Don't duplicate define the stdint types. This is a regression. The [_]stdint.h files were correctly structured before. The stdint types weren't duplicate-defined (modulo bugs), but their definitions were repeated as necessary inside ifdfs.

Re: svn commit: r221124 - in head: . sbin/mount sbin/mount_nfs sys/amd64/conf sys/fs/nfsclient sys/i386/conf sys/ia64/conf sys/nfsclient sys/pc98/conf sys/powerpc/conf sys/sparc64/conf sys/sun4v/conf

2011-05-06 Thread Rick Macklem
On Thu, May 05, 2011 at 07:06:46PM -0400, Rick Macklem wrote: Also, except for the SYSCTL() naming issue they don't comflict. At the moment it is perfectly ok to use both for mounts concurrently. For example, you could have the following 2 lines in your /etc/fstab: nfs-server:/sub1

svn commit: r221523 - head/sys/fs/nfs

2011-05-06 Thread Alexander Motin
Author: mav Date: Fri May 6 13:11:50 2011 New Revision: 221523 URL: http://svn.freebsd.org/changeset/base/221523 Log: Increase NFS_TICKINTVL value from 10 to 500. Now that callout does useful things only once per second, so other 99 calls per second were useless and just don't allow idle

Re: svn commit: r221497 - head/release/ia64

2011-05-06 Thread Nathan Whitehorn
On 05/06/11 00:21, Marcel Moolenaar wrote: On May 5, 2011, at 8:29 PM, Nathan Whitehorn wrote: On 05/05/11 16:18, Marcel Moolenaar wrote: On May 5, 2011, at 7:16 AM, Nathan Whitehorn wrote: @@ -84,15 +63,13 @@ if [ $bootable = yes ]; then mv $MNT/boot/loader.efi

svn commit: r221527 - in head/sys: amd64/amd64 amd64/include i386/i386 i386/include

2011-05-06 Thread Andriy Gapon
Author: avg Date: Fri May 6 13:51:54 2011 New Revision: 221527 URL: http://svn.freebsd.org/changeset/base/221527 Log: prepare code that does topology detection for amd cpus for bulldozer This also introduces a new detection path for family 10h and newer pre-bulldozer cpus, pre-10h

svn commit: r221533 - head/contrib/one-true-awk

2011-05-06 Thread Ruslan Ermilov
20110501 (FreeBSD); +const char *version = version 20110506 (FreeBSD); #define DEBUG #include stdio.h @@ -95,7 +95,7 @@ int main(int argc, char *argv[]) safe = 1; break; case 'f': /* next argument is program

svn commit: r221536 - head/usr.sbin/makefs/cd9660

2011-05-06 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri May 6 15:40:58 2011 New Revision: 221536 URL: http://svn.freebsd.org/changeset/base/221536 Log: Simplify this code somewhat by only writing a 512-byte-sector APM map. All firmwares can read it, we need to write one anyway for old OF versions, and if a 512-byte

Re: svn commit: r221124 - in head: . sbin/mount sbin/mount_nfs sys/amd64/conf sys/fs/nfsclient sys/i386/conf sys/ia64/conf sys/nfsclient sys/pc98/conf sys/powerpc/conf sys/sparc64/conf sys/sun4v/conf

2011-05-06 Thread Pawel Jakub Dawidek
On Fri, May 06, 2011 at 07:54:25AM -0400, Rick Macklem wrote: On Thu, May 05, 2011 at 07:06:46PM -0400, Rick Macklem wrote: Also, except for the SYSCTL() naming issue they don't comflict. At the moment it is perfectly ok to use both for mounts concurrently. For example, you could

Re: svn commit: r221124 - in head: . sbin/mount sbin/mount_nfs sys/amd64/conf sys/fs/nfsclient sys/i386/conf sys/ia64/conf sys/nfsclient sys/pc98/conf sys/powerpc/conf sys/sparc64/conf sys/sun4v/conf

2011-05-06 Thread Rick Macklem
If you don't share my preference then it would be good to make new NFS just 'nfs' everywhere (sysctls, fstype, etc.), so that we won't end up with 'newnfs' in random places in five years from now. What you do with old NFS is less important to me:) As you'll see from the post I just sent

Re: svn commit: r221124 - in head: . sbin/mount sbin/mount_nfs sys/amd64/conf sys/fs/nfsclient sys/i386/conf sys/ia64/conf sys/nfsclient sys/pc98/conf sys/powerpc/conf sys/sparc64/conf sys/sun4v/conf

2011-05-06 Thread Rick Macklem
Pawel Jakub Dawidek p...@freebsd.org writes: My personal opinion is that supporting such configuration is not worth the efforts and actually I'd prefer to use the same sysctl tree (vfs.nfs.*) and the same fstype (nfs) in both clients. User would decide which to use by loading one

svn commit: r221537 - head/sys/fs/nfsclient

2011-05-06 Thread Rick Macklem
Author: rmacklem Date: Fri May 6 17:51:00 2011 New Revision: 221537 URL: http://svn.freebsd.org/changeset/base/221537 Log: Set the initial value of maxfilesize to OFF_MAX in the new NFS client. It will then be reduced to whatever the server says it can support. There might be an argument

svn commit: r221539 - head/tools/build/options

2011-05-06 Thread Ruslan Ermilov
Author: ru Date: Fri May 6 19:10:27 2011 New Revision: 221539 URL: http://svn.freebsd.org/changeset/base/221539 Log: Tidy up formatting. Modified: head/tools/build/options/WITHOUT_FDT Modified: head/tools/build/options/WITHOUT_FDT

svn commit: r221540 - head/tools/build/options

2011-05-06 Thread Ruslan Ermilov
Author: ru Date: Fri May 6 19:13:03 2011 New Revision: 221540 URL: http://svn.freebsd.org/changeset/base/221540 Log: Removed trailing whitespace. Modified: head/tools/build/options/WITHOUT_ACCT head/tools/build/options/WITHOUT_FLOPPY Modified: head/tools/build/options/WITHOUT_ACCT

svn commit: r221541 - head/tools/build/options

2011-05-06 Thread Ruslan Ermilov
Author: ru Date: Fri May 6 19:14:06 2011 New Revision: 221541 URL: http://svn.freebsd.org/changeset/base/221541 Log: MK_GPIO changed its default; reflect. Added: head/tools/build/options/WITHOUT_GPIO - copied, changed from r221204, head/tools/build/options/WITH_GPIO Deleted:

Re: svn commit: r221541 - head/tools/build/options

2011-05-06 Thread Alexander Best
On Fri May 6 11, Ruslan Ermilov wrote: Author: ru Date: Fri May 6 19:14:06 2011 New Revision: 221541 URL: http://svn.freebsd.org/changeset/base/221541 Log: MK_GPIO changed its default; reflect. could you also have a look at WITHOUT_SSP? the description says that it only affects world,

svn commit: r221543 - in head/sys: nfs nfsclient

2011-05-06 Thread Rick Macklem
Author: rmacklem Date: Fri May 6 20:02:19 2011 New Revision: 221543 URL: http://svn.freebsd.org/changeset/base/221543 Log: Move sys/nfsclient/nfs_kdtrace.h to sys/nfs/nfs_kdtrace.h so it can be used by the new NFS client as well as the old one. Added: head/sys/nfs/nfs_kdtrace.h -

Re: svn commit: r221124 - in head: . sbin/mount sbin/mount_nfs sys/amd64/conf sys/fs/nfsclient sys/i386/conf sys/ia64/conf sys/nfsclient sys/pc98/conf sys/powerpc/conf sys/sparc64/conf sys/sun4v/conf

2011-05-06 Thread Dag-Erling Smørgrav
Rick Macklem rmack...@uoguelph.ca writes: My problem is that I don't know how to deal with two modules with the same name. Why do they have to have the same name? All that matters is the fstype and the sysctls. Just make sure that the auto-load logic loads the new stack and not the old one if

svn commit: r221548 - head/sys/net

2011-05-06 Thread Pyun YongHyeon
Author: yongari Date: Fri May 6 20:37:07 2011 New Revision: 221548 URL: http://svn.freebsd.org/changeset/base/221548 Log: Do not increment collision counter if transmit have failed. Transmission error in tun(4) is queueing error(i.e. ENOBUFS) and it has nothing to do with collision.

svn commit: r221549 - head/sys/netinet

2011-05-06 Thread Michael Tuexen
Author: tuexen Date: Fri May 6 20:40:33 2011 New Revision: 221549 URL: http://svn.freebsd.org/changeset/base/221549 Log: Change the name of an internal structure, since the name is used by a structure of the (new) SCTP API. MFC after: 1 week. Modified: head/sys/netinet/sctp_auth.h

svn commit: r221550 - head/sys/powerpc/conf

2011-05-06 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri May 6 20:43:02 2011 New Revision: 221550 URL: http://svn.freebsd.org/changeset/base/221550 Log: SMP has worked perfectly for a very long time on 32-bit PowerPC on both UP and SMP hardware. Enable it in GENERIC. MFC after:2 weeks Modified:

svn commit: r221551 - head/bin/sh

2011-05-06 Thread Jilles Tjoelker
Author: jilles Date: Fri May 6 20:45:50 2011 New Revision: 221551 URL: http://svn.freebsd.org/changeset/base/221551 Log: sh: Change the CTL* bytes to ones invalid in UTF-8. This ensures that mbrtowc(3) can be used directly once it has been verified that there is no CTL* byte. Dealing

svn commit: r221552 - head/sys/net

2011-05-06 Thread Pyun YongHyeon
Author: yongari Date: Fri May 6 20:46:29 2011 New Revision: 221552 URL: http://svn.freebsd.org/changeset/base/221552 Log: Fix white space nits and style Modified: head/sys/net/if_tun.c Modified: head/sys/net/if_tun.c

Re: svn commit: r221124 - in head: . sbin/mount sbin/mount_nfs sys/amd64/conf sys/fs/nfsclient sys/i386/conf sys/ia64/conf sys/nfsclient sys/pc98/conf sys/powerpc/conf sys/sparc64/conf sys/sun4v/conf

2011-05-06 Thread Rick Macklem
Rick Macklem rmack...@uoguelph.ca writes: My problem is that I don't know how to deal with two modules with the same name. Why do they have to have the same name? All that matters is the fstype and the sysctls. Just make sure that the auto-load logic loads the new stack and not the old

Re: svn commit: r221550 - head/sys/powerpc/conf

2011-05-06 Thread Attilio Rao
2011/5/6 Nathan Whitehorn nwhiteh...@freebsd.org: Author: nwhitehorn Date: Fri May  6 20:43:02 2011 New Revision: 221550 URL: http://svn.freebsd.org/changeset/base/221550 Log:  SMP has worked perfectly for a very long time on 32-bit PowerPC on both  UP and SMP hardware. Enable it in

svn commit: r221557 - head/sys/dev/xl

2011-05-06 Thread Pyun YongHyeon
Author: yongari Date: Fri May 6 22:16:43 2011 New Revision: 221557 URL: http://svn.freebsd.org/changeset/base/221557 Log: Remove unnecessary htole32/le32toh dance. Modified: head/sys/dev/xl/if_xl.c Modified: head/sys/dev/xl/if_xl.c

svn commit: r221559 - head/bin/sh

2011-05-06 Thread Jilles Tjoelker
Author: jilles Date: Fri May 6 22:31:27 2011 New Revision: 221559 URL: http://svn.freebsd.org/changeset/base/221559 Log: sh: Track if the current locale's charset is UTF-8 or not. Modified: head/bin/sh/main.c head/bin/sh/var.c head/bin/sh/var.h Modified: head/bin/sh/main.c

svn commit: r221561 - head/sys/dev/xl

2011-05-06 Thread Pyun YongHyeon
Author: yongari Date: Fri May 6 22:45:13 2011 New Revision: 221561 URL: http://svn.freebsd.org/changeset/base/221561 Log: Updating status word should be the last operation of UPD structure renewal. Disable instruction reordering by adding volatile to xl_list_onefrag structure. Modified:

svn commit: r221563 - head/sys/dev/xl

2011-05-06 Thread Pyun YongHyeon
Author: yongari Date: Fri May 6 22:55:53 2011 New Revision: 221563 URL: http://svn.freebsd.org/changeset/base/221563 Log: Terminate interrupt handler if driver detect it's not running. Also add check for driver running state before trying to send frames. While I'm here, use for loop.

svn commit: r221564 - head/sys/dev/xl

2011-05-06 Thread Pyun YongHyeon
Author: yongari Date: Fri May 6 23:01:29 2011 New Revision: 221564 URL: http://svn.freebsd.org/changeset/base/221564 Log: Change xl_rxeof() a bit to return the number of processed frames in RX descriptor ring. Previously it returned the number of frames that were successfully passed to

svn commit: r221565 - head/sys/dev/xl

2011-05-06 Thread Pyun YongHyeon
Author: yongari Date: Fri May 6 23:49:10 2011 New Revision: 221565 URL: http://svn.freebsd.org/changeset/base/221565 Log: Reuse the TX descriptor(DPD) if xl_encap() failed instead of just picking the next available one. This may explain why xl(4) sees TX underrun error with no queued

svn commit: r221566 - head/sys/dev/xl

2011-05-06 Thread Pyun YongHyeon
Author: yongari Date: Sat May 7 00:06:02 2011 New Revision: 221566 URL: http://svn.freebsd.org/changeset/base/221566 Log: Rename xl_stats_update() callout handler to xl_tick() and move MII tick driving logic to xl_tick(). Now xl_tick() handles MII tick as well as periodic updating of

Re: svn commit: r221497 - head/release/ia64

2011-05-06 Thread Marcel Moolenaar
On May 6, 2011, at 6:50 AM, Nathan Whitehorn wrote: On 05/06/11 00:21, Marcel Moolenaar wrote: On May 5, 2011, at 8:29 PM, Nathan Whitehorn wrote: On 05/05/11 16:18, Marcel Moolenaar wrote: On May 5, 2011, at 7:16 AM, Nathan Whitehorn wrote: @@ -84,15 +63,13 @@ if [ $bootable = yes ];

svn commit: r221569 - in head: lib/libdwarf lib/libelf sys/sys

2011-05-06 Thread David E. O'Brien
Author: obrien Date: Sat May 7 01:05:31 2011 New Revision: 221569 URL: http://svn.freebsd.org/changeset/base/221569 Log: Add the ability to search for all the inlined instances of a given function. Reviewed by: jb Obtained from:Juniper Networks Added:

svn commit: r221574 - in head/sys/dev/ath/ath_hal: ar5416 ar9002

2011-05-06 Thread Adrian Chadd
Author: adrian Date: Sat May 7 02:59:24 2011 New Revision: 221574 URL: http://svn.freebsd.org/changeset/base/221574 Log: Change AR_SREV_OWL_{X}_OR_LATER to AR_SREV_5416_{X}_OR_LATER. For now, these are equivalent macros. AR_SREV_OWL{X}_OR_LATER will later change to exclude Howl (AR9130)

svn commit: r221579 - head/sys/dev/xl

2011-05-06 Thread Pyun YongHyeon
Author: yongari Date: Sat May 7 04:40:44 2011 New Revision: 221579 URL: http://svn.freebsd.org/changeset/base/221579 Log: Fix build. Modified: head/sys/dev/xl/if_xl.c Modified: head/sys/dev/xl/if_xl.c == ---