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

2014-01-15 Thread Warner Losh
Author: imp Date: Wed Jan 15 19:53:36 2014 New Revision: 260696 URL: http://svnweb.freebsd.org/changeset/base/260696 Log: Add data so we can convert a PIO unit number into a base address. Modified: head/sys/arm/at91/at91rm9200.c head/sys/arm/at91/at91sam9260.c head/sys/arm/at91/at91sam9g2

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

2014-01-16 Thread Warner Losh
Author: imp Date: Thu Jan 16 20:40:02 2014 New Revision: 260790 URL: http://svnweb.freebsd.org/changeset/base/260790 Log: Remove two redundantly repetitive assignments. Modified: head/sys/mips/cavium/ciu.c Modified: head/sys/mips/cavium/ciu.c =

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

2014-01-19 Thread Warner Losh
(r260884) @@ -0,0 +1,91 @@ +/*- + * Copyright (c) 2014 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

svn commit: r260885 - head/sys/dev/nand

2014-01-19 Thread Warner Losh
0x%02x", data); */ +nand_debug(NDBG_DRV,"at91_nand_read_byte: 0x%02x", data); return (data); } Added: head/sys/dev/nand/nfc_at91.h == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/dev/nand/nfc_at91.h

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

2014-01-19 Thread Warner Losh
Author: imp Date: Sun Jan 19 17:59:34 2014 New Revision: 260886 URL: http://svnweb.freebsd.org/changeset/base/260886 Log: Connect NAND for the SAM9260EK eval board, as well as the HotE HL-201. # expect more refinement as do more boards. Modified: head/sys/arm/at91/board_hl201.c head/sys/a

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

2014-01-19 Thread Warner Losh
Author: imp Date: Sun Jan 19 18:09:00 2014 New Revision: 260887 URL: http://svnweb.freebsd.org/changeset/base/260887 Log: Add nand device and NANDFS into the mix for those boards that have support for it at the moment. Modified: head/sys/arm/conf/ATMEL head/sys/arm/conf/HL201 head/sys/a

svn commit: r260889 - in head/sys: arm/s3c2xx0 arm/sa11x0 arm/xilinx mips/adm5120 mips/atheros mips/cavium mips/rt305x

2014-01-19 Thread Warner Losh
Author: imp Date: Sun Jan 19 19:36:11 2014 New Revision: 260889 URL: http://svnweb.freebsd.org/changeset/base/260889 Log: Introduce grab and ungrab upcalls. When the kernel desires to grab the console, it calls the grab functions. These functions should turn off the RX interrupts, and any ot

svn commit: r260890 - head/sys/dev/uart

2014-01-19 Thread Warner Losh
Author: imp Date: Sun Jan 19 19:39:13 2014 New Revision: 260890 URL: http://svnweb.freebsd.org/changeset/base/260890 Log: Introduce grab and ungrab upcalls. When the kernel desires to grab the console, it calls the grab functions. These functions should turn off the RX interrupts, and any ot

svn commit: r260893 - head/sys/dev/aha

2014-01-19 Thread Warner Losh
Author: imp Date: Sun Jan 19 20:32:20 2014 New Revision: 260893 URL: http://svnweb.freebsd.org/changeset/base/260893 Log: Free the dma memory from the dma map before destroying the dma map. Modified: head/sys/dev/aha/aha.c Modified: head/sys/dev/aha/aha.c

svn commit: r260911 - head/sys/dev/uart

2014-01-20 Thread Warner Losh
Author: imp Date: Mon Jan 20 17:45:36 2014 New Revision: 260911 URL: http://svnweb.freebsd.org/changeset/base/260911 Log: Don't lock in the generic grab just to lock again in the specific grabs. (I committed the wrong version of uart_core.c, which still had this). Pointy hat: imp Modifie

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

2014-01-20 Thread Warner Losh
Author: imp Date: Mon Jan 20 19:57:30 2014 New Revision: 260921 URL: http://svnweb.freebsd.org/changeset/base/260921 Log: We need nand now that the boards reference it. Modified: head/sys/arm/conf/NOTES Modified: head/sys/arm/conf/NOTES ===

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

2014-01-22 Thread Warner Losh
Author: imp Date: Wed Jan 22 21:20:08 2014 New Revision: 261038 URL: http://svnweb.freebsd.org/changeset/base/261038 Log: Implement generic support for early printf. Thought I can't find the paper trail now, this patch is similar to one posted for one of the preliminary versions of a new arm

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

2014-01-22 Thread Warner Losh
Author: imp Date: Wed Jan 22 21:23:58 2014 New Revision: 261039 URL: http://svnweb.freebsd.org/changeset/base/261039 Log: Add support for mapping a small range of the SoC devices for debugging purposes early in boot. Modified: head/sys/arm/arm/locore.S head/sys/conf/options.arm Modified:

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

2014-01-22 Thread Warner Losh
Author: imp Date: Wed Jan 22 21:49:20 2014 New Revision: 261040 URL: http://svnweb.freebsd.org/changeset/base/261040 Log: Implement support for early printf. You need to define SOCDEV_{PA,VA} as described in the comments for the eputc function in your config file. Modified: head/sys/arm/at9

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

2014-01-22 Thread Warner Losh
Author: imp Date: Wed Jan 22 22:01:29 2014 New Revision: 261041 URL: http://svnweb.freebsd.org/changeset/base/261041 Log: Clean up HL201 config (for the hot-e 201 and 101 models from thinlinx). Make comments match parameters Add options for early printf so we get regression build testing on

svn commit: r261043 - head/sys/conf

2014-01-22 Thread Warner Losh
Author: imp Date: Wed Jan 22 22:25:48 2014 New Revision: 261043 URL: http://svnweb.freebsd.org/changeset/base/261043 Log: Document EARLY_PRINTF Modified: head/sys/conf/NOTES Modified: head/sys/conf/NOTES == --- head/

svn commit: r261083 - head/sys/dev/uart

2014-01-23 Thread Warner Losh
Author: imp Date: Thu Jan 23 18:09:10 2014 New Revision: 261083 URL: http://svnweb.freebsd.org/changeset/base/261083 Log: Add Atmel serial drivers. Modified: head/sys/dev/uart/uart.h head/sys/dev/uart/uart_bus_fdt.c Modified: head/sys/dev/uart/uart.h ===

svn commit: r261092 - head/sys/dev/uart

2014-01-23 Thread Warner Losh
Author: imp Date: Fri Jan 24 00:14:14 2014 New Revision: 261092 URL: http://svnweb.freebsd.org/changeset/base/261092 Log: clock-frequency is a FreeBSD-specific extention. Make it optional and allow the client uart drivers to decide if a frequency is required. Modified: head/sys/dev/uart/uar

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

2014-01-24 Thread Warner Losh
Author: imp Date: Fri Jan 24 16:50:15 2014 New Revision: 261126 URL: http://svnweb.freebsd.org/changeset/base/261126 Log: Remove redundant declaration for uart devclass. Commint some unrelated, but harmless, FDT ifdefs. Modified: head/sys/arm/at91/uart_bus_at91usart.c head/sys/arm/at91/ua

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

2014-01-24 Thread Warner Losh
Author: imp Date: Fri Jan 24 16:56:27 2014 New Revision: 261127 URL: http://svnweb.freebsd.org/changeset/base/261127 Log: Add NAND support Fix comment This board has 4 wire support Modified: head/sys/arm/conf/SAM9G20EK Modified: head/sys/arm/conf/SAM9G20EK ===

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

2014-01-24 Thread Warner Losh
Author: imp Date: Fri Jan 24 16:58:50 2014 New Revision: 261130 URL: http://svnweb.freebsd.org/changeset/base/261130 Log: Fix comment to match option Modified: head/sys/arm/conf/SAM9X25EK Modified: head/sys/arm/conf/SAM9X25EK ==

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

2014-01-24 Thread Warner Losh
Author: imp Date: Fri Jan 24 17:00:27 2014 New Revision: 261131 URL: http://svnweb.freebsd.org/changeset/base/261131 Log: Remove obsolete option Modified: head/sys/arm/conf/QILA9G20 head/sys/arm/conf/SAM9G20EK head/sys/arm/conf/SAM9X25EK head/sys/arm/conf/SN9G45 Modified: head/sys/arm/

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

2014-01-24 Thread Warner Losh
Author: imp Date: Fri Jan 24 16:58:21 2014 New Revision: 261129 URL: http://svnweb.freebsd.org/changeset/base/261129 Log: Fix comment to match option Modified: head/sys/arm/conf/HL200 Modified: head/sys/arm/conf/HL200 ==

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

2014-01-24 Thread Warner Losh
Author: imp Date: Fri Jan 24 16:57:42 2014 New Revision: 261128 URL: http://svnweb.freebsd.org/changeset/base/261128 Log: Fix comment to match option Modified: head/sys/arm/conf/BWCT head/sys/arm/conf/QILA9G20 head/sys/arm/conf/SN9G45 Modified: head/sys/arm/conf/BWCT

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

2014-01-25 Thread Warner Losh
Author: imp Date: Sat Jan 25 21:52:19 2014 New Revision: 261171 URL: http://svnweb.freebsd.org/changeset/base/261171 Log: Bus space handles need to be the VA of the requested resource, not the rounded page VA. Correct so the DBGU device can be mapped for FDT console since it isn't on a page

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

2014-01-25 Thread Warner Losh
Author: imp Date: Sat Jan 25 21:57:45 2014 New Revision: 261172 URL: http://svnweb.freebsd.org/changeset/base/261172 Log: Make early printf output nicer by inserting a carriage return before any linefeeds that are output. Modified: head/sys/arm/at91/uart_dev_at91usart.c Modified: head/sys/

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

2014-01-25 Thread Warner Losh
Author: imp Date: Sun Jan 26 04:57:58 2014 New Revision: 261180 URL: http://svnweb.freebsd.org/changeset/base/261180 Log: Before resetting the USART, delay a bit to allow the transmitter to finish the current character to drain to avoid glitching. Also, simplify the code a smidge. Modified:

svn commit: r261202 - in vendor/dtc/dist: . Documentation libfdt tests

2014-01-26 Thread Warner Losh
Author: imp Date: Mon Jan 27 06:20:36 2014 New Revision: 261202 URL: http://svnweb.freebsd.org/changeset/base/261202 Log: Import dtc git at 6a15eb2350426d285130e4c9d84c0bdb6575547a (last rev before bison became required) Modified: vendor/dtc/dist/Documentation/manual.txt vendor/dtc/dist/Ma

svn commit: r261203 - vendor/dtc/dist/tests

2014-01-26 Thread Warner Losh
Author: imp Date: Mon Jan 27 06:22:54 2014 New Revision: 261203 URL: http://svnweb.freebsd.org/changeset/base/261203 Log: Add files for 6a15eb2350426d285130e4c9d84c0bdb6575547a import Added: vendor/dtc/dist/tests/delete_reinstate_multilabel.dts (contents, props changed) vendor/dtc/dist/t

svn commit: r261204 - in vendor/dtc/dtc-6a15eb23: . Documentation libfdt tests

2014-01-26 Thread Warner Losh
Author: imp Date: Mon Jan 27 06:31:37 2014 New Revision: 261204 URL: http://svnweb.freebsd.org/changeset/base/261204 Log: Copy dtc post 6a15eb2350426d285130e4c9d84c0bdb6575547a import Added: vendor/dtc/dtc-6a15eb23/ - copied from r261201, vendor/dtc/dist/ vendor/dtc/dtc-6a15eb23/tests/

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

2014-01-27 Thread Warner Losh
Author: imp Date: Mon Jan 27 19:31:18 2014 New Revision: 261214 URL: http://svnweb.freebsd.org/changeset/base/261214 Log: Remove extra parens to silence clang warning. Modified: head/sys/arm/arm/db_trace.c Modified: head/sys/arm/arm/db_trace.c

svn commit: r261215 - in head/contrib/dtc: . Documentation libfdt

2014-01-27 Thread Warner Losh
Author: imp Date: Mon Jan 27 19:37:35 2014 New Revision: 261215 URL: http://svnweb.freebsd.org/changeset/base/261215 Log: Merge from vendor branch importing dtc git rev 6a15eb2350426d285130e4c9d84c0bdb6575547a Modified: head/contrib/dtc/Documentation/manual.txt head/contrib/dtc/Makefile

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

2014-01-28 Thread Warner Losh
Author: imp Date: Tue Jan 28 22:07:16 2014 New Revision: 261252 URL: http://svnweb.freebsd.org/changeset/base/261252 Log: Fix clang warning. Modified: head/sys/arm/arm/genassym.c Modified: head/sys/arm/arm/genassym.c ===

Re: svn commit: r261246 - in head: . cddl/contrib/opensolaris/tools/ctf/cvt contrib/elftoolchain lib/libdwarf lib/libelf sys/sys

2014-01-28 Thread Warner Losh
On Jan 28, 2014, at 4:57 PM, Kai Wang wrote: > On Tue, Jan 28, 2014 at 05:37:11PM -0500, Pedro Giffuni wrote: >> 2) We start seeing more of those binutils replacements[1] in elftoolchain >> find their way into the tree now that they are already in the vendor area. > > Yes I will try to do that

svn commit: r261257 - head/usr.bin

2014-01-28 Thread Warner Losh
Author: imp Date: Wed Jan 29 05:00:04 2014 New Revision: 261257 URL: http://svnweb.freebsd.org/changeset/base/261257 Log: Don't build BSDL dtc if the GPL dtc is enabled. Modified: head/usr.bin/Makefile Modified: head/usr.bin/Makefile ==

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

2014-01-29 Thread Warner Losh
Author: imp Date: Thu Jan 30 03:14:36 2014 New Revision: 261279 URL: http://svnweb.freebsd.org/changeset/base/261279 Log: Fix the name of the dts file for the HL201... Modified: head/sys/arm/conf/HL201 Modified: head/sys/arm/conf/HL201

Re: svn commit: r261252 - head/sys/arm/arm

2014-01-30 Thread Warner Losh
On Jan 30, 2014, at 3:07 PM, Andrew Turner wrote: > On Tue, 28 Jan 2014 22:07:16 + (UTC) > Warner Losh wrote: > >> Author: imp >> Date: Tue Jan 28 22:07:16 2014 >> New Revision: 261252 >> URL: http://svnweb.freebsd.org/changeset/base/261252 >> &

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

2014-01-30 Thread Warner Losh
Author: imp Date: Fri Jan 31 01:18:34 2014 New Revision: 261304 URL: http://svnweb.freebsd.org/changeset/base/261304 Log: When mapping an address, the bsh needs the same offset we do for other things. Modified: head/sys/arm/at91/at91.c Modified: head/sys/arm/at91/at91.c ===

svn commit: r261305 - head/sys/conf

2014-01-30 Thread Warner Losh
Author: imp Date: Fri Jan 31 01:34:55 2014 New Revision: 261305 URL: http://svnweb.freebsd.org/changeset/base/261305 Log: Hack: Add explicit depends on bus_if.h and device_if.h to avoid a chicken and egg problem in some compilation environments. Modified: head/sys/conf/Makefile.arm Modifie

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

2014-01-31 Thread Warner Losh
Author: imp Date: Fri Jan 31 15:38:05 2014 New Revision: 261322 URL: http://svnweb.freebsd.org/changeset/base/261322 Log: Switch to using PAs rather than VAs for the addresses we map for devices. This is a nop, except for what's reported by atmelbus for the resources. It would be nice i

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

2014-01-31 Thread Warner Losh
Author: imp Date: Fri Jan 31 23:18:30 2014 New Revision: 261336 URL: http://svnweb.freebsd.org/changeset/base/261336 Log: Fix silly typo... Modified: head/sys/arm/arm/locore.S Modified: head/sys/arm/arm/locore.S == -

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

2014-01-31 Thread Warner Losh
Author: imp Date: Fri Jan 31 23:28:18 2014 New Revision: 261337 URL: http://svnweb.freebsd.org/changeset/base/261337 Log: Minor cleanup of comments. Modified: head/sys/arm/at91/at91_machdep.c Modified: head/sys/arm/at91/at91_machdep.c =

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

2014-01-31 Thread Warner Losh
Author: imp Date: Fri Jan 31 23:38:05 2014 New Revision: 261338 URL: http://svnweb.freebsd.org/changeset/base/261338 Log: Move these for diff reduction against FDT work. Modified: head/sys/arm/at91/at91_machdep.c Modified: head/sys/arm/at91/at91_machdep.c

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

2014-02-01 Thread Warner Losh
Author: imp Date: Sat Feb 1 17:53:35 2014 New Revision: 261353 URL: http://svnweb.freebsd.org/changeset/base/261353 Log: Fix AT91SAM9260 to work with PA rather than VA device addresses. Modified: head/sys/arm/at91/at91sam9260reg.h Modified: head/sys/arm/at91/at91sam9260reg.h ===

svn commit: r261435 - head/usr.sbin/config

2014-02-03 Thread Warner Losh
Author: imp Date: Mon Feb 3 15:10:44 2014 New Revision: 261435 URL: http://svnweb.freebsd.org/changeset/base/261435 Log: Slightly deobfuscate read_file() and likely pessimize the runtime performance by epsilon. (Translation: elminate bogus macros that hid 'returns' making it hard to read

svn commit: r261436 - head/usr.sbin/config

2014-02-03 Thread Warner Losh
Author: imp Date: Mon Feb 3 16:46:01 2014 New Revision: 261436 URL: http://svnweb.freebsd.org/changeset/base/261436 Log: In the 17 years since r30796, the mandatory keyword has never been used in any files as far as I can tell, and is currently unused. Retire it. Modified: head/usr.sbin/co

svn commit: r261437 - head/usr.sbin/config

2014-02-03 Thread Warner Losh
Author: imp Date: Mon Feb 3 16:47:10 2014 New Revision: 261437 URL: http://svnweb.freebsd.org/changeset/base/261437 Log: Don't believe we have a requirement until after we've checked all the known key words. This will make error messages slightly better in weird corner cases, but should oth

svn commit: r261438 - head/usr.sbin/config

2014-02-03 Thread Warner Losh
Author: imp Date: Mon Feb 3 16:54:53 2014 New Revision: 261438 URL: http://svnweb.freebsd.org/changeset/base/261438 Log: Move the check for standard keyword + optional inclusion specifier to its proper location. Otherwise you could have 'file.c standard pci' without an error. This construct

svn commit: r261442 - head/usr.sbin/config

2014-02-03 Thread Warner Losh
Author: imp Date: Mon Feb 3 18:31:51 2014 New Revision: 261442 URL: http://svnweb.freebsd.org/changeset/base/261442 Log: Better error messages when EOF is hit in the middle of a phrase. Modified: head/usr.sbin/config/mkmakefile.c Modified: head/usr.sbin/config/mkmakefile.c =

svn commit: r261444 - head/usr.sbin/config

2014-02-03 Thread Warner Losh
Author: imp Date: Mon Feb 3 18:56:41 2014 New Revision: 261444 URL: http://svnweb.freebsd.org/changeset/base/261444 Log: Slight cleanup to the error messaging to compress code vertically... Modified: head/usr.sbin/config/mkmakefile.c Modified: head/usr.sbin/config/mkmakefile.c =

svn commit: r261445 - head/usr.sbin/config

2014-02-03 Thread Warner Losh
Author: imp Date: Mon Feb 3 19:10:33 2014 New Revision: 261445 URL: http://svnweb.freebsd.org/changeset/base/261445 Log: Fix a bug introduced in r261437 that failed to honor "optional profiling-routine" to work, since profiling-routine is not really an option or a device, but a special case

svn commit: r261446 - head/usr.sbin/config

2014-02-03 Thread Warner Losh
Author: imp Date: Mon Feb 3 19:14:36 2014 New Revision: 261446 URL: http://svnweb.freebsd.org/changeset/base/261446 Log: Convert the loop by gotos into a for loop to improve readability. I did this only with the inner loop for the token parsing, and not the outer loop which was understandab

svn commit: r261456 - head/sys/conf

2014-02-03 Thread Warner Losh
Author: imp Date: Tue Feb 4 03:59:35 2014 New Revision: 261456 URL: http://svnweb.freebsd.org/changeset/base/261456 Log: Add a prior version compat define. Modified: head/sys/conf/kern.mk Modified: head/sys/conf/kern.mk ===

svn commit: r261458 - head/sys/arm/econa

2014-02-03 Thread Warner Losh
Author: imp Date: Tue Feb 4 05:21:57 2014 New Revision: 261458 URL: http://svnweb.freebsd.org/changeset/base/261458 Log: s/standard/optional/ for ohci and echi, since these files are optional and not standard. Modified: head/sys/arm/econa/files.econa Modified: head/sys/arm/econa/files.eco

svn commit: r261459 - head/sys/arm/ti/am335x

2014-02-03 Thread Warner Losh
Author: imp Date: Tue Feb 4 05:26:12 2014 New Revision: 261459 URL: http://svnweb.freebsd.org/changeset/base/261459 Log: Remove trailing tabs causing false grep positives Modified: head/sys/arm/ti/am335x/files.am335x Modified: head/sys/arm/ti/am335x/files.am335x

svn commit: r261460 - head/sys/conf

2014-02-03 Thread Warner Losh
Author: imp Date: Tue Feb 4 05:35:04 2014 New Revision: 261460 URL: http://svnweb.freebsd.org/changeset/base/261460 Log: Pass MACHINE and MACHINE_ARCH down into the modules Modified: head/sys/conf/kern.pre.mk Modified: head/sys/conf/kern.pre.mk ==

svn commit: r261492 - head/sys/conf

2014-02-04 Thread Warner Losh
Author: imp Date: Tue Feb 4 18:24:25 2014 New Revision: 261492 URL: http://svnweb.freebsd.org/changeset/base/261492 Log: Bump the version of config to the latest (3 year old, so upgrade worries are long past). Also remove redundant MACHINE= declarations and passing MACHINE/MACHINE_ARCH to m

svn commit: r261493 - head/usr.sbin/config

2014-02-04 Thread Warner Losh
Author: imp Date: Tue Feb 4 18:28:58 2014 New Revision: 261493 URL: http://svnweb.freebsd.org/changeset/base/261493 Log: Implement the '!' operator for files* files. It means 'include this only if the specified option is NOT specified.' Bump version because old config won't be able to cope

Re: svn commit: r261283 - in head: contrib/libc++ contrib/libc++/include contrib/libc++/include/experimental contrib/libc++/include/ext contrib/libc++/src etc/mtree lib/libc++ sys/sys tools/build/mk

2014-02-04 Thread Warner Losh
On Feb 4, 2014, at 1:41 AM, David Chisnall wrote: > It sounds like you're just looking at the output from nm, without bothering > to check how the symbols are used. With all due respect, if it is in nm output, it is part of the ABI, intended or not. Years ago, before symbol versioning, we had

Re: svn commit: r261424 - head/sys/dev/mmc

2014-02-04 Thread Warner Losh
On Feb 3, 2014, at 2:57 PM, Ian Lepore wrote: > On Mon, 2014-02-03 at 16:33 -0500, John Baldwin wrote: >> On Monday, February 03, 2014 01:07:39 PM Ian Lepore wrote: >>> On Mon, 2014-02-03 at 09:03 -0800, John-Mark Gurney wrote: Ian Lepore wrote this message on Mon, Feb 03, 2014 at 02:56 +000

svn commit: r261501 - head/usr.sbin/config

2014-02-04 Thread Warner Losh
Author: imp Date: Wed Feb 5 00:26:11 2014 New Revision: 261501 URL: http://svnweb.freebsd.org/changeset/base/261501 Log: Fix ! by not clearing not at the bottom of the loop. Add a blank line Submitted by: bde (blank line) Modified: head/usr.sbin/config/mkmakefile.c Modified: head/usr

svn commit: r261616 - head/sys/dev/usb/controller

2014-02-07 Thread Warner Losh
Author: imp Date: Sat Feb 8 04:29:36 2014 New Revision: 261616 URL: http://svnweb.freebsd.org/changeset/base/261616 Log: Remove FreeBSD 6 support Modified: head/sys/dev/usb/controller/at91dci_atmelarm.c head/sys/dev/usb/controller/ohci_atmelarm.c Modified: head/sys/dev/usb/controller/at91

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

2014-02-09 Thread Warner Losh
Author: imp Date: Sun Feb 9 20:55:49 2014 New Revision: 261681 URL: http://svnweb.freebsd.org/changeset/base/261681 Log: Add FDT matching code. Modified: head/sys/arm/at91/at91_mci.c Modified: head/sys/arm/at91/at91_mci.c =

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

2014-02-09 Thread Warner Losh
Author: imp Date: Sun Feb 9 20:56:39 2014 New Revision: 261682 URL: http://svnweb.freebsd.org/changeset/base/261682 Log: Add FDT attachment. Modified: head/sys/arm/at91/at91_pio.c Modified: head/sys/arm/at91/at91_pio.c

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

2014-02-09 Thread Warner Losh
Author: imp Date: Sun Feb 9 20:57:26 2014 New Revision: 261683 URL: http://svnweb.freebsd.org/changeset/base/261683 Log: Add FDT attachment, plus minor code shuffle. Modified: head/sys/arm/at91/at91_pit.c Modified: head/sys/arm/at91/at91_pit.c ===

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

2014-02-09 Thread Warner Losh
Author: imp Date: Sun Feb 9 20:58:03 2014 New Revision: 261684 URL: http://svnweb.freebsd.org/changeset/base/261684 Log: Add FDT attachment. Modified: head/sys/arm/at91/at91_pmc.c Modified: head/sys/arm/at91/at91_pmc.c

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

2014-02-09 Thread Warner Losh
Author: imp Date: Sun Feb 9 20:59:46 2014 New Revision: 261685 URL: http://svnweb.freebsd.org/changeset/base/261685 Log: Add FDT attachment. Flag lost functionality with FDT_HACKS so we can find it later. Modified: head/sys/arm/at91/at91_rst.c Modified: head/sys/arm/at91/at91_rst.c ==

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

2014-02-09 Thread Warner Losh
Author: imp Date: Sun Feb 9 21:00:22 2014 New Revision: 261686 URL: http://svnweb.freebsd.org/changeset/base/261686 Log: Add FDT attachment. Modified: head/sys/arm/at91/at91_spi.c Modified: head/sys/arm/at91/at91_spi.c

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

2014-02-09 Thread Warner Losh
Author: imp Date: Sun Feb 9 21:01:10 2014 New Revision: 261687 URL: http://svnweb.freebsd.org/changeset/base/261687 Log: Add TWI attachment for FDT. We're only matching the SAMG20 device for now, others to follow. Modified: head/sys/arm/at91/at91_twi.c Modified: head/sys/arm/at91/at91_twi

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

2014-02-09 Thread Warner Losh
Author: imp Date: Sun Feb 9 21:01:53 2014 New Revision: 261688 URL: http://svnweb.freebsd.org/changeset/base/261688 Log: FDT attachment... Modified: head/sys/arm/at91/at91_wdt.c Modified: head/sys/arm/at91/at91_wdt.c ==

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

2014-02-09 Thread Warner Losh
Author: imp Date: Sun Feb 9 21:02:46 2014 New Revision: 261689 URL: http://svnweb.freebsd.org/changeset/base/261689 Log: Add FDT attachment. Modified: head/sys/arm/at91/if_ate.c Modified: head/sys/arm/at91/if_ate.c

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

2014-02-11 Thread Warner Losh
Author: imp Date: Tue Feb 11 22:09:03 2014 New Revision: 261783 URL: http://svnweb.freebsd.org/changeset/base/261783 Log: Swap PA and VA so they are in the right registers... Modified: head/sys/arm/arm/locore.S Modified: head/sys/arm/arm/locore.S =

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

2014-02-11 Thread Warner Losh
Author: imp Date: Wed Feb 12 03:19:35 2014 New Revision: 261789 URL: http://svnweb.freebsd.org/changeset/base/261789 Log: Convert two while(1); statements into proper panics. Soon, kernels with early printf support will print this info... For kernels without, the observed behavior will be th

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

2013-04-30 Thread Warner Losh
Author: imp Date: Wed May 1 05:46:54 2013 New Revision: 250134 URL: http://svnweb.freebsd.org/changeset/base/250134 Log: Import virgin regdef.h from 4.4 Lite 2's sys/pmax/include/regdef.h, expand the %sccs.include.redist.c% directive with the standard 3-clause license, and add $FreeBSD$ to

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

2013-04-30 Thread Warner Losh
Author: imp Date: Wed May 1 05:48:32 2013 New Revision: 250135 URL: http://svnweb.freebsd.org/changeset/base/250135 Log: Add the standard #ifdef header protection. Modified: head/sys/mips/include/regdef.h Modified: head/sys/mips/include/regdef.h =

Re: svn commit: r250134 - head/sys/mips/include

2013-04-30 Thread Warner Losh
tBSD's in now. Sorry for the churn... Warner > Thanks, > Juli. > > On Tue, Apr 30, 2013 at 10:46 PM, Warner Losh wrote: >> Author: imp >> Date: Wed May 1 05:46:54 2013 >> New Revision: 250134 >> URL: http://svnweb.freebsd.org/changeset/base/250134 >&g

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

2013-04-30 Thread Warner Losh
Author: imp Date: Wed May 1 06:22:50 2013 New Revision: 250136 URL: http://svnweb.freebsd.org/changeset/base/250136 Log: Import NetBSD's version, which is perfectly fine. Submitted by: jmallet@ Modified: head/sys/mips/include/regdef.h Modified: head/sys/mips/include/regdef.h ==

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

2013-04-30 Thread Warner Losh
Author: imp Date: Wed May 1 06:55:13 2013 New Revision: 250137 URL: http://svnweb.freebsd.org/changeset/base/250137 Log: Remove asm.h dependency in a hackish way. Fixed comment. Modified: head/sys/mips/mips/vm_machdep.c Modified: head/sys/mips/mips/vm_machdep.c ===

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

2013-04-30 Thread Warner Losh
Author: imp Date: Wed May 1 06:57:46 2013 New Revision: 250138 URL: http://svnweb.freebsd.org/changeset/base/250138 Log: Don't include asm.h in non-asm files. Remove #define to get kludges that asm.h used to define Move clever macros to access assembler instructions to trap.c Remove __ASS

svn commit: r250139 - head

2013-05-01 Thread Warner Losh
Author: imp Date: Wed May 1 07:13:36 2013 New Revision: 250139 URL: http://svnweb.freebsd.org/changeset/base/250139 Log: Add a historic footnote. Modified: head/UPDATING Modified: head/UPDATING == --- head/UPDATING

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

2013-05-02 Thread Warner Losh
Author: imp Date: Thu May 2 19:45:53 2013 New Revision: 250191 URL: http://svnweb.freebsd.org/changeset/base/250191 Log: Expose cvmx_mgmt_port_num_ports() as a wrapper to the static __cvmx_mgmt_port_num_ports() mostly to avoid exporting a function starting with __. Modified: head/sys/con

svn commit: r250192 - head/sys/mips/cavium/octe

2013-05-02 Thread Warner Losh
Author: imp Date: Thu May 2 19:47:36 2013 New Revision: 250192 URL: http://svnweb.freebsd.org/changeset/base/250192 Log: Use cvmx_mgmt_port_num_ports() instead of the inlined copy of a previous version of this function. Modified: head/sys/mips/cavium/octe/ethernet-common.c head/sys/mips/

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

2013-05-09 Thread Warner Losh
Author: imp Date: Fri May 10 02:57:46 2013 New Revision: 250426 URL: http://svnweb.freebsd.org/changeset/base/250426 Log: Both my EBH5200 and GE WANIC 6354 have a RTC as well. It looks from the Linux tree that they always include this chip in their FDT, so make support for the ds1337 opt-out

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

2013-05-09 Thread Warner Losh
Author: imp Date: Fri May 10 03:04:45 2013 New Revision: 250428 URL: http://svnweb.freebsd.org/changeset/base/250428 Log: Add support from GE Intelligent Platform Cavium Octeon boards. Add options OCTEON_VENDOR_GEFES to enable support for these boards, to match changes that GE publishes to t

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

2013-05-09 Thread Warner Losh
Author: imp Date: Fri May 10 03:05:44 2013 New Revision: 250429 URL: http://svnweb.freebsd.org/changeset/base/250429 Log: Add commented out OCTEON_VENDOR_GEFES Modified: head/sys/mips/conf/OCTEON1 Modified: head/sys/mips/conf/OCTEON1 ==

Re: svn commit: r250426 - head/sys/contrib/octeon-sdk

2013-05-09 Thread Warner Losh
On May 9, 2013, at 9:26 PM, Juli Mallett wrote: > On Thu, May 9, 2013 at 7:57 PM, Warner Losh wrote: >> Log: >> Both my EBH5200 and GE WANIC 6354 have a RTC as well. It looks from >> the Linux tree that they always include this chip in their FDT, so >> make sup

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

2013-05-09 Thread Warner Losh
Author: imp Date: Fri May 10 04:30:14 2013 New Revision: 250433 URL: http://svnweb.freebsd.org/changeset/base/250433 Log: Remove the commented out code I just committed. If we need it, I'll bring it back uncommented our, or rewrite it. Modified: head/sys/contrib/octeon-sdk/cvmx-pcie.c Modi

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

2013-05-09 Thread Warner Losh
Author: imp Date: Fri May 10 04:49:40 2013 New Revision: 250434 URL: http://svnweb.freebsd.org/changeset/base/250434 Log: As requested, move this back to opt-in and list my boards. Modified: head/sys/contrib/octeon-sdk/cvmx-rtc.h Modified: head/sys/contrib/octeon-sdk/cvmx-rtc.h =

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

2013-05-09 Thread Warner Losh
Author: imp Date: Fri May 10 06:28:01 2013 New Revision: 250436 URL: http://svnweb.freebsd.org/changeset/base/250436 Log: Make the read/write routines default to the newer DS1337 part, but keep the supported bits board specific. Modified: head/sys/contrib/octeon-sdk/cvmx-rtc.h Modified: he

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

2013-05-11 Thread Warner Losh
Author: imp Date: Sun May 12 01:29:18 2013 New Revision: 250540 URL: http://svnweb.freebsd.org/changeset/base/250540 Log: Turns out that there really isn't an RTC chip on this board, at all. Modified: head/sys/contrib/octeon-sdk/cvmx-rtc.h Modified: head/sys/contrib/octeon-sdk/cvmx-rtc.h ===

svn commit: r250709 - head/sys/dev/mmc

2013-05-16 Thread Warner Losh
Author: imp Date: Thu May 16 19:44:51 2013 New Revision: 250709 URL: http://svnweb.freebsd.org/changeset/base/250709 Log: When reporting the user readable size, round up. Several SD cards not only use SI units, but also are a couple of percent short. If you need to know the exact size, diski

Re: svn commit: r250692 - head/sys/arm/conf

2013-05-17 Thread Warner Losh
On May 16, 2013, at 9:49 PM, Rui Paulo wrote: > On 2013/05/16, at 2:02, Tim Kientzle wrote: > >> I don't object, but I'm not sure why we need this. >> >> I'd rather see a comment in the BEAGLEBONE >> config indicating that it can be used with >> beaglebone-black.dts. >> >> Generally, I want u

svn commit: r250753 - head/sys/dev/usb

2013-05-17 Thread Warner Losh
Author: imp Date: Fri May 17 20:53:15 2013 New Revision: 250753 URL: http://svnweb.freebsd.org/changeset/base/250753 Log: For ARM, MIPS, and PowerPC, default to 32-byte alignment, but allow it to be as small as 8. Modified: head/sys/dev/usb/usb_freebsd.h Modified: head/sys/dev/usb/usb_free

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

2013-05-20 Thread Warner Losh
On May 19, 2013, at 8:21 PM, Alexey Dokuchaev wrote: > On Thu, Feb 21, 2013 at 06:49:12AM +, Alexey Dokuchaev wrote: >> On Thu, Feb 21, 2013 at 06:38:24AM +0000, Warner Losh wrote: >>> New Revision: 247086 >>> URL: http://svnweb.freebsd.org/changeset/base/247086

svn commit: r259038 - stable/9/sys/arm/at91

2013-12-06 Thread Warner Losh
Author: imp Date: Fri Dec 6 18:32:03 2013 New Revision: 259038 URL: http://svnweb.freebsd.org/changeset/base/259038 Log: Bump the maximum VM space from 3 * memory size to a fixed 256MB. That's all we have room for since we map the hardware registers starting at 0xd000. This allows my 64

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

2013-12-06 Thread Warner Losh
Author: imp Date: Fri Dec 6 18:41:16 2013 New Revision: 259039 URL: http://svnweb.freebsd.org/changeset/base/259039 Log: Although not strictly required to boot a 64MB board, bump vm_max_virtual_address to be KERNVIRTADDR + 256MB. This allows some future shock protection since the KVA requir

svn commit: r259090 - stable/9/sys/arm/conf

2013-12-07 Thread Warner Losh
Author: imp Date: Sun Dec 8 02:48:06 2013 New Revision: 259090 URL: http://svnweb.freebsd.org/changeset/base/259090 Log: 4096 is 4MB, and macb doesn't even come close to working, so don't say it is an altenative. It hasn't worked in quite some time. The die hards can still try to use macb i

svn commit: r259093 - stable/9/sys/arm/arm

2013-12-07 Thread Warner Losh
Author: imp Date: Sun Dec 8 03:49:45 2013 New Revision: 259093 URL: http://svnweb.freebsd.org/changeset/base/259093 Log: MFC: r246881 | ian | 2013-02-16 13:43:16 -0700 (Sat, 16 Feb 2013) | 4 lines In _bus_dmamap_addseg(), the return value must be zero for error, or the size actually

svn commit: r259190 - stable/9/sys/arm/arm

2013-12-10 Thread Warner Losh
Author: imp Date: Tue Dec 10 19:48:48 2013 New Revision: 259190 URL: http://svnweb.freebsd.org/changeset/base/259190 Log: Hand merge from current r235717: Implement pmap_mincore for arm. Now programs using it don't cause a flood of console messages. Reviewed by: alc@ Modified: stab

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

2013-12-10 Thread Warner Losh
Author: imp Date: Wed Dec 11 05:32:29 2013 New Revision: 259212 URL: http://svnweb.freebsd.org/changeset/base/259212 Log: Fix one race and one fence post error. When the TX buffer was completely full, we'd not complete any of the mbufs due to the fence post error (this creates a large leak).

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