svn commit: r212516 - in head/lib/libthr: . arch/amd64 arch/arm arch/i386 arch/ia64 arch/mips arch/powerpc arch/sparc64 support

2010-09-12 Thread Warner Losh
Author: imp Date: Mon Sep 13 01:43:10 2010 New Revision: 212516 URL: http://svn.freebsd.org/changeset/base/212516 Log: Merge from tbemd, with a small amount of rework: For all libthr contexts, use ${MACHINE_CPUARCH} for all libc contexts, use ${MACHINE_ARCH} if it exists, otherwise use

svn commit: r212517 - head/lib/libz

2010-09-12 Thread Warner Losh
Author: imp Date: Mon Sep 13 01:44:07 2010 New Revision: 212517 URL: http://svn.freebsd.org/changeset/base/212517 Log: Include FreeBSD svn tag Modified: head/lib/libz/minigzip.c Modified: head/lib/libz/minigzip.c ==

svn commit: r212518 - head/lib/msun

2010-09-12 Thread Warner Losh
Author: imp Date: Mon Sep 13 01:44:56 2010 New Revision: 212518 URL: http://svn.freebsd.org/changeset/base/212518 Log: MFtbemd: Move to using MACHINE_CPUARCH, now that it is safe. Modified: head/lib/msun/Makefile Modified: head/lib/msun/Makefile

svn commit: r212521 - head/sys/conf

2010-09-12 Thread Warner Losh
Author: imp Date: Mon Sep 13 02:02:20 2010 New Revision: 212521 URL: http://svn.freebsd.org/changeset/base/212521 Log: Use :T:Micc here like everywhere else we test icc Modified: head/sys/conf/kern.pre.mk Modified: head/sys/conf/kern.pre.mk

svn commit: r212523 - in head/sys/modules: scc sound/sound

2010-09-12 Thread Warner Losh
Author: imp Date: Mon Sep 13 02:05:42 2010 New Revision: 212523 URL: http://svn.freebsd.org/changeset/base/212523 Log: MFtbemd: use MACHINE_CPUARCH Modified: head/sys/modules/scc/Makefile head/sys/modules/sound/sound/Makefile Modified: head/sys/modules/scc/Makefile

svn commit: r212525 - head/usr.sbin

2010-09-12 Thread Warner Losh
Author: imp Date: Mon Sep 13 02:21:07 2010 New Revision: 212525 URL: http://svn.freebsd.org/changeset/base/212525 Log: Merge from tbemd: use Makefile.arch to control building. Reviewed by: arch@ (many times, no objection) Added: head/usr.sbin/Makefile.amd64 (contents, props changed)

svn commit: r212526 - head/usr.bin

2010-09-12 Thread Warner Losh
Author: imp Date: Mon Sep 13 02:23:03 2010 New Revision: 212526 URL: http://svn.freebsd.org/changeset/base/212526 Log: Merge from tbemd: Move to using Makefile.arch to control what's build. Reviewed by: (arch@, no objection) Added: head/usr.bin/Makefile.amd64 (contents, props

svn commit: r212528 - head/usr.sbin

2010-09-12 Thread Warner Losh
Author: imp Date: Mon Sep 13 02:26:36 2010 New Revision: 212528 URL: http://svn.freebsd.org/changeset/base/212528 Log: Ooops! Shouldn't have committed this Deleted: head/usr.sbin/Makefile.orig ___ svn-src-head@freebsd.org mailing list

svn commit: r212531 - head/lib/msun

2010-09-12 Thread Warner Losh
Author: imp Date: Mon Sep 13 04:23:23 2010 New Revision: 212531 URL: http://svn.freebsd.org/changeset/base/212531 Log: This is exactly the same as the .else, so remove it. Modified: head/lib/msun/Makefile Modified: head/lib/msun/Makefile

svn commit: r212534 - in head/usr.bin/xlint: . arch/powerpc arch/powerpc64

2010-09-13 Thread Warner Losh
Author: imp Date: Mon Sep 13 06:35:35 2010 New Revision: 212534 URL: http://svn.freebsd.org/changeset/base/212534 Log: Revert r212513 and reimplement the search order to be ARCH, CPUARCH Added: head/usr.bin/xlint/arch/powerpc64/ - copied from r212512, head/usr.bin/xlint/arch/powerpc64/

svn commit: r212535 - head/usr.bin/xlint

2010-09-13 Thread Warner Losh
Author: imp Date: Mon Sep 13 06:50:07 2010 New Revision: 212535 URL: http://svn.freebsd.org/changeset/base/212535 Log: Doh! two last second refactoring typos crept in. Fix. Modified: head/usr.bin/xlint/Makefile.inc Modified: head/usr.bin/xlint/Makefile.inc

svn commit: r212537 - head/usr.sbin/crunch/crunchide

2010-09-13 Thread Warner Losh
Author: imp Date: Mon Sep 13 07:15:01 2010 New Revision: 212537 URL: http://svn.freebsd.org/changeset/base/212537 Log: It turns out that TARGET_CPUARCH doesn't buy us much here, if anything, but costs us another copy of the transform. Revert it. # Maybe makefile.inc1 should set

svn commit: r212538 - head/sys/conf

2010-09-13 Thread Warner Losh
Author: imp Date: Mon Sep 13 07:16:48 2010 New Revision: 212538 URL: http://svn.freebsd.org/changeset/base/212538 Log: Use MACHINE_CPUARCH as appropriate Define __KLD_SHARED to be yes or no depending on if the target uses shared binaries for klds or not (this also eliminates 4 uses of

svn commit: r212540 - head/share/mk

2010-09-13 Thread Warner Losh
Author: imp Date: Mon Sep 13 07:22:14 2010 New Revision: 212540 URL: http://svn.freebsd.org/changeset/base/212540 Log: Prefer MACHINE_CPUARCH to MACHINE_ARCH unless there's a good reason... Modified: head/share/mk/bsd.cpu.mk Modified: head/share/mk/bsd.cpu.mk

svn commit: r212542 - head/sys/conf

2010-09-13 Thread Warner Losh
Author: imp Date: Mon Sep 13 07:27:03 2010 New Revision: 212542 URL: http://svn.freebsd.org/changeset/base/212542 Log: Prefer MACHINE_CPUARCH over MACHINE_ARCH Modified: head/sys/conf/kern.mk Modified: head/sys/conf/kern.mk

svn commit: r212543 - in head/sys/modules: opensolaris zfs

2010-09-13 Thread Warner Losh
Author: imp Date: Mon Sep 13 07:29:02 2010 New Revision: 212543 URL: http://svn.freebsd.org/changeset/base/212543 Log: Simplify atomic selection Modified: head/sys/modules/opensolaris/Makefile head/sys/modules/zfs/Makefile Modified: head/sys/modules/opensolaris/Makefile

svn commit: r212558 - head/usr.bin

2010-09-13 Thread Warner Losh
Author: imp Date: Mon Sep 13 15:30:09 2010 New Revision: 212558 URL: http://svn.freebsd.org/changeset/base/212558 Log: Move to using Makefile.arch to include the proper target-specific programs. Modified: head/usr.bin/Makefile Modified: head/usr.bin/Makefile

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

2010-09-13 Thread Warner Losh
Author: imp Date: Mon Sep 13 16:39:33 2010 New Revision: 212560 URL: http://svn.freebsd.org/changeset/base/212560 Log: TARGET_64BIT isn't needed anymore, GC it (partial merge from tbemd). Modified: head/sys/conf/Makefile.mips head/sys/mips/conf/MALTA64 head/sys/mips/conf/OCTEON1

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

2010-09-15 Thread Warner Losh
Author: imp Date: Wed Sep 15 19:40:08 2010 New Revision: 212692 URL: http://svn.freebsd.org/changeset/base/212692 Log: Don't suggest using bwn for the bcm4306 cards in the list. The bcm4306 cards are ambiguous. BCM4306 rev 2 requires bwi. BCM4306 rev 3 will work with either. Since we

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

2010-09-15 Thread Warner Losh
Author: imp Date: Wed Sep 15 19:40:42 2010 New Revision: 212693 URL: http://svn.freebsd.org/changeset/base/212693 Log: Add note abotu bwn and newer chipsets Modified: head/share/man/man4/bwi.4 Modified: head/share/man/man4/bwi.4

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

2010-09-20 Thread Warner Losh
Author: imp Date: Mon Sep 20 23:36:54 2010 New Revision: 212938 URL: http://svn.freebsd.org/changeset/base/212938 Log: Support new variable NANO_LABEL. When set to a non-null string, nanobsd will build a system that uses this label (via /dev/ufs/${NANO_LABEL}sX) in preference to NANO_DRIVE

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

2010-09-21 Thread Warner Losh
Author: imp Date: Wed Sep 22 04:48:39 2010 New Revision: 212990 URL: http://svn.freebsd.org/changeset/base/212990 Log: Make the labels match the device name that's mounted, not just the slice they are on. When NANO_LABEL is not defined, the fstab generates entries that specify /dev/ad0s1a.

svn commit: r213078 - head/sys/conf

2010-09-23 Thread Warner Losh
Author: imp Date: Thu Sep 23 17:29:59 2010 New Revision: 213078 URL: http://svn.freebsd.org/changeset/base/213078 Log: Clean up stray line in 213077 Modified: head/sys/conf/newvers.sh Modified: head/sys/conf/newvers.sh

svn commit: r213157 - head/sys/ia64/include

2010-09-24 Thread Warner Losh
Author: imp Date: Sat Sep 25 04:41:42 2010 New Revision: 213157 URL: http://svn.freebsd.org/changeset/base/213157 Log: Remove clauses 3 and 4, per changes to NetBSD versions of these files. Modified: head/sys/ia64/include/_stdint.h head/sys/ia64/include/bus.h Modified:

svn commit: r213202 - head/etc/rc.d

2010-09-27 Thread Warner Losh
Author: imp Date: Mon Sep 27 15:55:39 2010 New Revision: 213202 URL: http://svn.freebsd.org/changeset/base/213202 Log: Prefer echo over printf Modified: head/etc/rc.d/nsswitch Modified: head/etc/rc.d/nsswitch == ---

svn commit: r213248 - head/sys/kern

2010-09-28 Thread Warner Losh
Author: imp Date: Tue Sep 28 15:33:30 2010 New Revision: 213248 URL: http://svn.freebsd.org/changeset/base/213248 Log: This file has been unused for ages. Retire it. Submitted by: pluknet Deleted: head/sys/kern/Makefile ___

svn commit: r213368 - head/sys/kern

2010-10-02 Thread Warner Losh
Author: imp Date: Sat Oct 2 21:35:33 2010 New Revision: 213368 URL: http://svn.freebsd.org/changeset/base/213368 Log: Turns out this file was how we make sysent stuff, so add that part only back... Added: head/sys/kern/Makefile (contents, props changed) Added: head/sys/kern/Makefile

svn commit: r213372 - head/sys/kern

2010-10-02 Thread Warner Losh
Author: imp Date: Sat Oct 2 22:12:41 2010 New Revision: 213372 URL: http://svn.freebsd.org/changeset/base/213372 Log: Adjust the all target message (but maybe all: sysent is better? Modified: head/sys/kern/Makefile Modified: head/sys/kern/Makefile

svn commit: r213493 - head/usr.bin/make

2010-10-06 Thread Warner Losh
Author: imp Date: Wed Oct 6 20:49:45 2010 New Revision: 213493 URL: http://svn.freebsd.org/changeset/base/213493 Log: Use more portable errx instead of errc. The latter doesn't buy us anyting anyway, since the error EAGAIN's error message doesn't add anything to the error strings that are

svn commit: r213494 - head/usr.bin/make

2010-10-06 Thread Warner Losh
Author: imp Date: Wed Oct 6 20:54:17 2010 New Revision: 213494 URL: http://svn.freebsd.org/changeset/base/213494 Log: Remove hack needed by 6.x machines and older machines to run newer makes on FreeBSD/pc98. The need for this hack has passed. If you are one of the rare people that may

svn commit: r213646 - head/sbin/devd

2010-10-09 Thread Warner Losh
Author: imp Date: Sat Oct 9 07:29:13 2010 New Revision: 213646 URL: http://svn.freebsd.org/changeset/base/213646 Log: Allow the kernel to generate more spacy things and still have devd cope. Skip multiple spaces in a few contexts. PR: 96854 Submitted by: Shin'ya Kumabuchi

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

2010-10-09 Thread Warner Losh
Author: imp Date: Sat Oct 9 08:39:14 2010 New Revision: 213649 URL: http://svn.freebsd.org/changeset/base/213649 Log: Fix typo: thanks Kris for pointing this out. Modified: head/usr.sbin/pc-sysinstall/backend/functions-bsdlabel.sh Modified:

svn commit: r213784 - head/lib/libz

2010-10-13 Thread Warner Losh
Author: imp Date: Wed Oct 13 16:34:08 2010 New Revision: 213784 URL: http://svn.freebsd.org/changeset/base/213784 Log: Revert 212517 to restore pristine state of this file Modified: head/lib/libz/minigzip.c Modified: head/lib/libz/minigzip.c

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

2012-05-28 Thread Warner Losh
Author: imp Date: Tue May 29 03:23:18 2012 New Revision: 236215 URL: http://svn.freebsd.org/changeset/base/236215 Log: Compute the master clock frequency, so we no longer need to have it compiled into the kernel. This allows us to boot the same kernel on machines with different master

svn commit: r236359 - head/sys/kern

2012-05-31 Thread Warner Losh
Author: imp Date: Thu May 31 17:27:05 2012 New Revision: 236359 URL: http://svn.freebsd.org/changeset/base/236359 Log: Unlock in the error path to prevent a lock leak. PR: 162174 Submitted by: Ian Lepore MFC after:2 weeks Modified: head/sys/kern/subr_rman.c Modified:

Re: svn commit: r236338 - head/usr.bin/make

2012-05-31 Thread Warner Losh
What are your MFC plans for 9.x and 8.x? Warner On May 30, 2012, at 4:23 PM, David E. O'Brien wrote: Author: obrien Date: Wed May 30 22:23:08 2012 New Revision: 236338 URL: http://svn.freebsd.org/changeset/base/236338 Log: Deprecate the FreeBSD make's :U (to-upper case) and :L

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

2012-05-31 Thread Warner Losh
Author: imp Date: Fri Jun 1 02:55:42 2012 New Revision: 236372 URL: http://svn.freebsd.org/changeset/base/236372 Log: Initialize the clocks before we call cninit() so that the serial console so initialized will work upon return from cninit. While this is the very next line, other

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

2012-05-31 Thread Warner Losh
Author: imp Date: Fri Jun 1 03:00:36 2012 New Revision: 236373 URL: http://svn.freebsd.org/changeset/base/236373 Log: Revert debug and other immature code accidentally committed in r236372. Modified: head/sys/arm/at91/at91_mci.c head/sys/arm/at91/at91reg.h

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

2012-06-02 Thread Warner Losh
Author: imp Date: Sun Jun 3 05:36:25 2012 New Revision: 236498 URL: http://svn.freebsd.org/changeset/base/236498 Log: Remove stray repeated line... Modified: head/sys/arm/at91/at91_reset.S Modified: head/sys/arm/at91/at91_reset.S

svn commit: r236524 - in head/sys/arm: arm at91 econa include mv s3c2xx0 sa11x0 xscale/i80321 xscale/i8134x xscale/ixp425 xscale/pxa

2012-06-03 Thread Warner Losh
Author: imp Date: Sun Jun 3 18:34:32 2012 New Revision: 236524 URL: http://svn.freebsd.org/changeset/base/236524 Log: Minor rearrangement of the locore - initarm interface. Pass in a structure with the first 4 registers to allow a wider range of boot loaders to work. Future commits will

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

2012-06-03 Thread Warner Losh
Author: imp Date: Mon Jun 4 04:24:59 2012 New Revision: 236535 URL: http://svn.freebsd.org/changeset/base/236535 Log: Eliminate the now-unused AT91C_MASTER_CLOCK option and change the one place in the source it was used to the more correct AT91C_MAIN_CLOCK. Sort AT91C_MAIN_CLOCK into a

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

2012-06-05 Thread Warner Losh
Author: imp Date: Tue Jun 5 14:19:59 2012 New Revision: 236617 URL: http://svn.freebsd.org/changeset/base/236617 Log: Remove dead code. Modified: head/sys/arm/at91/at91rm92reg.h Modified: head/sys/arm/at91/at91rm92reg.h

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

2012-06-06 Thread Warner Losh
Author: imp Date: Wed Jun 6 06:19:52 2012 New Revision: 236658 URL: http://svn.freebsd.org/changeset/base/236658 Log: Enhance the Atmel SoC chip identification routines to account for more SoC variants. Fold the AT91SAM9XE chips into the AT91SAM9260 handling, where appropriate. The

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

2012-06-06 Thread Warner Losh
Author: imp Date: Wed Jun 6 14:31:14 2012 New Revision: 236681 URL: http://svn.freebsd.org/changeset/base/236681 Log: Remove stray break; that resulted from a last-minute, untested change. Modified: head/sys/arm/at91/at91sam9260.c Modified: head/sys/arm/at91/at91sam9260.c

svn commit: r236988 - head/sys/arm/conf

2012-06-12 Thread Warner Losh
Author: imp Date: Wed Jun 13 04:40:29 2012 New Revision: 236988 URL: http://svn.freebsd.org/changeset/base/236988 Log: Strip trailing whitespace. Modified: head/sys/arm/conf/AVILA head/sys/arm/conf/BWCT head/sys/arm/conf/CAMBRIA head/sys/arm/conf/CNS11XXNAS head/sys/arm/conf/CRB

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

2012-06-12 Thread Warner Losh
Author: imp Date: Wed Jun 13 04:52:19 2012 New Revision: 236989 URL: http://svn.freebsd.org/changeset/base/236989 Log: Strip trailing whitespace before other changes. Modified: head/sys/arm/at91/at91.c head/sys/arm/at91/at91_mci.c head/sys/arm/at91/at91_pio_rm9200.h

svn commit: r236990 - in head/sys/arm: mv s3c2xx0 sa11x0

2012-06-12 Thread Warner Losh
Author: imp Date: Wed Jun 13 04:59:00 2012 New Revision: 236990 URL: http://svn.freebsd.org/changeset/base/236990 Log: Trim trailing whitespace... Modified: head/sys/arm/mv/mv_machdep.c head/sys/arm/mv/mvwin.h head/sys/arm/s3c2xx0/s3c2410reg.h head/sys/arm/s3c2xx0/s3c2440reg.h

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

2012-06-12 Thread Warner Losh
Author: imp Date: Wed Jun 13 04:59:55 2012 New Revision: 236991 URL: http://svn.freebsd.org/changeset/base/236991 Log: Final whitespace trim. Modified: head/sys/arm/arm/bcopyinout_xscale.S head/sys/arm/arm/bootconfig.c head/sys/arm/arm/busdma_machdep.c head/sys/arm/arm/cpufunc.c

svn commit: r236992 - head/sys/arm/include

2012-06-12 Thread Warner Losh
Author: imp Date: Wed Jun 13 05:02:51 2012 New Revision: 236992 URL: http://svn.freebsd.org/changeset/base/236992 Log: trim trailing whitespace Modified: head/sys/arm/include/armreg.h head/sys/arm/include/asmacros.h head/sys/arm/include/atomic.h head/sys/arm/include/blockio.h

svn commit: r237010 - in head/sys/arm/xscale: i80321 i8134x ixp425 pxa

2012-06-13 Thread Warner Losh
Author: imp Date: Wed Jun 13 16:12:30 2012 New Revision: 237010 URL: http://svn.freebsd.org/changeset/base/237010 Log: Remove leakage of other patches into last commit. Modified: head/sys/arm/xscale/i80321/ep80219_machdep.c head/sys/arm/xscale/i80321/iq31244_machdep.c

svn commit: r237040 - in head/sys/arm: arm at91 econa include mv s3c2xx0 sa11x0 xscale/i80321 xscale/i8134x xscale/ixp425

2012-06-13 Thread Warner Losh
Author: imp Date: Thu Jun 14 04:00:30 2012 New Revision: 237040 URL: http://svn.freebsd.org/changeset/base/237040 Log: Modify all the arm platform files to call parse_boot_param passing in the boot parameters from initarm first thing. parse_boot_param parses the boot arguments and converts

svn commit: r237042 - in head/sys: arm/arm arm/include arm/mv conf

2012-06-13 Thread Warner Losh
Author: imp Date: Thu Jun 14 04:09:20 2012 New Revision: 237042 URL: http://svn.freebsd.org/changeset/base/237042 Log: Create default_parse_boot_param which, if FreeBSD /boot/loader support is enabled, sets values based on the metadata passed in. Otherwise fake_preload_metadata is called.

svn commit: r237044 - in head/sys: arm/arm arm/include conf

2012-06-13 Thread Warner Losh
Author: imp Date: Thu Jun 14 04:16:16 2012 New Revision: 237044 URL: http://svn.freebsd.org/changeset/base/237044 Log: Add support for parsing Linux ATAGs such as you'd see from uboot or redboot. Support is very preiminary and likely needs some work. Also, do some minor code shuffling of

svn commit: r237045 - in head/sys/arm: arm at91 econa include mv s3c2xx0 xscale/ixp425

2012-06-13 Thread Warner Losh
Author: imp Date: Thu Jun 14 04:18:56 2012 New Revision: 237045 URL: http://svn.freebsd.org/changeset/base/237045 Log: More Linux boot support. Create arm_dump_avail_init() to initialize this array either from Linux boot data, when enabled, or in the typical way that most ports do it.

svn commit: r237069 - head/sys/arm/include

2012-06-14 Thread Warner Losh
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/arm/include/atags.hThu Jun 14 14:38:55 2012 (r237069) @@ -0,0 +1,129 @@ +/*- + * Copyright (c) 2012 M. Warner Losh. + * All rights reserved

svn commit: r237089 - head/sys/arm/xscale/pxa

2012-06-14 Thread Warner Losh
Author: imp Date: Thu Jun 14 18:37:00 2012 New Revision: 237089 URL: http://svn.freebsd.org/changeset/base/237089 Log: Fix missing straggler for the move to parse_boot_param() Modified: head/sys/arm/xscale/pxa/pxa_machdep.c Modified: head/sys/arm/xscale/pxa/pxa_machdep.c

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

2012-06-15 Thread Warner Losh
Author: imp Date: Fri Jun 15 06:38:55 2012 New Revision: 237115 URL: http://svn.freebsd.org/changeset/base/237115 Log: Take half a step closer towards having a unified atmel kernel by rearranging where we initialize the time counter and putting the common stubs into a central place.

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

2012-06-15 Thread Warner Losh
Author: imp Date: Fri Jun 15 07:26:39 2012 New Revision: 237118 URL: http://svn.freebsd.org/changeset/base/237118 Log: Fix a global shadowing problem when LINUX_BOOT_ABI was defined. Modified: head/sys/arm/arm/machdep.c Modified: head/sys/arm/arm/machdep.c

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

2012-06-15 Thread Warner Losh
Author: imp Date: Fri Jun 15 07:50:26 2012 New Revision: 237122 URL: http://svn.freebsd.org/changeset/base/237122 Log: Collapse the files.at91 and files.at91sam9 back into files.at91. Create a new option for at91rm9200 support. Set this option in std.at91. Create a new option for the

svn commit: r237124 - head/sys/arm/conf

2012-06-15 Thread Warner Losh
Author: imp Date: Fri Jun 15 07:56:53 2012 New Revision: 237124 URL: http://svn.freebsd.org/changeset/base/237124 Log: This hints file doesn't actually do anything, and besides it is commented out here. Remove it. Modified: head/sys/arm/conf/BWCT Modified: head/sys/arm/conf/BWCT

svn commit: r237125 - in head/sys: arm/conf conf

2012-06-15 Thread Warner Losh
Author: imp Date: Fri Jun 15 08:01:16 2012 New Revision: 237125 URL: http://svn.freebsd.org/changeset/base/237125 Log: These options are unused, and can safely be retired. Modified: head/sys/arm/conf/BWCT head/sys/conf/options.arm Modified: head/sys/arm/conf/BWCT

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

2012-06-15 Thread Warner Losh
Author: imp Date: Fri Jun 15 08:37:50 2012 New Revision: 237130 URL: http://svn.freebsd.org/changeset/base/237130 Log: Make it possible to link together a sam and an rm kernel. The results aren't very pretty yet, but this takes DELAY and cpu_reset and makes them pointers. # I worry

svn commit: r237137 - head/sys/arm/s3c2xx0

2012-06-15 Thread Warner Losh
Author: imp Date: Fri Jun 15 16:50:32 2012 New Revision: 237137 URL: http://svn.freebsd.org/changeset/base/237137 Log: Remove stray line from merge. Modified: head/sys/arm/s3c2xx0/s3c24x0_machdep.c Modified: head/sys/arm/s3c2xx0/s3c24x0_machdep.c

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

2012-06-15 Thread Warner Losh
Author: imp Date: Sat Jun 16 04:34:46 2012 New Revision: 237151 URL: http://svn.freebsd.org/changeset/base/237151 Log: Throw this debug behind bootverbose. The information isn't all that exciting once the initial board bring up is over. Modified: head/sys/arm/at91/at91_pio.c Modified:

Re: svn commit: r237130 - head/sys/arm/at91

2012-06-18 Thread Warner Losh
On Jun 18, 2012, at 1:33 PM, Marius Strobl wrote: On Fri, Jun 15, 2012 at 08:37:50AM +, Warner Losh wrote: Author: imp Date: Fri Jun 15 08:37:50 2012 New Revision: 237130 URL: http://svn.freebsd.org/changeset/base/237130 Log: Make it possible to link together a sam and an rm kernel

Re: svn commit: r237286 - head/lib/libc/gen

2012-06-20 Thread Warner Losh
On Jun 20, 2012, at 10:36 AM, Colin Percival wrote: On 06/20/12 09:27, Bruce Evans wrote: On Wed, 20 Jun 2012, Eitan Adler wrote: Log: Don't close an uninitialized descriptor. [1] Add a sanity check for the validity of the passed fd. Library functions shouldn't use assert() or abort().

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

2012-06-21 Thread Warner Losh
Author: imp Date: Fri Jun 22 05:54:34 2012 New Revision: 237429 URL: http://svn.freebsd.org/changeset/base/237429 Log: Move these #defines to at91reg.h (where I should have put them in the first place). Modified: head/sys/arm/at91/at91_machdep.c head/sys/arm/at91/at91reg.h Modified:

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

2012-06-22 Thread Warner Losh
Author: imp Date: Fri Jun 22 06:44:22 2012 New Revision: 237432 URL: http://svn.freebsd.org/changeset/base/237432 Log: Fix a stray debug that I committed accidentally years ago... Modified: head/sys/arm/at91/at91_twi.c Modified: head/sys/arm/at91/at91_twi.c

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

2012-06-28 Thread Warner Losh
Author: imp Date: Thu Jun 28 06:49:04 2012 New Revision: 237687 URL: http://svn.freebsd.org/changeset/base/237687 Log: octeon_uart_class was removed some time ago everywhere but here. Modified: head/sys/mips/cavium/uart_bus_octeonusart.c Modified: head/sys/mips/cavium/uart_bus_octeonusart.c

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

2012-06-28 Thread Warner Losh
Author: imp Date: Thu Jun 28 07:01:48 2012 New Revision: 237689 URL: http://svn.freebsd.org/changeset/base/237689 Log: Add a sysctl to set the cdrom timeout. Data recovery operations from a CD or DVD drive with a damaged disc often benefit from a shorter timeout. Also, when retries are

svn commit: r237692 - head/sys/dev/pccard

2012-06-28 Thread Warner Losh
Author: imp Date: Thu Jun 28 07:26:44 2012 New Revision: 237692 URL: http://svn.freebsd.org/changeset/base/237692 Log: Simplify resource activation a bit. Modified: head/sys/dev/pccard/pccard.c head/sys/dev/pccard/pccardvarp.h Modified: head/sys/dev/pccard/pccard.c

svn commit: r237693 - head/sys/dev/sio

2012-06-28 Thread Warner Losh
Author: imp Date: Thu Jun 28 07:28:39 2012 New Revision: 237693 URL: http://svn.freebsd.org/changeset/base/237693 Log: Document some MP assumptions for sio. Submitted by: bde (years ago) Modified: head/sys/dev/sio/sio.c Modified: head/sys/dev/sio/sio.c

svn commit: r237694 - in head/sys: kern sys

2012-06-28 Thread Warner Losh
Author: imp Date: Thu Jun 28 07:33:43 2012 New Revision: 237694 URL: http://svn.freebsd.org/changeset/base/237694 Log: Remove an old hack I noticed years ago, but never committed. Modified: head/sys/kern/imgact_aout.c head/sys/kern/imgact_gzip.c head/sys/sys/imgact_aout.h Modified:

svn commit: r237695 - head/sys/sys

2012-06-28 Thread Warner Losh
Author: imp Date: Thu Jun 28 07:37:46 2012 New Revision: 237695 URL: http://svn.freebsd.org/changeset/base/237695 Log: Turns out the emulators still need/want a_magic, so put it back here. Modified: head/sys/sys/imgact_aout.h Modified: head/sys/sys/imgact_aout.h

svn commit: r237741 - head/sys/arm/xscale

2012-06-28 Thread Warner Losh
Author: imp Date: Fri Jun 29 04:13:31 2012 New Revision: 237741 URL: http://svn.freebsd.org/changeset/base/237741 Log: All xscale ports are armeb, so mark it here. This should reduce universe times a little. Modified: head/sys/arm/xscale/std.xscale Modified:

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

2012-06-28 Thread Warner Losh
Author: imp Date: Fri Jun 29 04:49:50 2012 New Revision: 237743 URL: http://svn.freebsd.org/changeset/base/237743 Log: Ooops, replaced the at91sam9g20 interrupt list with the at91sam9x25 ones. Modified: head/sys/arm/at91/at91sam9x25.c Modified: head/sys/arm/at91/at91sam9x25.c

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

2012-06-29 Thread Warner Losh
Author: imp Date: Fri Jun 29 06:06:19 2012 New Revision: 237745 URL: http://svn.freebsd.org/changeset/base/237745 Log: Tweak comment. Modified: head/sys/arm/at91/at91_pmcvar.h Modified: head/sys/arm/at91/at91_pmcvar.h

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

2012-06-29 Thread Warner Losh
Author: imp Date: Fri Jun 29 06:05:44 2012 New Revision: 237744 URL: http://svn.freebsd.org/changeset/base/237744 Log: Add PIOD, make at91sam9x25 a standard SoC, tweak some comments. Modified: head/sys/arm/at91/at91sam9x25.c head/sys/arm/at91/at91sam9x25reg.h

svn commit: r237875 - head/sys/geom

2012-07-01 Thread Warner Losh
Author: imp Date: Sun Jul 1 05:22:13 2012 New Revision: 237875 URL: http://svn.freebsd.org/changeset/base/237875 Log: Use %j to match intmax_t. Modified: head/sys/geom/geom_map.c Modified: head/sys/geom/geom_map.c

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

2012-07-01 Thread Warner Losh
Author: imp Date: Sun Jul 1 06:34:17 2012 New Revision: 237881 URL: http://svn.freebsd.org/changeset/base/237881 Log: Opt-in rather than opt-out of the SoC. We don't really support running with multiple SoCs compiled in very well anyway, so this just wastes space. As more and more SoCs

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

2012-07-01 Thread Warner Losh
Author: imp Date: Sun Jul 1 06:56:41 2012 New Revision: 237883 URL: http://svn.freebsd.org/changeset/base/237883 Log: Create a pseudo-lint kernel for all at91 SoCs. This kernel will not currently boot, but will serve as a good linting. make universe could now be altered to skip building

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

2012-07-01 Thread Warner Losh
On Jul 1, 2012, at 9:27 AM, Marcel Moolenaar wrote: On Jun 30, 2012, at 11:56 PM, Warner Losh wrote: Author: imp Date: Sun Jul 1 06:56:41 2012 New Revision: 237883 URL: http://svn.freebsd.org/changeset/base/237883 Log: Create a pseudo-lint kernel for all at91 SoCs. This kernel

svn commit: r238186 - head/sys/boot/arm/at91

2012-07-06 Thread Warner Losh
Author: imp Date: Sat Jul 7 04:49:53 2012 New Revision: 238186 URL: http://svn.freebsd.org/changeset/base/238186 Log: Strip out the useless junk. All we really care about is the text, data and bss sections. All the rest is needed for normal binaries, but boot loaders aren't normal.

svn commit: r238188 - head/sys/boot/arm/at91/boot0spi

2012-07-06 Thread Warner Losh
Author: imp Date: Sat Jul 7 04:55:42 2012 New Revision: 238188 URL: http://svn.freebsd.org/changeset/base/238188 Log: Generalize this for loading the loader into the SPI. Plus trim about 100 bytes from the binary with silly tricks. Hope to get this small enough to run on the models that

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

2012-07-09 Thread Warner Losh
Author: imp Date: Tue Jul 10 01:13:00 2012 New Revision: 238325 URL: http://svn.freebsd.org/changeset/base/238325 Log: There's nothing AT91RM9200 specific about this file at all. Modified: head/sys/arm/at91/uart_bus_at91usart.c Modified: head/sys/arm/at91/uart_bus_at91usart.c

svn commit: r238327 - head/sys/arm/xscale

2012-07-09 Thread Warner Losh
Author: imp Date: Tue Jul 10 01:32:52 2012 New Revision: 238327 URL: http://svn.freebsd.org/changeset/base/238327 Log: Not quite ready for this yet, so comment it out. Modified: head/sys/arm/xscale/std.xscale Modified: head/sys/arm/xscale/std.xscale

svn commit: r238329 - in head/sys/arm: at91 conf econa include mv s3c2xx0 sa11x0 xscale/i80321 xscale/i8134x xscale/ixp425 xscale/pxa

2012-07-09 Thread Warner Losh
Author: imp Date: Tue Jul 10 01:49:50 2012 New Revision: 238329 URL: http://svn.freebsd.org/changeset/base/238329 Log: Remove some unused variables/externs that have been copied too many times... Modified: head/sys/arm/at91/at91_machdep.c head/sys/arm/conf/KB920X

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

2012-07-09 Thread Warner Losh
Author: imp Date: Tue Jul 10 02:14:50 2012 New Revision: 238330 URL: http://svn.freebsd.org/changeset/base/238330 Log: Eliminate the AT91_BASE for each SoC. AT91_BASE is the right way to spell this since we only have one AT91_BASE for all Atmel arm9 SoCs. Modified:

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

2012-07-09 Thread Warner Losh
Author: imp Date: Tue Jul 10 02:39:03 2012 New Revision: 238331 URL: http://svn.freebsd.org/changeset/base/238331 Log: The system IRQ is always IRQ 1. Make it so. Modified: head/sys/arm/at91/at91reg.h head/sys/arm/at91/at91rm9200.c head/sys/arm/at91/at91sam9260.c

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

2012-07-09 Thread Warner Losh
Author: imp Date: Tue Jul 10 02:44:15 2012 New Revision: 238332 URL: http://svn.freebsd.org/changeset/base/238332 Log: Missed one of the special AT91SAM9xxx_BASE defines. This should be AT91_BASE. Modified: head/sys/arm/at91/at91sam9260.c head/sys/arm/at91/at91sam9260reg.h Modified:

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

2012-07-09 Thread Warner Losh
Author: imp Date: Tue Jul 10 04:17:49 2012 New Revision: 238334 URL: http://svn.freebsd.org/changeset/base/238334 Log: Collapse all copies of at91_add_child into at91.c. They were logically identical before today, and actually identical after today's changes. Modified:

svn commit: r238335 - head/sys/arm/conf

2012-07-09 Thread Warner Losh
Author: imp Date: Tue Jul 10 05:39:06 2012 New Revision: 238335 URL: http://svn.freebsd.org/changeset/base/238335 Log: Revert last change. It was accidental. Modified: head/sys/arm/conf/KB920X Modified: head/sys/arm/conf/KB920X

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

2012-07-10 Thread Warner Losh
Author: imp Date: Tue Jul 10 06:18:53 2012 New Revision: 238340 URL: http://svn.freebsd.org/changeset/base/238340 Log: Minor rework to eliminate at91rm9200reg.h dependency and possibly set the stage for a detach routine (unlikely to be useful, but while I was here..) Modified:

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

2012-07-10 Thread Warner Losh
Author: imp Date: Tue Jul 10 06:21:42 2012 New Revision: 238341 URL: http://svn.freebsd.org/changeset/base/238341 Log: Pure style mischief. at91_$DEV_ rather than at91$DEV_ to match others. Modified: head/sys/arm/at91/at91_st.c Modified: head/sys/arm/at91/at91_st.c

svn commit: r238347 - head/sys/arm/include

2012-07-10 Thread Warner Losh
Author: imp Date: Tue Jul 10 14:21:25 2012 New Revision: 238347 URL: http://svn.freebsd.org/changeset/base/238347 Log: Revert committal of local change accidentally swept up in r238329. Modified: head/sys/arm/include/atomic.h Modified: head/sys/arm/include/atomic.h

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

2012-07-10 Thread Warner Losh
Author: imp Date: Tue Jul 10 15:02:29 2012 New Revision: 238348 URL: http://svn.freebsd.org/changeset/base/238348 Log: Remove a useless bit of indirection. On all Atmel ARM products, irq 1 is the system IRQ, so use the define for it and get on with life. Modified: head/sys/arm/at91/at91.c

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

2012-07-10 Thread Warner Losh
Author: imp Date: Tue Jul 10 23:11:52 2012 New Revision: 238358 URL: http://svn.freebsd.org/changeset/base/238358 Log: Remove some more unused code. Modified: head/sys/arm/at91/at91rm9200.c head/sys/arm/at91/at91sam9x25.c Modified: head/sys/arm/at91/at91rm9200.c

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

2012-07-11 Thread Warner Losh
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/arm/at91/at91soc.c Wed Jul 11 20:17:14 2012(r238376) @@ -0,0 +1,51 @@ +/*- + * Copyright (c) 2012 Warner Losh. All rights reserved

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

2012-07-11 Thread Warner Losh
Author: imp Date: Thu Jul 12 02:58:45 2012 New Revision: 238389 URL: http://svn.freebsd.org/changeset/base/238389 Log: Export the interrupt status vector via soc_data. Set the interrupt priorities in the AIC in the atmelarm driver before attaching the children. Delete redunant copies of

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

2012-07-11 Thread Warner Losh
Author: imp Date: Thu Jul 12 04:23:11 2012 New Revision: 238390 URL: http://svn.freebsd.org/changeset/base/238390 Log: Create the children devices for the SoC in atmelarm bus node, not in the identify routine of the CPU. Modified: head/sys/arm/at91/at91.c head/sys/arm/at91/at91rm9200.c

<    1   2   3   4   5   6   7   8   9   10   >