svn commit: r232916 - head/sys/mips/atheros

2012-03-12 Thread Adrian Chadd
Author: adrian Date: Tue Mar 13 06:50:56 2012 New Revision: 232916 URL: http://svn.freebsd.org/changeset/base/232916 Log: Remove a now unneeded ARGE_UNLOCK(). Whilst I'm here, remove a couple blank lines. Modified: head/sys/mips/atheros/if_arge.c Modified: head/sys/mips/atheros/if_arge.

svn commit: r232915 - head/sys/contrib/octeon-sdk

2012-03-12 Thread Juli Mallett
Author: jmallett Date: Tue Mar 13 06:48:26 2012 New Revision: 232915 URL: http://svn.freebsd.org/changeset/base/232915 Log: Remove some files not used by the FreeBSD kernel which have been adding quite a bit of bloat to the kernel source tree's size. Deleted: head/sys/contrib/octeon-sdk/cvm

svn commit: r232914 - head/sys/mips/atheros

2012-03-12 Thread Adrian Chadd
Author: adrian Date: Tue Mar 13 06:28:52 2012 New Revision: 232914 URL: http://svn.freebsd.org/changeset/base/232914 Log: Fix link status handling on if_arge upon system boot to allow bootp/NFS to function. From the submitter: This patch fixes an issue I encountered using an NFS root

svn commit: r232913 - in head/sys: conf mips/conf

2012-03-12 Thread Juli Mallett
Author: jmallett Date: Tue Mar 13 06:22:49 2012 New Revision: 232913 URL: http://svn.freebsd.org/changeset/base/232913 Log: Don't build kernel.tramp on Octeon. Probably building it should be opt-in not opt-out, but I don't know enough about which ports need it to get the defaults right. Mo

svn commit: r232912 - head/sys/mips/atheros

2012-03-12 Thread Adrian Chadd
Author: adrian Date: Tue Mar 13 06:15:20 2012 New Revision: 232912 URL: http://svn.freebsd.org/changeset/base/232912 Log: Correctly (I hope) deallocate the if_arge RX buffer ring on arge_stop(). I had some interesting hangs until I realised I should try flushing the DDR FIFO register and

svn commit: r232911 - in head: . usr.sbin/crunch/crunchide

2012-03-12 Thread Juli Mallett
Author: jmallett Date: Tue Mar 13 05:21:14 2012 New Revision: 232911 URL: http://svn.freebsd.org/changeset/base/232911 Log: Fix crunchide on MIPS with other than the O32 ABI. Deleted: head/Makefile.mips Modified: head/usr.sbin/crunch/crunchide/Makefile Modified: head/usr.sbin/crunch/crunch

Re: svn commit: r232894 - head/contrib/llvm/tools/clang/lib/Basic

2012-03-12 Thread Bruce Evans
On Mon, 12 Mar 2012, Dimitry Andric wrote: Log: Pull in r145194 from upstream clang trunk: Make our handling of MMX x SSE closer to what gcc does: * Enabling sse enables mmx. * Disabling (-mno-mmx) mmx, doesn't disable sse (we got this right already). * The order in not important.

svn commit: r232910 - in head: contrib/gdb/gdb gnu/usr.bin/gdb/arch/mips

2012-03-12 Thread Juli Mallett
Author: jmallett Date: Tue Mar 13 04:50:41 2012 New Revision: 232910 URL: http://svn.freebsd.org/changeset/base/232910 Log: Note two shortcomings of GDB on MIPS that should be addressed. Modified: head/contrib/gdb/gdb/mipsfbsd-tdep.c head/gnu/usr.bin/gdb/arch/mips/Makefile Modified: head/c

Re: svn commit: r232894 - head/contrib/llvm/tools/clang/lib/Basic

2012-03-12 Thread Alexander Best
On Mon Mar 12 12, Dimitry Andric wrote: > Author: dim > Date: Mon Mar 12 21:07:22 2012 > New Revision: 232894 > URL: http://svn.freebsd.org/changeset/base/232894 > > Log: > Pull in r145194 from upstream clang trunk: > > Make our handling of MMX x SSE closer to what gcc does: > > *

svn commit: r232908 - head/usr.sbin

2012-03-12 Thread Juli Mallett
Author: jmallett Date: Tue Mar 13 00:45:27 2012 New Revision: 232908 URL: http://svn.freebsd.org/changeset/base/232908 Log: sysinstall was removed from usr.sbin/Makefile in r225937. Because per-arch Makefiles were split out in this directory and others in userland, it makes it quite easy to

svn commit: r232907 - head

2012-03-12 Thread Juli Mallett
Author: jmallett Date: Tue Mar 13 00:38:49 2012 New Revision: 232907 URL: http://svn.freebsd.org/changeset/base/232907 Log: Add a kernel-toolchains target like the toolchains target, but building only the parts of the toolchain necessary to build kernels. Modified: head/Makefile Modified:

svn commit: r232901 - head/usr.sbin/pc-sysinstall/backend

2012-03-12 Thread Josh Paetzel
Author: jpaetzel Date: Mon Mar 12 21:41:29 2012 New Revision: 232901 URL: http://svn.freebsd.org/changeset/base/232901 Log: Use gpart "-a" flag to 4k alignment. Submitted by: kris Obtained from:PC-BSD Modified: head/usr.sbin/pc-sysinstall/backend/functions-bsdlabel.sh head/us

svn commit: r232899 - head/usr.sbin/pc-sysinstall/backend

2012-03-12 Thread Josh Paetzel
Author: jpaetzel Date: Mon Mar 12 21:32:43 2012 New Revision: 232899 URL: http://svn.freebsd.org/changeset/base/232899 Log: Add the ability to use a varity of ZFS dataset options. While here fix a bug causing zpools with /tmp mount-points to fail Submitted by: kris Obtained from:

svn commit: r232898 - head/usr.sbin/pc-sysinstall/backend

2012-03-12 Thread Josh Paetzel
Author: jpaetzel Date: Mon Mar 12 21:28:54 2012 New Revision: 232898 URL: http://svn.freebsd.org/changeset/base/232898 Log: Improve ZFS exporting functionality, only export pools which are on a specific device we happen to be writing to. This fixes an issue when running pc-sysinstall on a ru

svn commit: r232897 - head/sys/mips/conf

2012-03-12 Thread Juli Mallett
Author: jmallett Date: Mon Mar 12 21:26:09 2012 New Revision: 232897 URL: http://svn.freebsd.org/changeset/base/232897 Log: Remove TARGET_BIG_ENDIAN which should have been removed previously. Modified: head/sys/mips/conf/AR71XX_BASE Modified: head/sys/mips/conf/AR71XX_BASE ==

svn commit: r232896 - in head/sys: conf mips/adm5120 mips/alchemy mips/atheros mips/conf mips/idt mips/include mips/malta mips/mips mips/nlm mips/rmi mips/rt305x mips/sentry5

2012-03-12 Thread Juli Mallett
Author: jmallett Date: Mon Mar 12 21:25:32 2012 New Revision: 232896 URL: http://svn.freebsd.org/changeset/base/232896 Log: o) Use ABI, not ISA_* options, to determine whether to compile bits if libkern required for the ABI the kernel is being built for. XXX This is implemented in a ki

svn commit: r232895 - head/usr.sbin/pc-sysinstall/backend-query

2012-03-12 Thread Josh Paetzel
Author: jpaetzel Date: Mon Mar 12 21:24:40 2012 New Revision: 232895 URL: http://svn.freebsd.org/changeset/base/232895 Log: Check for intel RAID devices Submitted by: kris Obtained from:PC-BSD Modified: head/usr.sbin/pc-sysinstall/backend-query/disk-list.sh Modified: head/usr.

svn commit: r232894 - head/contrib/llvm/tools/clang/lib/Basic

2012-03-12 Thread Dimitry Andric
Author: dim Date: Mon Mar 12 21:07:22 2012 New Revision: 232894 URL: http://svn.freebsd.org/changeset/base/232894 Log: Pull in r145194 from upstream clang trunk: Make our handling of MMX x SSE closer to what gcc does: * Enabling sse enables mmx. * Disabling (-mno-mmx) mmx, does

svn commit: r232893 - head/libexec/rtld-elf/mips

2012-03-12 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Mar 12 20:59:18 2012 New Revision: 232893 URL: http://svn.freebsd.org/changeset/base/232893 Log: Use PTR_SUBU instead of subu (missed this one) Modified: head/libexec/rtld-elf/mips/rtld_start.S Modified: head/libexec/rtld-elf/mips/rtld_start.S

svn commit: r232892 - head/libexec/rtld-elf/mips

2012-03-12 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Mar 12 20:58:09 2012 New Revision: 232892 URL: http://svn.freebsd.org/changeset/base/232892 Log: Use PTR_(ADD|SUB)U macrosses instead of hardcoded addu/subu Spotted by: juli Modified: head/libexec/rtld-elf/mips/rtld_start.S Modified: head/libexec/rtld-elf/mips/rt

svn commit: r232890 - head/usr.sbin/pc-sysinstall/backend

2012-03-12 Thread Josh Paetzel
Author: jpaetzel Date: Mon Mar 12 20:44:44 2012 New Revision: 232890 URL: http://svn.freebsd.org/changeset/base/232890 Log: Fix a couple of bugs saving network config. Don't duplicate wlans_ lines. Enable ipv6 on wireless devices correctly. Submitted by: kris Obtained from:PC-

svn commit: r232889 - in head/usr.sbin/pc-sysinstall: backend backend-partmanager

2012-03-12 Thread Josh Paetzel
Author: jpaetzel Date: Mon Mar 12 20:41:36 2012 New Revision: 232889 URL: http://svn.freebsd.org/changeset/base/232889 Log: Make sure when creating new MBR partition it is set to active by default. Submitted by: kris Obtained from:PC-BSD Modified: head/usr.sbin/pc-sysinstall/ba

svn commit: r232886 - head/sys/dev/ahb

2012-03-12 Thread Scott Long
Author: scottl Date: Mon Mar 12 20:31:58 2012 New Revision: 232886 URL: http://svn.freebsd.org/changeset/base/232886 Log: Remove a stale comment. Submitted by: jimharris Modified: head/sys/dev/ahb/ahb.c Modified: head/sys/dev/ahb/ahb.c ===

svn commit: r232887 - head/sys/mips/conf

2012-03-12 Thread Adrian Chadd
Author: adrian Date: Mon Mar 12 20:32:23 2012 New Revision: 232887 URL: http://svn.freebsd.org/changeset/base/232887 Log: Configuration changes/updates! * enable ALQ and net80211/ath ALQ logging by default, to make it possible to get debug register traces. * Update some comments * E

svn commit: r232884 - head/libexec/rtld-elf/mips

2012-03-12 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Mar 12 20:24:59 2012 New Revision: 232884 URL: http://svn.freebsd.org/changeset/base/232884 Log: - Although we pass first 4 arguments in registers, function callinf ABI requires space to be reserved for them in stack. _rtld() prologue saves a1 and a2 in this sp

svn commit: r232883 - in head/sys/dev: advansys ahb cesa en wds xen/blkfront

2012-03-12 Thread Scott Long
Author: scottl Date: Mon Mar 12 19:29:35 2012 New Revision: 232883 URL: http://svn.freebsd.org/changeset/base/232883 Log: Final pass at having devices use their bus parent for dma tags. The remaining drivers that haven't been converted have various problems or complexities that will be deal

svn commit: r232882 - in head/sys/dev: advansys aic7xxx buslogic dpt iir

2012-03-12 Thread Juli Mallett
Author: jmallett Date: Mon Mar 12 19:29:32 2012 New Revision: 232882 URL: http://svn.freebsd.org/changeset/base/232882 Log: Remove comments about creating DMA tags as children of the DMA tags of their parent bus where the code has now been modified to do so. Reviewed by: scottl Modified

svn commit: r232881 - head/sys/mips/include

2012-03-12 Thread Juli Mallett
Author: jmallett Date: Mon Mar 12 18:56:16 2012 New Revision: 232881 URL: http://svn.freebsd.org/changeset/base/232881 Log: Use 64-bit bus space constants on 64-bit kernels. Modified: head/sys/mips/include/bus.h Modified: head/sys/mips/include/bus.h ==

svn commit: r232880 - head/usr.sbin/pc-sysinstall/backend

2012-03-12 Thread Josh Paetzel
Author: jpaetzel Date: Mon Mar 12 18:50:37 2012 New Revision: 232880 URL: http://svn.freebsd.org/changeset/base/232880 Log: Fix a bug running the autoinstall functionality. Submitted by: kris Obtained from:PC-BSD Modified: head/usr.sbin/pc-sysinstall/backend/startautoinstall.sh

svn commit: r232874 - in head/sys/dev: de glxsb hatm ipw ixgb ixgbe lmc mge mxge nve patm safe trm ubsec

2012-03-12 Thread Scott Long
Author: scottl Date: Mon Mar 12 18:15:08 2012 New Revision: 232874 URL: http://svn.freebsd.org/changeset/base/232874 Log: More conversions of drivers to use the PCI parent DMA tag. Modified: head/sys/dev/de/if_de.c head/sys/dev/glxsb/glxsb.c head/sys/dev/hatm/if_hatm.c head/sys/dev/ipw/

svn commit: r232872 - in head/sys/mips: include mips

2012-03-12 Thread Juli Mallett
Author: jmallett Date: Mon Mar 12 18:10:01 2012 New Revision: 232872 URL: http://svn.freebsd.org/changeset/base/232872 Log: Remove more unused stuff, primarily a set of (unused, thankfully) PIO functions. Adjust nearby style of one assembly function END(). Modified: head/sys/mips/inclu

svn commit: r232869 - head/sys/dev/hwpmc

2012-03-12 Thread Adrian Chadd
Author: adrian Date: Mon Mar 12 17:25:35 2012 New Revision: 232869 URL: http://svn.freebsd.org/changeset/base/232869 Log: This header file no longer exists when doing cross builds, so remove it. mips24k hwpmc now compiles again. Modified: head/sys/dev/hwpmc/hwpmc_mips24k.c Modified: hea

Re: svn commit: r232868 - head/sys/netinet/ipfw

2012-03-12 Thread Marko Zec
On Monday 12 March 2012 16:41:36 Alexander V. Chernikov wrote: > Author: melifaro > Date: Mon Mar 12 15:41:36 2012 > New Revision: 232868 > URL: http://svn.freebsd.org/changeset/base/232868 > > Log: > Fix VNET build broken by r232865. > Temporary remove the ability to assign different number of

svn commit: r232868 - head/sys/netinet/ipfw

2012-03-12 Thread Alexander V. Chernikov
Author: melifaro Date: Mon Mar 12 15:41:36 2012 New Revision: 232868 URL: http://svn.freebsd.org/changeset/base/232868 Log: Fix VNET build broken by r232865. Temporary remove the ability to assign different number of tables per VNET instance. Modified: head/sys/netinet/ipfw/ip_fw2.c head

svn commit: r232866 - head/sys/netinet

2012-03-12 Thread Randall Stewart
Author: rrs Date: Mon Mar 12 15:05:17 2012 New Revision: 232866 URL: http://svn.freebsd.org/changeset/base/232866 Log: This fixes PR 165210. Basically we just add in the netgraph interface to the list of acceptable interfaces. A todo at the next IETF code blitz, though is we need to review

Re: svn commit: r232865 - in head: sbin/ipfw sys/netinet sys/netinet/ipfw

2012-03-12 Thread Bjoern A. Zeeb
On 12. Mar 2012, at 14:07 , Alexander V. Chernikov wrote: > Author: melifaro > Date: Mon Mar 12 14:07:57 2012 > New Revision: 232865 > URL: http://svn.freebsd.org/changeset/base/232865 > > Log: > Sponsored by Yandex LLC > > Reviewed by:ae > Approved by:ae (mentor) This broke at leas

svn commit: r232865 - in head: sbin/ipfw sys/netinet sys/netinet/ipfw

2012-03-12 Thread Alexander V. Chernikov
Author: melifaro Date: Mon Mar 12 14:07:57 2012 New Revision: 232865 URL: http://svn.freebsd.org/changeset/base/232865 Log: - Add ipfw eXtended tables permitting radix to be used for any kind of keys. - Add support for IPv6 and interface extended tables - Make number of tables to be loader t

Re: svn commit: r232844 - head/contrib/ntp/ntpd

2012-03-12 Thread Andrey Zonov
On 12.03.2012 15:41, Bjoern A. Zeeb wrote: [zont@ws34-005 ~]$ ifconfig igb0: flags=8843 metric 0 mtu 8950 options=500bb ether 00:25:90:37:8b:cc inet6 fe80::225:90ff:fe37:8bcc%igb0 prefixlen 64 tentative scopeid 0x1 inet X.X.X.X netmask 0xfc00 broadcast X.X.X.X

Re: svn commit: r232862 - head/libexec/rtld-elf

2012-03-12 Thread Konstantin Belousov
On Mon, Mar 12, 2012 at 12:16:08PM +, Konstantin Belousov wrote: > Author: kib > Date: Mon Mar 12 12:16:08 2012 > New Revision: 232862 > URL: http://svn.freebsd.org/changeset/base/232862 > > Log: > Rtld on diet part 2: > > Do not use stdio for libmap.conf read. Directly map the file an

svn commit: r232862 - head/libexec/rtld-elf

2012-03-12 Thread Konstantin Belousov
Author: kib Date: Mon Mar 12 12:16:08 2012 New Revision: 232862 URL: http://svn.freebsd.org/changeset/base/232862 Log: Rtld on diet part 2: Do not use stdio for libmap.conf read. Directly map the file and parse lines from the mappings. Reviewed by: kan MFC after:3 weeks Modi

svn commit: r232861 - head/libexec/rtld-elf

2012-03-12 Thread Konstantin Belousov
Author: kib Date: Mon Mar 12 12:15:47 2012 New Revision: 232861 URL: http://svn.freebsd.org/changeset/base/232861 Log: Rtld on diet part 1: Provide rtld-private implementations of __stack_chk_guard, __stack_chk_fail() and __chk_fail() symbols, to be used by functions linked from libc_pi

Re: svn commit: r232744 - in head/sys: conf i386/i386 i386/include

2012-03-12 Thread TAKAHASHI Yoshihiro
In article <201203091942.q29jgmj1022...@svn.freebsd.org> John Baldwin writes: > Author: jhb > Date: Fri Mar 9 19:42:48 2012 > New Revision: 232744 > URL: http://svn.freebsd.org/changeset/base/232744 > > Log: > Allow a native i386 kernel to be built with 'nodevice atpic'. Just as on > amd64

svn commit: r232860 - head/sys/kern

2012-03-12 Thread Peter Holm
Author: pho Date: Mon Mar 12 11:56:57 2012 New Revision: 232860 URL: http://svn.freebsd.org/changeset/base/232860 Log: Allways call fdrop(). Modified: head/sys/kern/sys_capability.c Modified: head/sys/kern/sys_capability.c =

Re: svn commit: r232844 - head/contrib/ntp/ntpd

2012-03-12 Thread Bjoern A. Zeeb
On 12. Mar 2012, at 10:02 , Andrey Zonov wrote: > On 12.03.2012 5:06, Ed Maste wrote: >> Author: emaste >> Date: Mon Mar 12 01:06:29 2012 >> New Revision: 232844 >> URL: http://svn.freebsd.org/changeset/base/232844 >> >> Log: >> Remove extraneous log message >> >> When ntp switched between

svn commit: r232859 - head/libexec/rtld-elf

2012-03-12 Thread Dimitry Andric
Author: dim Date: Mon Mar 12 11:22:23 2012 New Revision: 232859 URL: http://svn.freebsd.org/changeset/base/232859 Log: Amend r232857, now dropping the casts entirely, as they were not necessary at all. Submitted by: stefanf Modified: head/libexec/rtld-elf/rtld.c Modified: head/libexec

svn commit: r232858 - head/sbin/growfs

2012-03-12 Thread Dimitry Andric
Author: dim Date: Mon Mar 12 11:15:44 2012 New Revision: 232858 URL: http://svn.freebsd.org/changeset/base/232858 Log: After r232548, clang complains about the apparent '=-' operator (a left-over from ancient C times, and a frequent typo) in growfs.c: sbin/growfs/growfs.c:1550:8: error: u

Re: svn commit: r232857 - head/libexec/rtld-elf

2012-03-12 Thread Stefan Farfeleder
On Mon, Mar 12, 2012 at 11:04:48AM +, Dimitry Andric wrote: > Modified: head/libexec/rtld-elf/rtld.c > == > --- head/libexec/rtld-elf/rtld.c Mon Mar 12 10:36:03 2012 > (r232856) > +++ head/libexec/rtld-elf/

svn commit: r232857 - head/libexec/rtld-elf

2012-03-12 Thread Dimitry Andric
Author: dim Date: Mon Mar 12 11:04:48 2012 New Revision: 232857 URL: http://svn.freebsd.org/changeset/base/232857 Log: Fix the following warning/error with clang: libexec/rtld-elf/rtld.c:1898:22: error: comparison between pointer and integer ('Elf_Addr *' (aka 'unsigned int *') and 'Elf_Ad

svn commit: r232856 - head/libexec/rtld-elf

2012-03-12 Thread Konstantin Belousov
Author: kib Date: Mon Mar 12 10:36:03 2012 New Revision: 232856 URL: http://svn.freebsd.org/changeset/base/232856 Log: When iterating over the dso program headers, the object is not initialized yet, and object segments are not yet mapped. Only parse the notes that appear in the first page o

Re: svn commit: r232832 - in head/lib/csu: . amd64 arm common i386-elf mips powerpc powerpc64 sparc64

2012-03-12 Thread Konstantin Belousov
On Sun, Mar 11, 2012 at 08:04:10PM +, Konstantin Belousov wrote: > Author: kib > Date: Sun Mar 11 20:04:09 2012 > New Revision: 232832 > URL: http://svn.freebsd.org/changeset/base/232832 > > Log: > Stop calling _init/_fini methods from crt1 for dynamic binaries. Do > call preinit, init an

Re: svn commit: r232844 - head/contrib/ntp/ntpd

2012-03-12 Thread Andrey Zonov
On 12.03.2012 5:06, Ed Maste wrote: Author: emaste Date: Mon Mar 12 01:06:29 2012 New Revision: 232844 URL: http://svn.freebsd.org/changeset/base/232844 Log: Remove extraneous log message When ntp switched between PLL and FLL mode it produced a log message "kernel time sync status chan

svn commit: r232855 - in head/sys/mips: include mips

2012-03-12 Thread Juli Mallett
Author: jmallett Date: Mon Mar 12 08:13:04 2012 New Revision: 232855 URL: http://svn.freebsd.org/changeset/base/232855 Log: Remove more unused code and declarations, and add dire warnings to the 64-bit atomic ops used by 32-bit kernels. Modified: head/sys/mips/include/cache.h head/sys/mip

svn commit: r232854 - in head/sys/dev: advansys amr an arcmsr asr buslogic bxe ciss cxgb dpt hifn hptiop hptmv ida if_ndis iir ips mfi mlx mly twe tws

2012-03-12 Thread Scott Long
Author: scottl Date: Mon Mar 12 08:03:51 2012 New Revision: 232854 URL: http://svn.freebsd.org/changeset/base/232854 Log: Convert a number of drivers to obtaining their parent DMA tag from their PCI device attachment. Modified: head/sys/dev/advansys/adv_pci.c head/sys/dev/advansys/adw_pci

svn commit: r232853 - in head/sys/mips: adm5120 alchemy atheros idt include malta nlm rmi rt305x sentry5 sibyte

2012-03-12 Thread Juli Mallett
Author: jmallett Date: Mon Mar 12 07:34:15 2012 New Revision: 232853 URL: http://svn.freebsd.org/changeset/base/232853 Log: Remove platform APIs which are not used by any code and which had only stub implementations or no implementation on all platforms. Some of these functions might be g

svn commit: r232852 - head/sys/sys

2012-03-12 Thread Alexander Motin
Author: mav Date: Mon Mar 12 07:02:16 2012 New Revision: 232852 URL: http://svn.freebsd.org/changeset/base/232852 Log: Tune cpuset macros to optimize cases when CPU_SETSIZE fits into single machine word. For example, it turns CPU_SET() into expected shift and OR, removing two extra shifts an