Re: svn commit: r253255 - head/sys/netgraph/bluetooth/drivers/ubt

2013-07-13 Thread Warner Losh
On Jul 12, 2013, at 11:40 PM, Adrian Chadd wrote: Here's what I have running on my stable/9 VIMAGE laptop. http://people.freebsd.org/~adrian/ath/20130712-vimage-default-attach-detach.diff How's this look to put into -HEAD? Apart from the style issues (no space after !), I wonder why newbus

svn commit: r253539 - head/sys/mips/cavium

2013-07-21 Thread Warner Losh
Author: imp Date: Mon Jul 22 03:55:15 2013 New Revision: 253539 URL: http://svnweb.freebsd.org/changeset/base/253539 Log: This file isn't derived from anything delivered by Berkeley, so remove this statement. Modified: head/sys/mips/cavium/std.octeon1 Modified:

svn commit: r255194 - in head/sys: mips/include powerpc/include

2013-09-03 Thread Warner Losh
Author: imp Date: Tue Sep 3 22:04:55 2013 New Revision: 255194 URL: http://svnweb.freebsd.org/changeset/base/255194 Log: Newer versions of gcc define __INT64_C and __UINT64_C, so avoid redefining them if gcc provides them. Modified: head/sys/mips/include/_stdint.h

svn commit: r256493 - head/sys/mips/mips

2013-10-14 Thread Warner Losh
Author: imp Date: Tue Oct 15 04:32:06 2013 New Revision: 256493 URL: http://svnweb.freebsd.org/changeset/base/256493 Log: Move DO_AST into pcb.h where it should have been all along. Move some common macros for saving/restoring registers into pcb.h as well. Reviewed by: jmallet@

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

2013-10-14 Thread Warner Losh
Author: imp Date: Tue Oct 15 04:36:34 2013 New Revision: 256494 URL: http://svnweb.freebsd.org/changeset/base/256494 Log: Move DO_AST into pcb.h where it should have been all along. Move some common macros for saving/restoring registers into pcb.h as well. Modified:

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

2013-10-14 Thread Warner Losh
Author: imp Date: Tue Oct 15 04:44:21 2013 New Revision: 256496 URL: http://svnweb.freebsd.org/changeset/base/256496 Log: Replace NLEAF with LEAF_NOPROFILE to unify the conventions we use in our assembler files. Reviewed by: jmallet@ Modified: head/sys/mips/include/asm.h

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

2013-10-14 Thread Warner Losh
Author: imp Date: Tue Oct 15 04:43:31 2013 New Revision: 256495 URL: http://svnweb.freebsd.org/changeset/base/256495 Log: Replace uses of the ALEAF macro with XLEAF and remove ALEAF macro to try to unify the conventions used in our assembler. Reviewed by: jmallet@ Modified:

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

2013-10-14 Thread Warner Losh
Author: imp Date: Tue Oct 15 04:45:09 2013 New Revision: 256497 URL: http://svnweb.freebsd.org/changeset/base/256497 Log: Elminate NON_LEAF and use NESTED instead to unify our assembler conventions. Reviewed by: jmallet@ Modified: head/sys/mips/include/asm.h

svn commit: r257735 - in head/sys: conf mips/cavium

2013-11-05 Thread Warner Losh
Author: imp Date: Wed Nov 6 05:26:15 2013 New Revision: 257735 URL: http://svnweb.freebsd.org/changeset/base/257735 Log: Remove the gross hack for the Octeon Simple Executive to the least intrusive place for it to be: the octeon std file. Fix a comment while I'm here. Allow for future

svn commit: r257802 - head/share/man/man4

2013-11-07 Thread Warner Losh
Author: imp Date: Thu Nov 7 16:58:09 2013 New Revision: 257802 URL: http://svnweb.freebsd.org/changeset/base/257802 Log: Save some space by noting we don't have any alternative instruction formats. Modified: head/share/man/man4/ddb.4 Modified: head/share/man/man4/ddb.4

svn commit: r268205 - head/sys/cam/ata

2014-07-02 Thread Warner Losh
Author: imp Date: Thu Jul 3 05:22:13 2014 New Revision: 268205 URL: http://svnweb.freebsd.org/changeset/base/268205 Log: Rework the BIO_DELETE code slightly. Always queue the BIO_DELETE requests on the trim_queue, even for the CFA ERASE. This allows us, in the future, to collapse adjacent

svn commit: r268369 - head/share/man/man9

2014-07-07 Thread Warner Losh
Author: imp Date: Mon Jul 7 16:55:07 2014 New Revision: 268369 URL: http://svnweb.freebsd.org/changeset/base/268369 Log: Document C_HARDCLOCK flag. Modified: head/share/man/man9/timeout.9 Modified: head/share/man/man9/timeout.9

svn commit: r268375 - head/sys/sys

2014-07-07 Thread Warner Losh
Author: imp Date: Mon Jul 7 23:21:15 2014 New Revision: 268375 URL: http://svnweb.freebsd.org/changeset/base/268375 Log: Fix typo in flag name. Modified: head/sys/sys/buf.h Modified: head/sys/sys/buf.h == ---

svn commit: r268374 - in head/sys: fs/nandfs sys

2014-07-07 Thread Warner Losh
Author: imp Date: Mon Jul 7 23:21:07 2014 New Revision: 268374 URL: http://svnweb.freebsd.org/changeset/base/268374 Log: Naughty NANDFS was using hidden unused flag, hiding the fact that the flag was used and wasn't really available. Change the name without fixing any laying issues that

svn commit: r268376 - head/bin/rm

2014-07-07 Thread Warner Losh
Author: imp Date: Mon Jul 7 23:21:20 2014 New Revision: 268376 URL: http://svnweb.freebsd.org/changeset/base/268376 Log: rm -rf can fail sometimes with an error from fts_read. Make it honor fflag to ignore fts_read errors, but stop deleting from that directory because no further progress

svn commit: r268377 - head

2014-07-07 Thread Warner Losh
Author: imp Date: Mon Jul 7 23:21:25 2014 New Revision: 268377 URL: http://svnweb.freebsd.org/changeset/base/268377 Log: xdev builds libsupc++ and libstdc++ in a slightly strange way. This cause a race to be exposed between the two. Compensate for this race by serializing the build/install

svn commit: r268380 - head

2014-07-07 Thread Warner Losh
Author: imp Date: Tue Jul 8 02:11:48 2014 New Revision: 268380 URL: http://svnweb.freebsd.org/changeset/base/268380 Log: Typo means that this couldn't have possibly fixed anything, so revert r268377. Modified: head/Makefile.inc1 Modified: head/Makefile.inc1

Re: svn commit: r268376 - head/bin/rm

2014-07-08 Thread Warner Losh
On Jul 8, 2014, at 1:09 AM, Julian Elischer jul...@freebsd.org wrote: On 7/8/14, 7:21 AM, Warner Losh wrote: Author: imp Date: Mon Jul 7 23:21:20 2014 New Revision: 268376 URL: http://svnweb.freebsd.org/changeset/base/268376 Log: rm -rf can fail sometimes with an error from fts_read

Re: svn commit: r267424 - in head: share/mk tools/build/options

2014-07-09 Thread Warner Losh
On Jul 8, 2014, at 8:34 PM, Julio Merino j...@freebsd.org wrote: On Tue, Jul 8, 2014 at 10:32 PM, Glen Barber g...@freebsd.org wrote: On Tue, Jul 08, 2014 at 10:28:25PM -0400, Julio Merino wrote: On Tue, Jul 8, 2014 at 9:07 PM, Glen Barber g...@freebsd.org wrote: This is one of the build

svn commit: r268475 - in head/sys/boot: i386/boot2 pc98/boot2

2014-07-09 Thread Warner Losh
Author: imp Date: Thu Jul 10 00:15:42 2014 New Revision: 268475 URL: http://svnweb.freebsd.org/changeset/base/268475 Log: Make SERIAL support optional again. Enable it for i386 because a huge percentage of machines has a 16550. Disable it for pc98 since only a tiny fraction of them have

svn commit: r268477 - head/share/mk

2014-07-09 Thread Warner Losh
Author: imp Date: Thu Jul 10 00:15:55 2014 New Revision: 268477 URL: http://svnweb.freebsd.org/changeset/base/268477 Log: Now that pc98 no longer needs gcc to compile boot2, remove the special case and treat it just like i386. Modified: head/share/mk/src.opts.mk Modified:

svn commit: r268474 - head/sys/boot/pc98/boot2

2014-07-09 Thread Warner Losh
Author: imp Date: Thu Jul 10 00:15:38 2014 New Revision: 268474 URL: http://svnweb.freebsd.org/changeset/base/268474 Log: Merge the clang support from i386. Don't move to clang yet. Modified: head/sys/boot/pc98/boot2/Makefile Modified: head/sys/boot/pc98/boot2/Makefile

svn commit: r268476 - head/sys/boot/pc98/boot2

2014-07-09 Thread Warner Losh
Author: imp Date: Thu Jul 10 00:15:50 2014 New Revision: 268476 URL: http://svnweb.freebsd.org/changeset/base/268476 Log: Compile boot2 with clang on pc98. Modified: head/sys/boot/pc98/boot2/Makefile Modified: head/sys/boot/pc98/boot2/Makefile

svn commit: r268503 - head

2014-07-10 Thread Warner Losh
Author: imp Date: Thu Jul 10 18:28:12 2014 New Revision: 268503 URL: http://svnweb.freebsd.org/changeset/base/268503 Log: Separate out the links creation from the other targets. This was supposed to have been done for the original commit, but somebody forgot. Pointy-hat-to: imp@

svn commit: r268508 - in head: . gnu/lib gnu/usr.bin/cc share/mk

2014-07-10 Thread Warner Losh
Author: imp Date: Thu Jul 10 21:11:48 2014 New Revision: 268508 URL: http://svnweb.freebsd.org/changeset/base/268508 Log: Make MK_GNUCXX mean build the libstdc++ and libsupc++ libraries and nothing more. Force it to be no when MK_CXX is no to simplify usage. It no longer also means build

svn commit: r269018 - head/sys/fs/nandfs

2014-07-23 Thread Warner Losh
Author: imp Date: Wed Jul 23 16:18:51 2014 New Revision: 269018 URL: http://svnweb.freebsd.org/changeset/base/269018 Log: Fix typo in comment: noone - no one. Fix minor style(9) nits. Modified: head/sys/fs/nandfs/nandfs_vnops.c Modified: head/sys/fs/nandfs/nandfs_vnops.c

svn commit: r269019 - head/sys/ufs/ufs

2014-07-23 Thread Warner Losh
Author: imp Date: Wed Jul 23 16:18:54 2014 New Revision: 269019 URL: http://svnweb.freebsd.org/changeset/base/269019 Log: Simplify comment to remove multiple negative and passive voice. Modified: head/sys/ufs/ufs/ufs_vnops.c Modified: head/sys/ufs/ufs/ufs_vnops.c

svn commit: r269048 - head

2014-07-24 Thread Warner Losh
Author: imp Date: Thu Jul 24 06:16:51 2014 New Revision: 269048 URL: http://svnweb.freebsd.org/changeset/base/269048 Log: Add compat shims for XDEV and XDEV_ARCH so we don't break all the users of them. Also, add a note to updating. We'll keep these shims at least until the 12 branch.

svn commit: r269099 - head/share/mk

2014-07-25 Thread Warner Losh
Author: imp Date: Fri Jul 25 21:10:30 2014 New Revision: 269099 URL: http://svnweb.freebsd.org/changeset/base/269099 Log: Document an important, but easy to overlook without grepping the entire tree, detail about LDFLAGS. Modified: head/share/mk/bsd.README Modified:

svn commit: r269355 - head/tools/tools/nanobsd/dhcpd

2014-07-31 Thread Warner Losh
Author: imp Date: Thu Jul 31 22:32:39 2014 New Revision: 269355 URL: http://svnweb.freebsd.org/changeset/base/269355 Log: Fix a typo in the example script. Modified: head/tools/tools/nanobsd/dhcpd/README Modified: head/tools/tools/nanobsd/dhcpd/README

svn commit: r269362 - head/tools/tools/nanobsd

2014-07-31 Thread Warner Losh
Author: imp Date: Fri Aug 1 00:00:46 2014 New Revision: 269362 URL: http://svnweb.freebsd.org/changeset/base/269362 Log: Use rm -x only on FreeBSD 10 and newer. Many people still build from older hosts, which still works, so don't break that gratuitously. MFC After: 3 days Modified:

svn commit: r269363 - head/tools/tools/nanobsd

2014-07-31 Thread Warner Losh
Author: imp Date: Fri Aug 1 00:00:54 2014 New Revision: 269363 URL: http://svnweb.freebsd.org/changeset/base/269363 Log: NANO_OBJ shouldn't end with a '/', so remove it here. This makes the pathnames printed not have the dreaded // which makes it hard to cut and paste into an emacs find

svn commit: r269420 - head/sys/fs/nandfs

2014-08-01 Thread Warner Losh
Author: imp Date: Sat Aug 2 05:05:05 2014 New Revision: 269420 URL: http://svnweb.freebsd.org/changeset/base/269420 Log: Fix a minor style(9) issue. Modified: head/sys/fs/nandfs/nandfs_subr.c Modified: head/sys/fs/nandfs/nandfs_subr.c

svn commit: r269421 - head/sys/fs/nandfs

2014-08-01 Thread Warner Losh
Author: imp Date: Sat Aug 2 05:05:10 2014 New Revision: 269421 URL: http://svnweb.freebsd.org/changeset/base/269421 Log: Follow the ufs practice for disallowing permission changes as well as writes to files for read-only file systems. Since there are already checks in nandfs_setattr that

svn commit: r269422 - head/sys/fs/nandfs

2014-08-01 Thread Warner Losh
Author: imp Date: Sat Aug 2 05:05:16 2014 New Revision: 269422 URL: http://svnweb.freebsd.org/changeset/base/269422 Log: Set the erase block size properly in the case the underlying media doesn't advertise an erase block size. Submitted by: bjg@ Pointy hat to: imp@ Modified:

svn commit: r269423 - head/tools/tools/nanobsd

2014-08-01 Thread Warner Losh
Author: imp Date: Sat Aug 2 05:16:20 2014 New Revision: 269423 URL: http://svnweb.freebsd.org/changeset/base/269423 Log: Add a new -K to suppress installing the kernel. Useful for creating chroots that may never boot (such as build environments), or for platforms that don't really need the

svn commit: r269424 - head/tools/tools/nanobsd

2014-08-01 Thread Warner Losh
Author: imp Date: Sat Aug 2 05:17:59 2014 New Revision: 269424 URL: http://svnweb.freebsd.org/changeset/base/269424 Log: Sort usage options. Modified: head/tools/tools/nanobsd/nanobsd.sh Modified: head/tools/tools/nanobsd/nanobsd.sh

svn commit: r269425 - head/tools/tools/nanobsd

2014-08-01 Thread Warner Losh
Author: imp Date: Sat Aug 2 05:19:33 2014 New Revision: 269425 URL: http://svnweb.freebsd.org/changeset/base/269425 Log: Sort switch statements. Modified: head/tools/tools/nanobsd/nanobsd.sh Modified: head/tools/tools/nanobsd/nanobsd.sh

svn commit: r269459 - in head/sys: conf kern

2014-08-02 Thread Warner Losh
Author: imp Date: Sun Aug 3 05:00:43 2014 New Revision: 269459 URL: http://svnweb.freebsd.org/changeset/base/269459 Log: Make the witness lock limit an option. Modified: head/sys/conf/options head/sys/kern/subr_witness.c Modified: head/sys/conf/options

Re: svn commit: r268943 - in head: include lib/libc/stdlib

2014-08-03 Thread Warner Losh
On Jul 21, 2014, at 12:51 PM, Pedro Giffuni p...@freebsd.org wrote: Il giorno 21/lug/2014, alle ore 11:42, Bruce Simpson b...@fastmail.net ha scritto: On 21/07/2014 16:22, Pedro F. Giffuni wrote: ] Log: Add re-entrant versions of the hash functions based on the GNU api. What,

Re: svn commit: r267937 - in head: cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/json cddl/contrib/opensolaris/cmd/dtrace/test/tst/common

2014-08-03 Thread Warner Losh
On Jul 28, 2014, at 9:23 PM, John Baldwin j...@freebsd.org wrote: On Thursday 26 June 2014 21:45:49 Rui Paulo wrote: Author: rpaulo Date: Thu Jun 26 21:45:49 2014 New Revision: 267937 URL: http://svnweb.freebsd.org/changeset/base/267937 Log: MFV illumos 4477 DTrace should speak

Re: svn commit: r268943 - in head: include lib/libc/stdlib

2014-08-03 Thread Warner Losh
On Aug 3, 2014, at 9:39 AM, Pedro Giffuni p...@freebsd.org wrote: Il giorno 03/ago/2014, alle ore 09:27, Warner Losh i...@bsdimp.com ha scritto: On Jul 21, 2014, at 12:51 PM, Pedro Giffuni p...@freebsd.org wrote: Il giorno 21/lug/2014, alle ore 11:42, Bruce Simpson b

Re: svn commit: r267937 - in head: cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/json cddl/contrib/opensolaris/cmd/dtrace/test/tst/common

2014-08-03 Thread Warner Losh
On Aug 3, 2014, at 9:47 AM, Warner Losh i...@bsdimp.com wrote: On Jul 28, 2014, at 9:23 PM, John Baldwin j...@freebsd.org wrote: On Thursday 26 June 2014 21:45:49 Rui Paulo wrote: Author: rpaulo Date: Thu Jun 26 21:45:49 2014 New Revision: 267937 URL: http://svnweb.freebsd.org

svn commit: r269538 - in head/sys/modules: acl_nfs4 acl_posix1e alq cc/cc_cdg cc/cc_chd cc/cc_cubic cc/cc_hd cc/cc_htcp cc/cc_vegas drm2/radeonkms dtrace ibcore ip6_mroute_mod ip_mroute_mod khelp/h...

2014-08-04 Thread Warner Losh
Author: imp Date: Mon Aug 4 22:34:12 2014 New Revision: 269538 URL: http://svnweb.freebsd.org/changeset/base/269538 Log: Remove unnecessary inclusions of bsd.own.mk. Modified: head/sys/modules/acl_nfs4/Makefile head/sys/modules/acl_posix1e/Makefile head/sys/modules/alq/Makefile

svn commit: r269539 - head/sys/conf

2014-08-04 Thread Warner Losh
Author: imp Date: Mon Aug 4 22:34:56 2014 New Revision: 269539 URL: http://svnweb.freebsd.org/changeset/base/269539 Log: Include the kernel options after bsd.init.mk so that when we're compiling on older systems that define all the MK variables in bsd.own.mk we don't get the multiply

svn commit: r269540 - in head/sys: conf modules/an modules/arcnet modules/cam modules/carp modules/cxgb/cxgb modules/cxgb/iw_cxgb modules/cxgb/tom modules/cxgbe/if_cxgbe modules/cxgbe/iw_cxgbe modu...

2014-08-04 Thread Warner Losh
Author: imp Date: Mon Aug 4 22:37:02 2014 New Revision: 269540 URL: http://svnweb.freebsd.org/changeset/base/269540 Log: Move most of the 15 variations on generating opt_inet.h and opt_inet6.h into kmod.mk by forcing almost everybody to eat the same dogfood. While at it, consolidate the

Re: svn commit: r269540 - in head/sys: conf modules/an modules/arcnet modules/cam modules/carp modules/cxgb/cxgb modules/cxgb/iw_cxgb modules/cxgb/tom modules/cxgbe/if_cxgbe modules/cxgbe/iw_cxgbe mod

2014-08-05 Thread Warner Losh
On Aug 5, 2014, at 4:52 AM, Bjoern A. Zeeb b...@freebsd.org wrote: On 05 Aug 2014, at 10:31 , Bjoern A. Zeeb b...@freebsd.org wrote: On 04 Aug 2014, at 22:37 , Warner Losh i...@freebsd.org wrote: Author: imp Date: Mon Aug 4 22:37:02 2014 New Revision: 269540 URL: http

svn commit: r269690 - head/sys/dev/esp

2014-08-07 Thread Warner Losh
Author: imp Date: Thu Aug 7 21:56:32 2014 New Revision: 269690 URL: http://svnweb.freebsd.org/changeset/base/269690 Log: target is unsigned, so don't compare it 0 for range test. Modified: head/sys/dev/esp/ncr53c9x.c Modified: head/sys/dev/esp/ncr53c9x.c

svn commit: r269692 - head/sys/geom/journal

2014-08-07 Thread Warner Losh
Author: imp Date: Thu Aug 7 21:56:42 2014 New Revision: 269692 URL: http://svnweb.freebsd.org/changeset/base/269692 Log: cswitch is unsigned, so don't compare it 0. Any negative numbers will look huge and be caught by 100. Modified: head/sys/geom/journal/g_journal.c Modified:

svn commit: r269691 - head/sys/geom/cache

2014-08-07 Thread Warner Losh
Author: imp Date: Thu Aug 7 21:56:37 2014 New Revision: 269691 URL: http://svnweb.freebsd.org/changeset/base/269691 Log: Unsigned values can never be less than 0. Modified: head/sys/geom/cache/g_cache.c Modified: head/sys/geom/cache/g_cache.c

svn commit: r269693 - head/sys/dev/oce

2014-08-07 Thread Warner Losh
Author: imp Date: Thu Aug 7 21:56:46 2014 New Revision: 269693 URL: http://svnweb.freebsd.org/changeset/base/269693 Log: Cast queue length because q_len isn't really an enum in the same sense that clang wants it to be (a value that can only have values inside the enum range), but rather an

svn commit: r269709 - head/sys/cam/scsi

2014-08-08 Thread Warner Losh
Author: imp Date: Fri Aug 8 11:46:45 2014 New Revision: 269709 URL: http://svnweb.freebsd.org/changeset/base/269709 Log: is_full_id is set to 0 and then not used. remove it. Modified: head/sys/cam/scsi/scsi_all.c Modified: head/sys/cam/scsi/scsi_all.c

svn commit: r269712 - head/sys/dev/an

2014-08-08 Thread Warner Losh
Author: imp Date: Fri Aug 8 11:47:14 2014 New Revision: 269712 URL: http://svnweb.freebsd.org/changeset/base/269712 Log: last is set and not used, most likely a cut and paste error from other sysctl setting functions in this module. Modified: head/sys/dev/an/if_an.c Modified:

svn commit: r269711 - head/sys/dev/amr

2014-08-08 Thread Warner Losh
Author: imp Date: Fri Aug 8 11:47:09 2014 New Revision: 269711 URL: http://svnweb.freebsd.org/changeset/base/269711 Log: Set but not used variables eliminated. Modified: head/sys/dev/amr/amr.c Modified: head/sys/dev/amr/amr.c

svn commit: r269710 - head/sys/dev/aic7xxx

2014-08-08 Thread Warner Losh
Author: imp Date: Fri Aug 8 11:47:04 2014 New Revision: 269710 URL: http://svnweb.freebsd.org/changeset/base/269710 Log: shared_scb_data set, but never used, remove it. Modified: head/sys/dev/aic7xxx/aic79xx_pci.c Modified: head/sys/dev/aic7xxx/aic79xx_pci.c

svn commit: r269713 - head/sys/dev/ata/chipsets

2014-08-08 Thread Warner Losh
Author: imp Date: Fri Aug 8 11:47:18 2014 New Revision: 269713 URL: http://svnweb.freebsd.org/changeset/base/269713 Log: err set but not used. Eliminate it. Modified: head/sys/dev/ata/chipsets/ata-promise.c Modified: head/sys/dev/ata/chipsets/ata-promise.c

svn commit: r269714 - head/sys/dev/ath

2014-08-08 Thread Warner Losh
Author: imp Date: Fri Aug 8 11:47:23 2014 New Revision: 269714 URL: http://svnweb.freebsd.org/changeset/base/269714 Log: an isn't used, so eliminate it. Modified: head/sys/dev/ath/if_ath.c Modified: head/sys/dev/ath/if_ath.c

svn commit: r269767 - head/sys/arm/arm

2014-08-09 Thread Warner Losh
Author: imp Date: Sat Aug 9 22:51:26 2014 New Revision: 269767 URL: http://svnweb.freebsd.org/changeset/base/269767 Log: Per discussion on arm@, the compiler generates misaligned relocations. Cope with memcpy when needed. Submitted by: fabient@ (plus changes suggested by thread)

svn commit: r269812 - in head/sys: conf modules modules/aic7xxx/ahc modules/cxgb modules/cxgbe modules/dpt modules/drm modules/drm2 modules/ep modules/if_gif modules/netgraph modules/sound/driver m...

2014-08-11 Thread Warner Losh
Author: imp Date: Mon Aug 11 14:50:49 2014 New Revision: 269812 URL: http://svnweb.freebsd.org/changeset/base/269812 Log: Remove dependence on source tree options. Move all kernel module options into kern.opts.mk and change all the places where we use src.opts.mk to pull in the options.

svn commit: r269895 - head/sys/conf

2014-08-12 Thread Warner Losh
Author: imp Date: Tue Aug 12 23:48:37 2014 New Revision: 269895 URL: http://svnweb.freebsd.org/changeset/base/269895 Log: Truncate the ctfmerge command line, like we do with SYSTEM_LD. Modified: head/sys/conf/kern.post.mk Modified: head/sys/conf/kern.post.mk

svn commit: r269956 - in head: lib/libc/arm/aeabi lib/msun/arm sys/arm/arm sys/arm/include

2014-08-13 Thread Warner Losh
Author: imp Date: Thu Aug 14 04:20:13 2014 New Revision: 269956 URL: http://svnweb.freebsd.org/changeset/base/269956 Log: From https://sourceware.org/ml/newlib/2014/msg00113.html By Richard Earnshaw at ARM GCC has for a number of years provides a set of pre-defined macros for use with

svn commit: r269957 - in head/sys: arm/at91 conf

2014-08-13 Thread Warner Losh
Author: imp Date: Thu Aug 14 04:21:14 2014 New Revision: 269957 URL: http://svnweb.freebsd.org/changeset/base/269957 Log: Add support for FDT and !FDT configs on Atmel, though FDT isn't working yet. Bump rev on arm Makefile since files.at91 uses new '!' operator. Modified:

svn commit: r269958 - head/sys/arm/at91

2014-08-13 Thread Warner Losh
Author: imp Date: Thu Aug 14 04:21:20 2014 New Revision: 269958 URL: http://svnweb.freebsd.org/changeset/base/269958 Log: Start to add FDT support. Added: head/sys/arm/at91/at91_common.c (contents, props changed) Modified: head/sys/arm/at91/at91_machdep.c Added:

svn commit: r269959 - in head/sys/arm: arm at91

2014-08-13 Thread Warner Losh
Author: imp Date: Thu Aug 14 04:21:25 2014 New Revision: 269959 URL: http://svnweb.freebsd.org/changeset/base/269959 Log: Add support for multipass to Atmel, for both FDT and !FDT cases. Modified: head/sys/arm/arm/nexus.c head/sys/arm/at91/at91_aic.c head/sys/arm/at91/at91_pit.c

svn commit: r269981 - head/sys/conf

2014-08-14 Thread Warner Losh
Author: imp Date: Thu Aug 14 16:01:46 2014 New Revision: 269981 URL: http://svnweb.freebsd.org/changeset/base/269981 Log: Disable all inline warnings on gcc = 4.3. Not sure exactly where the cutover is, but we need better tools to cope with inline tuning per compiler version than we have.

svn commit: r269980 - head/sys/dev/cs

2014-08-14 Thread Warner Losh
Author: imp Date: Thu Aug 14 16:01:38 2014 New Revision: 269980 URL: http://svnweb.freebsd.org/changeset/base/269980 Log: Delete pp_isadma. It isn't use, and the code that used it has been commented out (temporarily) since 1998 when this driver hit the tree. Also, no need to compute the

svn commit: r269982 - head/sys/ddb

2014-08-14 Thread Warner Losh
Author: imp Date: Thu Aug 14 16:01:51 2014 New Revision: 269982 URL: http://svnweb.freebsd.org/changeset/base/269982 Log: ins is only set and unused, but only when we're not doing software single stepping. Only set it when we're doing that by bending style(9) rules a little to avoid even

svn commit: r269979 - head/sys/conf

2014-08-14 Thread Warner Losh
Author: imp Date: Thu Aug 14 16:01:33 2014 New Revision: 269979 URL: http://svnweb.freebsd.org/changeset/base/269979 Log: Streamline format extensions. Either the compiler supports them, and we enable them and format wordings. Or it doesn't, and we disable format warnings because the kernel

svn commit: r269983 - head/tools/tools/nanobsd

2014-08-14 Thread Warner Losh
Author: imp Date: Thu Aug 14 16:17:23 2014 New Revision: 269983 URL: http://svnweb.freebsd.org/changeset/base/269983 Log: Only install the boot loader if it actually exists. This is a stop-gap change, since larger changes to use geom more exclusively to create partitions is in th works.

Re: svn commit: r269957 - in head/sys: arm/at91 conf

2014-08-15 Thread Warner Losh
On Aug 15, 2014, at 8:10 AM, Andrew Turner and...@fubar.geek.nz wrote: On Thu, 14 Aug 2014 04:21:15 + (UTC) Warner Losh i...@freebsd.org wrote: Author: imp Date: Thu Aug 14 04:21:14 2014 New Revision: 269957 URL: http://svnweb.freebsd.org/changeset/base/269957 Log: Add support

svn commit: r270025 - head/sys/arm/at91

2014-08-15 Thread Warner Losh
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/arm/at91/at91_pinctrl.cFri Aug 15 16:08:52 2014 (r270025) @@ -0,0 +1,524 @@ +/*- + * Copyright (c) 2014 Warner Losh. All rights reserved

svn commit: r270104 - head/sys/arm/at91

2014-08-17 Thread Warner Losh
Author: imp Date: Sun Aug 17 16:53:14 2014 New Revision: 270104 URL: http://svnweb.freebsd.org/changeset/base/270104 Log: Define at91_master_clock in only one file to eliminate warnings about it multiply defined commons. Modified: head/sys/arm/at91/at91_machdep.c Modified:

svn commit: r270105 - head/sys/arm/at91

2014-08-17 Thread Warner Losh
M. Warner Losh. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + *notice, this list

svn commit: r270124 - head/sys/arm/arm

2014-08-17 Thread Warner Losh
Author: imp Date: Mon Aug 18 02:45:06 2014 New Revision: 270124 URL: http://svnweb.freebsd.org/changeset/base/270124 Log: /usr/libexec/ld.so.1 never was a thing on FreeBSD/arm. This was the FreeBSD 3.x and 4.x run time linker. FreeBSD/arm's first release was 5.0. Retire this long-dead code.

svn commit: r270123 - in head/sys: arm/arm arm/include kern sys

2014-08-17 Thread Warner Losh
Author: imp Date: Mon Aug 18 02:44:56 2014 New Revision: 270123 URL: http://svnweb.freebsd.org/changeset/base/270123 Log: Expand the elf brandelf infrastructure to give access to the whole ELF header (Elf_Ehdr) to determine if a particular interpretor wants to accept it or not. Use this

svn commit: r270155 - head

2014-08-18 Thread Warner Losh
Author: imp Date: Mon Aug 18 21:04:44 2014 New Revision: 270155 URL: http://svnweb.freebsd.org/changeset/base/270155 Log: Create the native-xtools target. This target creates only the cross building toolchain for the host computer. This toolchain produces TARGET_ARCH and assumes the rest of

svn commit: r270154 - head/sys/arm/at91

2014-08-18 Thread Warner Losh
Author: imp Date: Mon Aug 18 21:04:35 2014 New Revision: 270154 URL: http://svnweb.freebsd.org/changeset/base/270154 Log: Make note about reset vs RTOE actions... Modified: head/sys/arm/at91/at91_mci.c Modified: head/sys/arm/at91/at91_mci.c

svn commit: r270162 - head/tools/tools/nanobsd

2014-08-18 Thread Warner Losh
Author: imp Date: Tue Aug 19 03:51:10 2014 New Revision: 270162 URL: http://svnweb.freebsd.org/changeset/base/270162 Log: Add support for -X, which installs the native cross tools for qemu operations. Doesn't install qemu nor setup the jail, yet. Modified:

svn commit: r270161 - in head/sys: boot/fdt/dts/arm gnu/dts/arm

2014-08-18 Thread Warner Losh
) +++ head/sys/boot/fdt/dts/arm/sam9260ek.dts Tue Aug 19 03:51:05 2014 (r270161) @@ -0,0 +1,37 @@ +/* + * SAM9260EK eval board - Warner Losh public domain + * + * $FreeBSD$ + */ +/dts-v1/; +#include sam9260ek_common.dtsi + +/ { + model = Atmel at91sam9260ek; + compatible

svn commit: r270249 - head/sys/cam/ata

2014-08-20 Thread Warner Losh
Author: imp Date: Wed Aug 20 22:58:12 2014 New Revision: 270249 URL: http://svnweb.freebsd.org/changeset/base/270249 Log: Turns out that IDENTIFY DEVICE and IDENTIFY PACKET DEVICE return data that's only mostly similar. Specifically word 78 bits are defined for IDENTIFY DEVICE as 5

Re: svn commit: r270249 - head/sys/cam/ata

2014-08-21 Thread Warner Losh
On Aug 21, 2014, at 10:31 PM, Neel Natu neeln...@gmail.com wrote: Hi Warner, On Wed, Aug 20, 2014 at 3:58 PM, Warner Losh i...@freebsd.org wrote: Author: imp Date: Wed Aug 20 22:58:12 2014 New Revision: 270249 URL: http://svnweb.freebsd.org/changeset/base/270249 Log: Turns out

Re: svn commit: r270249 - head/sys/cam/ata

2014-08-22 Thread Warner Losh
On Aug 21, 2014, at 11:58 PM, Neel Natu neeln...@gmail.com wrote: Hi Warner, On Thu, Aug 21, 2014 at 10:34 PM, Warner Losh i...@bsdimp.com wrote: On Aug 21, 2014, at 10:31 PM, Neel Natu neeln...@gmail.com wrote: Hi Warner, On Wed, Aug 20, 2014 at 3:58 PM, Warner Losh i

svn commit: r270327 - head/sys/cam/ata

2014-08-22 Thread Warner Losh
Author: imp Date: Fri Aug 22 13:15:59 2014 New Revision: 270327 URL: http://svnweb.freebsd.org/changeset/base/270327 Log: We should never enter the PROBE_SETAN phase if we're not ATAPI, since that's ATAPI specific. Instead, skip to PROBE_SET_MULTI instead for non ATAPI protocols. The prior

Re: svn commit: r270249 - head/sys/cam/ata

2014-08-22 Thread Warner Losh
On Aug 22, 2014, at 12:07 PM, Neel Natu neeln...@gmail.com wrote: Hi Warner, On Fri, Aug 22, 2014 at 6:13 AM, Warner Losh i...@bsdimp.com wrote: On Aug 21, 2014, at 11:58 PM, Neel Natu neeln...@gmail.com wrote: Hi Warner, On Thu, Aug 21, 2014 at 10:34 PM, Warner Losh i...@bsdimp.com

svn commit: r270771 - head/bin/dd

2014-08-28 Thread Warner Losh
Author: imp Date: Thu Aug 28 21:30:39 2014 New Revision: 270771 URL: http://svnweb.freebsd.org/changeset/base/270771 Log: Add canonical population of a disk / thumb drive from an image example. Modified: head/bin/dd/dd.1 Modified: head/bin/dd/dd.1

svn commit: r270833 - head/sys/dev/ahci

2014-08-29 Thread Warner Losh
Author: imp Date: Sat Aug 30 02:13:09 2014 New Revision: 270833 URL: http://svnweb.freebsd.org/changeset/base/270833 Log: We were returning 20 bytes as the FIS size to send, but only initializing 16. Initialize all 20 so we don't send garbage in the Auxiliary register. The SATA standard

svn commit: r270831 - head/bin/dd

2014-08-29 Thread Warner Losh
Author: imp Date: Sat Aug 30 02:12:58 2014 New Revision: 270831 URL: http://svnweb.freebsd.org/changeset/base/270831 Log: Update the date for last example. Sponsored by: Netflix Modified: head/bin/dd/dd.1 Modified: head/bin/dd/dd.1

svn commit: r270971 - head/sys/boot/fdt/dts/arm

2014-09-02 Thread Warner Losh
Author: imp Date: Tue Sep 2 16:38:00 2014 New Revision: 270971 URL: http://svnweb.freebsd.org/changeset/base/270971 Log: The proper compatibility string for the AHCI device is allwinner,sun4i-ahci, so use that instead of the older string which had become FreeBSD specific. Modified:

svn commit: r270991 - head/sys/conf

2014-09-02 Thread Warner Losh
Author: imp Date: Wed Sep 3 00:32:19 2014 New Revision: 270991 URL: http://svnweb.freebsd.org/changeset/base/270991 Log: Invoke make_dtb with MACHINE defined for enhanced cross building friendliness. This should restore old-fashioned kernel building in a cross environment, though this has

svn commit: r271057 - in head: etc/mtree share/man/man7

2014-09-03 Thread Warner Losh
Author: imp Date: Wed Sep 3 21:59:07 2014 New Revision: 271057 URL: http://svnweb.freebsd.org/changeset/base/271057 Log: Create a /boot/dtb directory to house DTB blobs. The flattened device tree support includes a device tree source compiler dtc(8) which converts .dts files into .dtb

svn commit: r247059 - head/sys/sys

2013-02-20 Thread Warner Losh
Author: imp Date: Wed Feb 20 22:20:49 2013 New Revision: 247059 URL: http://svnweb.freebsd.org/changeset/base/247059 Log: Remove the unused spl functions: spl0, splsoftcam, splsofttty, splsofttq and splstatclock. Other used spl functions to follow. Modified: head/sys/sys/systm.h

svn commit: r247065 - head/sys/dev/ppc

2013-02-20 Thread Warner Losh
Author: imp Date: Thu Feb 21 00:26:31 2013 New Revision: 247065 URL: http://svnweb.freebsd.org/changeset/base/247065 Log: No longer need splhigh() since locking was done, delete it and comments about it. Modified: head/sys/dev/ppc/ppc_isa.c Modified: head/sys/dev/ppc/ppc_isa.c

svn commit: r247066 - head/sys/dev/ppc

2013-02-20 Thread Warner Losh
Author: imp Date: Thu Feb 21 00:27:51 2013 New Revision: 247066 URL: http://svnweb.freebsd.org/changeset/base/247066 Log: Replace splhigh() with critical_enter()/leave() to ensure we write the config mode unlock sequence quickly enough. This likely isn't too critical, since splhigh() has

svn commit: r247067 - head/sys/pci

2013-02-20 Thread Warner Losh
Author: imp Date: Thu Feb 21 00:36:12 2013 New Revision: 247067 URL: http://svnweb.freebsd.org/changeset/base/247067 Log: Kill now-bogus splhigh() -- it is a nop Modified: head/sys/pci/ncr.c Modified: head/sys/pci/ncr.c

svn commit: r247068 - head/sys/x86/isa

2013-02-20 Thread Warner Losh
Author: imp Date: Thu Feb 21 00:40:08 2013 New Revision: 247068 URL: http://svnweb.freebsd.org/changeset/base/247068 Log: Fix broken usage of splhigh() by removing it. Modified: head/sys/x86/isa/atrtc.c Modified: head/sys/x86/isa/atrtc.c

svn commit: r247069 - head/sys/dev/mcd

2013-02-20 Thread Warner Losh
Author: imp Date: Thu Feb 21 02:34:04 2013 New Revision: 247069 URL: http://svnweb.freebsd.org/changeset/base/247069 Log: The other giant locked storage drivers have removed splbio(), for the most part, so remove it here too. Anybody locking this driver will need far more than locks where

svn commit: r247070 - head/sys/pci

2013-02-20 Thread Warner Losh
Author: imp Date: Thu Feb 21 02:40:20 2013 New Revision: 247070 URL: http://svnweb.freebsd.org/changeset/base/247070 Log: Most other giant locked storage drivers in the tree don't use splsoftclock to note the need for future locking, so remove it from here. Modified: head/sys/pci/ncr.c

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

2013-02-20 Thread Warner Losh
Author: imp Date: Thu Feb 21 02:43:44 2013 New Revision: 247072 URL: http://svnweb.freebsd.org/changeset/base/247072 Log: The request queue is already locked, so we don't need the splsofclock/splx here to note future work. Modified: head/sys/fs/nfsclient/nfs_clstate.c Modified:

svn commit: r247086 - head/sys/x86/isa

2013-02-20 Thread Warner Losh
Author: imp Date: Thu Feb 21 06:38:24 2013 New Revision: 247086 URL: http://svnweb.freebsd.org/changeset/base/247086 Log: Correct comment about use of pmtimer, and the real reason it isn't used or desirable for amd64. Modified: head/sys/x86/isa/clock.c Modified: head/sys/x86/isa/clock.c

Re: svn commit: r247086 - head/sys/x86/isa

2013-02-20 Thread Warner Losh
On Feb 20, 2013, at 11:49 PM, Alexey Dokuchaev wrote: On Thu, Feb 21, 2013 at 06:38:24AM +, Warner Losh wrote: New Revision: 247086 URL: http://svnweb.freebsd.org/changeset/base/247086 Log: Correct comment about use of pmtimer, and the real reason it isn't used or desirable

<    5   6   7   8   9   10   11   12   13   14   >