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

2014-02-09 Thread Ian Lepore
Author: ian Date: Sun Feb 9 21:21:10 2014 New Revision: 261690 URL: http://svnweb.freebsd.org/changeset/base/261690 Log: If someone tries to boot a generic ATMEL kernel that has no board_init() routine compiled in, print a friendly error message about it rather than mysteriously hanging whi

svn commit: r261698 - in head/sys/arm: sa11x0 xscale/i80321 xscale/i8134x xscale/pxa

2014-02-09 Thread Ian Lepore
Author: ian Date: Sun Feb 9 22:10:14 2014 New Revision: 261698 URL: http://svnweb.freebsd.org/changeset/base/261698 Log: Update legacy platforms to use new arm_physmem helper routines. Modified: head/sys/arm/sa11x0/assabet_machdep.c head/sys/arm/xscale/i80321/ep80219_machdep.c head/sys/a

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

2014-02-11 Thread Ian Lepore
arner Losh. All rights reserved. + * Copyright (c) 2007-2014 Ian Lepore. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -24,45 +25,573 @@ * SUCH DAMAGE. */ +/* + * Board

svn commit: r261786 - in head/sys: arm/at91 kern sys

2014-02-11 Thread Ian Lepore
Author: ian Date: Wed Feb 12 00:53:38 2014 New Revision: 261786 URL: http://svnweb.freebsd.org/changeset/base/261786 Log: Rework the EARLY_PRINTF mechanism. Instead of defining a special eprintf() routine, now a platform can provide a pointer to an early_putc() routine which is used instead

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

2013-05-04 Thread Ian Lepore
Author: ian Date: Sat May 4 19:50:50 2013 New Revision: 250252 URL: http://svnweb.freebsd.org/changeset/base/250252 Log: EABI unwinder enhancements... When it's time to stop unwinding, don't exit the loop until after printing info about the current frame. Also, if executing the unwind func

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

2013-05-04 Thread Ian Lepore
Author: ian Date: Sat May 4 19:59:35 2013 New Revision: 250253 URL: http://svnweb.freebsd.org/changeset/base/250253 Log: Insert STOP_UNWINDING directives in the _start (kernel entry point) and fork_trampoline (thread entry point) assembler routines, because it's not possible to unwind beyon

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

2013-05-04 Thread Ian Lepore
Author: ian Date: Sat May 4 20:02:34 2013 New Revision: 250254 URL: http://svnweb.freebsd.org/changeset/base/250254 Log: Fix comment block formatting. Modified: head/sys/arm/arm/db_trace.c Modified: head/sys/arm/arm/db_trace.c

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

2013-05-06 Thread Ian Lepore
On Mon, 2013-05-06 at 15:58 +, Alexander Motin wrote: > Author: mav > Date: Mon May 6 15:58:53 2013 > New Revision: 250298 > URL: http://svnweb.freebsd.org/changeset/base/250298 > > Log: > Fix byte order of ATA WWN when converting it to SCSI LUN ID. > > Modified: > head/sys/cam/ata/ata_x

svn commit: r257855 - head/sys/contrib/dev/ath/ath_hal/ar9300

2013-11-08 Thread Ian Lepore
Author: ian Date: Fri Nov 8 16:28:00 2013 New Revision: 257855 URL: http://svnweb.freebsd.org/changeset/base/257855 Log: Remove 'inline' from ar9300_init_pll(), it's too big to inline. Submitted by: adrian@ Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_reset.c Modified: head

svn commit: r257873 - head

2013-11-08 Thread Ian Lepore
Author: ian Date: Sat Nov 9 00:15:36 2013 New Revision: 257873 URL: http://svnweb.freebsd.org/changeset/base/257873 Log: This change builds kernel tools based on the same assumption as building the kernel itself: If building for the same architecture as the build host, the kernel build ass

svn commit: r257924 - head/sys/arm/freescale/imx

2013-11-10 Thread Ian Lepore
Author: ian Date: Sun Nov 10 21:12:42 2013 New Revision: 257924 URL: http://svnweb.freebsd.org/changeset/base/257924 Log: Apparently with "const uint32_t foo = 0x60;" gcc doesn't consider 'foo' to be a constant integer suitable for use in a case label, so use #defines. Modified: head/sys/ar

svn commit: r258076 - head/usr.sbin/syslogd

2013-11-12 Thread Ian Lepore
Author: ian Date: Wed Nov 13 01:01:15 2013 New Revision: 258076 URL: http://svnweb.freebsd.org/changeset/base/258076 Log: This fixes 3 problems in syslogd related to sizing receive buffers... - A call was misplaced at the wrong level of nested if blocks, so that the buffers for unix dom

svn commit: r258077 - head/usr.sbin/syslogd

2013-11-12 Thread Ian Lepore
Author: ian Date: Wed Nov 13 01:04:02 2013 New Revision: 258077 URL: http://svnweb.freebsd.org/changeset/base/258077 Log: Add ENETUNREACH and EADDRNOTAVAIL to the list of errors that are potentially transient and shouldn't result in closing the socket and giving up forever. Modified: head/u

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

2013-11-15 Thread Ian Lepore
Author: ian Date: Fri Nov 15 23:31:39 2013 New Revision: 258196 URL: http://svnweb.freebsd.org/changeset/base/258196 Log: The vendor specified field is 88 bytes, not 8 bytes. Submitted by: Kristof Provost Modified: head/sys/dev/nand/nand.h Modified: head/sys/dev/nand/nand.h ===

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

2013-11-15 Thread Ian Lepore
Author: ian Date: Fri Nov 15 23:35:10 2013 New Revision: 258197 URL: http://svnweb.freebsd.org/changeset/base/258197 Log: Update the onfi_params struct to ONFI revision 3.2 (06 12 2013). Submitted by: Kristof Provost (cleanup) and me (orig). Modified: head/sys/dev/nand/nand.h Modified:

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

2013-11-15 Thread Ian Lepore
Author: ian Date: Fri Nov 15 23:37:33 2013 New Revision: 258199 URL: http://svnweb.freebsd.org/changeset/base/258199 Log: Search for and validate the ONFI params as specified in the standard. The ONFI spec states that at least two bytes of the signature ("ONFI") must be present, and the C

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

2013-11-15 Thread Ian Lepore
Author: ian Date: Fri Nov 15 23:41:32 2013 New Revision: 258200 URL: http://svnweb.freebsd.org/changeset/base/258200 Log: ONFI parameters are little-endian, hence we must take care to convert them to native endianness. We must also pay attention to unaligned accesses. Copy the interestin

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

2013-11-15 Thread Ian Lepore
Author: ian Date: Fri Nov 15 23:45:13 2013 New Revision: 258201 URL: http://svnweb.freebsd.org/changeset/base/258201 Log: Move the luns field to the end of the struct, for serendipitous packing. (I was supposed to do this before committing it initially.) Modified: head/sys/dev/nand/nand.h

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

2013-11-15 Thread Ian Lepore
Author: ian Date: Fri Nov 15 23:48:51 2013 New Revision: 258202 URL: http://svnweb.freebsd.org/changeset/base/258202 Log: Rework the routine that returns a pointer to the table of software ECC byte positions within the OOB area to support chips with unusual OOB sizes such as 218 or 224 bytes

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

2013-11-16 Thread Ian Lepore
Author: ian Date: Sat Nov 16 23:37:56 2013 New Revision: 258240 URL: http://svnweb.freebsd.org/changeset/base/258240 Log: In the data abort handler, don't panic if kdb is available and says it handled the condition. PR: arm/183668 Submitted by: Howard Su Modified: head/sys

Re: svn commit: r258155 - head/sys/dev/qlxgbe

2013-11-18 Thread Ian Lepore
On Mon, 2013-11-18 at 14:22 +, Alexey Dokuchaev wrote: > On Fri, Nov 15, 2013 at 01:26:25AM +, David C Somayajulu wrote: > > New Revision: 258155 > > URL: http://svnweb.freebsd.org/changeset/base/258155 > > > > Log: > > ql_hw.[c,h]: set minimum thresholds on pkt size for lro path. > >

svn commit: r258356 - head/sys/arm/ti

2013-11-19 Thread Ian Lepore
Author: ian Date: Tue Nov 19 22:14:35 2013 New Revision: 258356 URL: http://svnweb.freebsd.org/changeset/base/258356 Log: Bugfixes... the host capabilties from FDT data are stored in host.caps, not host.host_ocr, examine the correct field when setting up the hardware. Also, the offset for t

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

2013-11-20 Thread Ian Lepore
Author: ian Date: Wed Nov 20 15:53:50 2013 New Revision: 258392 URL: http://svnweb.freebsd.org/changeset/base/258392 Log: Call cpu_setup() immediately after the page tables are installed. This enables data cache and other chip-specific features. It was previously done via an early SYSINIT,

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

2013-11-20 Thread Ian Lepore
Author: ian Date: Wed Nov 20 16:42:01 2013 New Revision: 258393 URL: http://svnweb.freebsd.org/changeset/base/258393 Log: Add USB_HOST_ALIGN=64; the cache line size on the am335x is 64 bytes. Modified: head/sys/arm/conf/BEAGLEBONE Modified: head/sys/arm/conf/BEAGLEBONE ==

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

2013-11-20 Thread Ian Lepore
Author: ian Date: Thu Nov 21 01:08:10 2013 New Revision: 258412 URL: http://svnweb.freebsd.org/changeset/base/258412 Log: Call cpu_setup() from the initarm() routine on platforms that don't use the common FDT-aware initarm() in arm/machdep.c. Pointed out by:cognet Pointy hat

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

2013-11-29 Thread Ian Lepore
Author: ian Date: Fri Nov 29 14:23:22 2013 New Revision: 258740 URL: http://svnweb.freebsd.org/changeset/base/258740 Log: Look up a nand chip by id in the static table before trying to obtain ONFI parameters. This allows a static table entry to provide valid data for chips known to provide

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

2013-11-29 Thread Ian Lepore
Author: ian Date: Fri Nov 29 15:06:11 2013 New Revision: 258742 URL: http://svnweb.freebsd.org/changeset/base/258742 Log: Set the PGA_WRITEABLE flag when the protections indicate write access, not just when the current access is a write. Reviewed by: zbb@ Modified: head/sys/arm/arm/pm

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

2013-12-01 Thread Ian Lepore
Author: ian Date: Mon Dec 2 02:33:03 2013 New Revision: 258820 URL: http://svnweb.freebsd.org/changeset/base/258820 Log: Add definitions for the additional PIO pins found on recent AT91 SoCs. Modified: head/sys/arm/at91/at91_pioreg.h Modified: head/sys/arm/at91/at91_pioreg.h ===

svn commit: r258828 - in head/sys: arm/at91 dev/nand

2013-12-01 Thread Ian Lepore
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/dev/nand/nfc_at91.cMon Dec 2 03:52:40 2013 (r258828) @@ -0,0 +1,258 @@ +/*- + * Copyright (C) 2013 Ian Lepore. + * All rights

svn commit: r259307 - stable/10/sys/conf

2013-12-13 Thread Ian Lepore
Author: ian Date: Fri Dec 13 16:09:07 2013 New Revision: 259307 URL: http://svnweb.freebsd.org/changeset/base/259307 Log: MFC r256492: Add the long-missing spibus_if.m to the MFILES list. Modified: stable/10/sys/conf/kmod.mk Directory Properties: stable/10/ (props changed) Modified:

svn commit: r259308 - stable/10/sys/arm/arm

2013-12-13 Thread Ian Lepore
Author: ian Date: Fri Dec 13 16:14:08 2013 New Revision: 259308 URL: http://svnweb.freebsd.org/changeset/base/259308 Log: MFC r256628: Fix a register name typo. The effect was that CPU_CONTROL_AFLT_ENABLE wasn't being set, but it was almost assuredly already turned on anyway by the

svn commit: r259309 - stable/10/sys/arm/arm

2013-12-13 Thread Ian Lepore
Author: ian Date: Fri Dec 13 16:38:21 2013 New Revision: 259309 URL: http://svnweb.freebsd.org/changeset/base/259309 Log: MFC r256637: When calculating the number of bounce pages needed, round the maxsize up to a multiple of PAGE_SIZE, and add one page because there can always be

svn commit: r259310 - stable/10/sys/arm/arm

2013-12-13 Thread Ian Lepore
Author: ian Date: Fri Dec 13 16:41:04 2013 New Revision: 259310 URL: http://svnweb.freebsd.org/changeset/base/259310 Log: MFC r256638: Add cases for the combinations of busdma sync op flags that we handle correctly by doing nothing, then add a panic for the default case, because t

svn commit: r259312 - stable/10

2013-12-13 Thread Ian Lepore
Author: ian Date: Fri Dec 13 17:00:25 2013 New Revision: 259312 URL: http://svnweb.freebsd.org/changeset/base/259312 Log: MFC 256640: Allow 'make xdev' to work when DESTDIR is set. Modified: stable/10/Makefile.inc1 Directory Properties: stable/10/ (props changed) Modified: stable/10/Mak

svn commit: r259313 - stable/10/sys/arm/arm

2013-12-13 Thread Ian Lepore
Author: ian Date: Fri Dec 13 17:02:09 2013 New Revision: 259313 URL: http://svnweb.freebsd.org/changeset/base/259313 Log: MFC r256647: Invalidate the entire L2 cache before enabling it. Say whether it has been enabled or disabled. Modified: stable/10/sys/arm/arm/pl310.c Directory

svn commit: r259314 - stable/10/sys/arm/freescale/imx

2013-12-13 Thread Ian Lepore
Author: ian Date: Fri Dec 13 17:03:32 2013 New Revision: 259314 URL: http://svnweb.freebsd.org/changeset/base/259314 Log: MFC r256774: Clock divisors 0-3 correspond to dividing by 1-4, so add 1 before dividing. Modified: stable/10/sys/arm/freescale/imx/imx51_ccm.c Directory Properties:

svn commit: r259315 - in stable/10/sys: arm/freescale/imx boot/fdt/dts

2013-12-13 Thread Ian Lepore
Author: ian Date: Fri Dec 13 17:10:23 2013 New Revision: 259315 URL: http://svnweb.freebsd.org/changeset/base/259315 Log: MFC r256804: Switch to using the standard uart console driver instead of the special driver for early boot debugging. Modified: stable/10/sys/arm/freescale/imx/

svn commit: r259316 - stable/10/sys/dev/ofw

2013-12-13 Thread Ian Lepore
Author: ian Date: Fri Dec 13 17:23:47 2013 New Revision: 259316 URL: http://svnweb.freebsd.org/changeset/base/259316 Log: MFC r257130: Add a helper routine to search for a compat string in a table that associates compat strings with arbitrary values that mean something to the driv

svn commit: r259317 - in stable/10/sys: arm/freescale/imx dev/ffec

2013-12-13 Thread Ian Lepore
Author: ian Date: Fri Dec 13 17:28:08 2013 New Revision: 259317 URL: http://svnweb.freebsd.org/changeset/base/259317 Log: MFC r256806, r256919, r257167: Add a driver for the Freescale Fast Ethernet Controller found on various Freescale SoCs including the i.MX series. This also works

svn commit: r259318 - in stable/10/sys: arm/conf boot/fdt/dts

2013-12-13 Thread Ian Lepore
Author: ian Date: Fri Dec 13 17:29:31 2013 New Revision: 259318 URL: http://svnweb.freebsd.org/changeset/base/259318 Log: MFC r256809: Add configuration for the Freescale i.MX53 Quick Start Board. Added: stable/10/sys/arm/conf/IMX53-QSB - copied unchanged from r256809, head/sys/arm/conf/

svn commit: r259319 - stable/10/sys/dev/uart

2013-12-13 Thread Ian Lepore
Author: ian Date: Fri Dec 13 18:21:27 2013 New Revision: 259319 URL: http://svnweb.freebsd.org/changeset/base/259319 Log: MFC r256815: Calculate the baud rate divisor rather than using a hard-coded value. Modified: stable/10/sys/dev/uart/uart_dev_pl011.c Directory Properties: stable/

svn commit: r259322 - stable/10/sys/arm/freescale/imx

2013-12-13 Thread Ian Lepore
ation + * Copyright (c) 2013 Ian Lepore * All rights reserved. * - * - * This code is derived from software written for Brini by Mark Brinicombe - * Portions of this software were developed by Oleksandr Rybalko - * under sponsorship from the FreeBSD Foundation. - * * Redistribution and use in s

svn commit: r259323 - stable/10/sys/dev/uart

2013-12-13 Thread Ian Lepore
Author: ian Date: Fri Dec 13 19:01:50 2013 New Revision: 259323 URL: http://svnweb.freebsd.org/changeset/base/259323 Log: MFC r257480: Convert the if/else list of compatible devices to the table-driven ofw_bus_search_compatible() routine. In addition to converting existing string

svn commit: r259324 - stable/10/sys/arm/rockchip

2013-12-13 Thread Ian Lepore
Author: ian Date: Fri Dec 13 19:17:09 2013 New Revision: 259324 URL: http://svnweb.freebsd.org/changeset/base/259324 Log: MFC r256949: Import basic support for Rockchip RK3188 SoC. Added: stable/10/sys/arm/rockchip/ - copied from r256949, head/sys/arm/rockchip/ Modified: Directory Prope

svn commit: r259325 - in stable/10/sys: arm/broadcom/bcm2835 arm/conf boot/fdt/dts

2013-12-13 Thread Ian Lepore
Author: ian Date: Fri Dec 13 19:27:23 2013 New Revision: 259325 URL: http://svnweb.freebsd.org/changeset/base/259325 Log: MFC r257062: Add the Raspberry Pi SPI controller driver. Added: stable/10/sys/arm/broadcom/bcm2835/bcm2835_spi.c - copied unchanged from r257062, head/sys/arm/broadc

svn commit: r259329 - in stable/10/sys/arm: allwinner allwinner/a20 arm at91 broadcom/bcm2835 econa freescale/imx include lpc mv mv/orion rockchip sa11x0 samsung/exynos tegra ti ti/am335x ti/omap4 ...

2013-12-13 Thread Ian Lepore
Author: ian Date: Fri Dec 13 20:43:11 2013 New Revision: 259329 URL: http://svnweb.freebsd.org/changeset/base/259329 Log: MFC r257199, r257200, r257217: Remove all #include from arm code. It's already included by vm/pmap.h, which is a prerequisite for arm/machine/pmap.h so there

svn commit: r259335 - in stable/10/sys/arm: allwinner arm broadcom/bcm2835 include lpc mv rockchip samsung/exynos tegra ti versatile xilinx

2013-12-13 Thread Ian Lepore
Author: ian Date: Fri Dec 13 21:40:12 2013 New Revision: 259335 URL: http://svnweb.freebsd.org/changeset/base/259335 Log: MFC r257201, r257202 Retire arm_remap_nocache() and the data and constants associated with it. Modified: stable/10/sys/arm/allwinner/a10_machdep.c stable/10/sys/a

svn commit: r259337 - stable/10/sys/arm/arm

2013-12-13 Thread Ian Lepore
Author: ian Date: Fri Dec 13 21:41:40 2013 New Revision: 259337 URL: http://svnweb.freebsd.org/changeset/base/259337 Log: MFC r257203: Eliminate a compiler warning about extraneous parens. Modified: stable/10/sys/arm/arm/busdma_machdep.c Directory Properties: stable/10/ (props changed) M

svn commit: r259342 - in stable/10/sys/arm: at91 econa lpc ti/cpsw versatile xscale/ixp425 xscale/pxa

2013-12-13 Thread Ian Lepore
Author: ian Date: Fri Dec 13 22:08:31 2013 New Revision: 259342 URL: http://svnweb.freebsd.org/changeset/base/259342 Log: MFC r257258, r257265: Include headers (if_var.h and others) where needed. The change that triggered the need for this on head was r257244. That hasn't been MFC'd yet,

svn commit: r259343 - stable/10/sys/arm/freescale/imx

2013-12-13 Thread Ian Lepore
/freescale/imx/imx_nop_usbphy.cFri Dec 13 22:12:37 2013(r259343, copy of r257384, head/sys/arm/freescale/imx/imx_nop_usbphy.c) @@ -0,0 +1,118 @@ +/*- + * Copyright (c) 2013 Ian Lepore + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without +

svn commit: r259344 - stable/10/sys/dev/usb

2013-12-13 Thread Ian Lepore
Author: ian Date: Fri Dec 13 22:15:24 2013 New Revision: 259344 URL: http://svnweb.freebsd.org/changeset/base/259344 Log: MFC r257390: Add a vendor entry for Freescale Semiconductor. Modified: stable/10/sys/dev/usb/usbdevs Directory Properties: stable/10/ (props changed) Modified: stabl

svn commit: r259345 - in stable/10/sys: boot/fdt/dts dev/usb/controller

2013-12-13 Thread Ian Lepore
TYET - usb@53fc4000 { - compatible = "fsl,imx53-otg"; - reg = <0x53fc4000 0x4000>; - interrupt-parent = <&tzic>; - interrupts = <&

svn commit: r259346 - stable/10/sys/arm/freescale/imx

2013-12-13 Thread Ian Lepore
Author: ian Date: Fri Dec 13 22:21:04 2013 New Revision: 259346 URL: http://svnweb.freebsd.org/changeset/base/259346 Log: MFC r257407: Expand the list of compatible devices this driver works with. Increase the target frequency from 1 to 10 MHz because these SoCs are plenty fast e

svn commit: r259347 - stable/10/sys/arm/freescale/imx

2013-12-13 Thread Ian Lepore
Author: ian Date: Fri Dec 13 22:21:49 2013 New Revision: 259347 URL: http://svnweb.freebsd.org/changeset/base/259347 Log: MFC r257413: Reset the timer interrupt status register at the top rather than bottom of the interrupt handler. If the event callback starts a new short timeout,

svn commit: r259348 - stable/10/sys/arm/freescale/imx

2013-12-13 Thread Ian Lepore
Author: ian Date: Fri Dec 13 22:22:54 2013 New Revision: 259348 URL: http://svnweb.freebsd.org/changeset/base/259348 Log: MFC r257418: Don't iterate through the bits of the pending interrupt register if the whole register is zero. Most of the registers will be zero most of the time.

svn commit: r259349 - stable/10/sys/arm/arm

2013-12-13 Thread Ian Lepore
Author: ian Date: Fri Dec 13 22:24:00 2013 New Revision: 259349 URL: http://svnweb.freebsd.org/changeset/base/259349 Log: MFC r257419: Do not EOI an interrupt until the point after the filter handlers / before threaded handlers. Modified: stable/10/sys/arm/arm/gic.c Directory Prope

svn commit: r259351 - stable/10/sys/arm/freescale/imx

2013-12-13 Thread Ian Lepore
1970 (empty, because file is newly added) +++ stable/10/sys/arm/freescale/imx/imx6_usbphy.c Fri Dec 13 22:26:10 2013(r259351, copy of r257452, head/sys/arm/freescale/imx/imx6_usbphy.c) @@ -0,0 +1,189 @@ +/*- + * Copyright (c) 2013 Ian Lepore + * All rights reserved

svn commit: r259353 - stable/10/sys/arm/freescale/imx

2013-12-13 Thread Ian Lepore
(empty, because file is newly added) +++ stable/10/sys/arm/freescale/imx/imx_sdhci.c Fri Dec 13 22:28:19 2013 (r259353, copy of r257454, head/sys/arm/freescale/imx/imx_sdhci.c) @@ -0,0 +1,704 @@ +/*- + * Copyright (c) 2013 Ian Lepore + * All rights reserved. + * + * Redistribution and use in

svn commit: r259352 - stable/10/sys/arm/freescale/imx

2013-12-13 Thread Ian Lepore
/freescale/imx/imx6_anatop.c Fri Dec 13 22:27:26 2013(r259352, copy of r257453, head/sys/arm/freescale/imx/imx6_anatop.c) @@ -0,0 +1,155 @@ +/*- + * Copyright (c) 2013 Ian Lepore + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without

svn commit: r259354 - stable/10/sys/arm/freescale/imx

2013-12-13 Thread Ian Lepore
Author: ian Date: Fri Dec 13 22:30:21 2013 New Revision: 259354 URL: http://svnweb.freebsd.org/changeset/base/259354 Log: MFC r257476, r257478: Revamp the SoC identity numbering scheme to be more in line with the way Freescale numbers the chips in the ID registers. Add definiti

svn commit: r259355 - in stable/10/sys: arm/conf arm/freescale/imx boot/fdt/dts

2013-12-13 Thread Ian Lepore
able/10/sys/arm/freescale/imx/imx6_machdep.c Fri Dec 13 22:41:57 2013(r259355, copy of r257483, head/sys/arm/freescale/imx/imx6_machdep.c) @@ -0,0 +1,164 @@ +/*- + * Copyright (c) 2013 Ian Lepore + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or wit

svn commit: r259356 - in stable/10/sys: arm/ti boot/fdt/dts

2013-12-13 Thread Ian Lepore
Author: ian Date: Fri Dec 13 22:46:10 2013 New Revision: 259356 URL: http://svnweb.freebsd.org/changeset/base/259356 Log: MFC r257518, r257519: TI sdhci driver improvements, mostly related to fdt data... Use the published compatible strings (our own invention, "ti,mmchs" is sti

svn commit: r259357 - stable/10/sys/dev/uart

2013-12-13 Thread Ian Lepore
Author: ian Date: Fri Dec 13 22:48:01 2013 New Revision: 259357 URL: http://svnweb.freebsd.org/changeset/base/259357 Log: MFC r257556: Arrange for uart_cpu_fdt's probe() routine to use the same table of compat strings as uart_bus_fdt's probe(). Modified: stable/10/sys/dev/uart/uart

svn commit: r259358 - stable/10/sys/arm/freescale/imx

2013-12-13 Thread Ian Lepore
Author: ian Date: Fri Dec 13 22:49:18 2013 New Revision: 259358 URL: http://svnweb.freebsd.org/changeset/base/259358 Log: MFC r257557: Add a missing register definition. Modified: stable/10/sys/arm/freescale/imx/imx6_anatopreg.h Directory Properties: stable/10/ (props changed) Modified:

svn commit: r259359 - stable/10/sys/arm/freescale/imx

2013-12-13 Thread Ian Lepore
Author: ian Date: Fri Dec 13 22:50:12 2013 New Revision: 259359 URL: http://svnweb.freebsd.org/changeset/base/259359 Log: MFC r257561: Bugfix: the attach routine needs to use the same table of fdt compat strings that the probe routine used. Modified: stable/10/sys/arm/freescale/im

svn commit: r259360 - stable/10/sys/arm/freescale/imx

2013-12-13 Thread Ian Lepore
Author: ian Date: Fri Dec 13 22:51:09 2013 New Revision: 259360 URL: http://svnweb.freebsd.org/changeset/base/259360 Log: MFC r257595: Comments and style(9) only, no functional changes. Modified: stable/10/sys/arm/freescale/imx/imx_machdep.c Directory Properties: stable/10/ (props change

svn commit: r259361 - stable/10/sys/arm/conf

2013-12-13 Thread Ian Lepore
Author: ian Date: Fri Dec 13 22:52:59 2013 New Revision: 259361 URL: http://svnweb.freebsd.org/changeset/base/259361 Log: MFC r257603, r257604: Rename WANDBOARD-COMMON to WANDBOARD.common and adjust the configs that include it accordingly. The build machinery for universe and tinderb

svn commit: r259363 - stable/10/sys/arm/s3c2xx0

2013-12-13 Thread Ian Lepore
Author: ian Date: Fri Dec 13 23:07:22 2013 New Revision: 259363 URL: http://svnweb.freebsd.org/changeset/base/259363 Log: MFC r257639: Remove the duplicated implementations of some bus_space functions and use the essentially identical generic implementations instead. The generic

svn commit: r259364 - in stable/10/sys: arm/allwinner arm/arm arm/at91 arm/broadcom/bcm2835 arm/econa arm/freescale/imx arm/include arm/lpc arm/mv arm/rockchip arm/s3c2xx0 arm/sa11x0 arm/samsung/ex...

2013-12-13 Thread Ian Lepore
Author: ian Date: Fri Dec 13 23:56:53 2013 New Revision: 259364 URL: http://svnweb.freebsd.org/changeset/base/259364 Log: MFC r257648, r257649, r257660: Begin reducing code duplication in arm pmap.c and pmap-v6.c by factoring out common code related to mapping device memory into a new

svn commit: r259365 - in stable/10/sys/arm: allwinner arm broadcom/bcm2835 freescale/imx include lpc mv rockchip samsung/exynos tegra ti versatile xilinx

2013-12-13 Thread Ian Lepore
Author: ian Date: Sat Dec 14 00:16:08 2013 New Revision: 259365 URL: http://svnweb.freebsd.org/changeset/base/259365 Log: MFC r257669, r257672, r257673, r257676, r257678: Call initarm_lastaddr() later in the init sequence, after establishing static device mappings, rather than as the

svn commit: r259366 - stable/10/sys/arm/freescale/imx

2013-12-13 Thread Ian Lepore
Author: ian Date: Sat Dec 14 00:23:43 2013 New Revision: 259366 URL: http://svnweb.freebsd.org/changeset/base/259366 Log: MFC r257924: Apparently with "const uint32_t foo = 0x60;" gcc doesn't consider 'foo' to be a constant integer suitable for use in a case label, so use #defines. M

svn commit: r259368 - stable/10/usr.sbin/syslogd

2013-12-13 Thread Ian Lepore
Author: ian Date: Sat Dec 14 00:25:57 2013 New Revision: 259368 URL: http://svnweb.freebsd.org/changeset/base/259368 Log: MFC r258076, r258077: This fixes 3 problems in syslogd related to sizing receive buffers... - A call was misplaced at the wrong level of nested if blocks, so th

svn commit: r259371 - stable/10/sys/dev/nand

2013-12-13 Thread Ian Lepore
Author: ian Date: Sat Dec 14 00:54:05 2013 New Revision: 259371 URL: http://svnweb.freebsd.org/changeset/base/259371 Log: MFC r257892, r258196, r258197, r258199, r258200, r258201, r258202: Add ONFI signature check. Add Micron chip found in Freescale Vybrid Family Phytec COSMIC boar

svn commit: r259372 - stable/10/sys/dev/nand

2013-12-13 Thread Ian Lepore
Author: ian Date: Sat Dec 14 00:55:34 2013 New Revision: 259372 URL: http://svnweb.freebsd.org/changeset/base/259372 Log: MFC r258740: Look up a nand chip by id in the static table before trying to obtain ONFI parameters. This allows a static table entry to provide valid data for

svn commit: r259373 - stable/10/sys/arm/arm

2013-12-13 Thread Ian Lepore
Author: ian Date: Sat Dec 14 00:57:05 2013 New Revision: 259373 URL: http://svnweb.freebsd.org/changeset/base/259373 Log: MFC r258240: In the data abort handler, don't panic if kdb is available and says it handled the condition. Modified: stable/10/sys/arm/arm/trap.c Directory Prop

svn commit: r259374 - stable/10/sys/arm/ti

2013-12-13 Thread Ian Lepore
Author: ian Date: Sat Dec 14 00:58:13 2013 New Revision: 259374 URL: http://svnweb.freebsd.org/changeset/base/259374 Log: MFC r258356: Bugfixes... the host capabilties from FDT data are stored in host.caps, not host.host_ocr, examine the correct field when setting up the hardware. A

svn commit: r259375 - stable/10/sys/arm/conf

2013-12-13 Thread Ian Lepore
Author: ian Date: Sat Dec 14 00:59:40 2013 New Revision: 259375 URL: http://svnweb.freebsd.org/changeset/base/259375 Log: MFC r258393: Add USB_HOST_ALIGN=64; the cache line size on the am335x is 64 bytes. Modified: stable/10/sys/arm/conf/BEAGLEBONE Directory Properties: stable/10/

svn commit: r259377 - in stable/10/sys/arm: arm at91 econa s3c2xx0 sa11x0 xscale/i80321 xscale/i8134x xscale/ixp425 xscale/pxa

2013-12-13 Thread Ian Lepore
Author: ian Date: Sat Dec 14 01:12:13 2013 New Revision: 259377 URL: http://svnweb.freebsd.org/changeset/base/259377 Log: MFC r258392, r258412: Call cpu_setup() immediately after the page tables are installed. This enables data cache and other chip-specific features. It was previous

svn commit: r259378 - stable/10/sys/arm/at91

2013-12-13 Thread Ian Lepore
Author: ian Date: Sat Dec 14 01:14:38 2013 New Revision: 259378 URL: http://svnweb.freebsd.org/changeset/base/259378 Log: MFC r258820: Add definitions for the PIO pins found on recent AT91 SoCs. Modified: stable/10/sys/arm/at91/at91_pioreg.h Directory Properties: stable/10/ (props change

svn commit: r259379 - in stable/10/sys: arm/at91 dev/nand

2013-12-13 Thread Ian Lepore
01:15:26 2013 (r259379, copy of r258828, head/sys/dev/nand/nfc_at91.c) @@ -0,0 +1,258 @@ +/*- + * Copyright (C) 2013 Ian Lepore. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following

svn commit: r259380 - stable/10/sys/arm/at91

2013-12-13 Thread Ian Lepore
Author: ian Date: Sat Dec 14 01:34:24 2013 New Revision: 259380 URL: http://svnweb.freebsd.org/changeset/base/259380 Log: MFC r259038, r259039: 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

svn commit: r259381 - stable/10/sys/arm/at91

2013-12-13 Thread Ian Lepore
Author: ian Date: Sat Dec 14 01:35:57 2013 New Revision: 259381 URL: http://svnweb.freebsd.org/changeset/base/259381 Log: MFC r259212, r259220: 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 e

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

2013-12-22 Thread Ian Lepore
Author: ian Date: Sun Dec 22 20:40:56 2013 New Revision: 259739 URL: http://svnweb.freebsd.org/changeset/base/259739 Log: Shorten the DMTIMER_ prefix used for register names to DMT_. This is in preparation for adding more complete register defintions, some of which have fairly long names.

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

2013-12-22 Thread Ian Lepore
Author: ian Date: Sun Dec 22 21:35:18 2013 New Revision: 259743 URL: http://svnweb.freebsd.org/changeset/base/259743 Log: Map out all the timer-related registers, and define named constants for the bits within the registers. Modified: head/sys/arm/ti/am335x/am335x_dmtimer.c Modified: head/

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

2013-12-22 Thread Ian Lepore
Author: ian Date: Sun Dec 22 21:44:32 2013 New Revision: 259744 URL: http://svnweb.freebsd.org/changeset/base/259744 Log: A variety of cleanups... - Use named constants for register bits, instead of mystery numebrs scattered around in the code. - Use inline functions for bus space rea

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

2013-12-22 Thread Ian Lepore
Author: ian Date: Sun Dec 22 23:03:29 2013 New Revision: 259750 URL: http://svnweb.freebsd.org/changeset/base/259750 Log: Add PPS support to the am335x timer driver. This uses the timer hardware's capture mode together with the timecounter's PPS polling feature to get very accurate PPS capt

Re: svn commit: r259893 - head/sys/vm

2013-12-25 Thread Ian Lepore
On Wed, 2013-12-25 at 22:32 +, Dimitry Andric wrote: > Author: dim > Date: Wed Dec 25 22:32:34 2013 > New Revision: 259893 > URL: http://svnweb.freebsd.org/changeset/base/259893 > > Log: > In sys/vm/vm_pageout.c, since vm_pageout_worker() takes a void * as > argument, cast the incoming 0 a

svn commit: r255775 - head/include

2013-09-21 Thread Ian Lepore
Author: ian Date: Sat Sep 21 22:36:07 2013 New Revision: 255775 URL: http://svnweb.freebsd.org/changeset/base/255775 Log: Create a separate script to generate osreldate.h rather than sourcing newvers.sh into a temporary subshell with inline make rules. Using a separate script fixes a vari

svn commit: r255796 - head/include

2013-09-22 Thread Ian Lepore
Author: ian Date: Sun Sep 22 19:15:24 2013 New Revision: 255796 URL: http://svnweb.freebsd.org/changeset/base/255796 Log: Launch the shell, passing it the path to the mk-osreldate script, rather than launching the script directly and relying on #! to launch the shell. This avoids problems wh

svn commit: r255807 - head/include

2013-09-22 Thread Ian Lepore
Author: ian Date: Mon Sep 23 00:04:36 2013 New Revision: 255807 URL: http://svnweb.freebsd.org/changeset/base/255807 Log: Launch the bourne shell using "sh" rather than "${SHELL}", as the latter may come in from the environment and reflect the user's interactive shell. Using bare "sh" is the

Re: svn commit: r255775 - head/include

2013-09-23 Thread Ian Lepore
use of '.' to run newvers.sh > combined with newvers.sh using $(basename $0) to determine > the script dir, but I haven't dug through in detail yet. > > Tim > > > > On Sep 21, 2013, at 3:36 PM, Ian Lepore wrote: > > > Author: ian > &g

svn commit: r255930 - in head: include sys/conf

2013-09-28 Thread Ian Lepore
Author: ian Date: Sat Sep 28 16:39:46 2013 New Revision: 255930 URL: http://svnweb.freebsd.org/changeset/base/255930 Log: Allow the path to the system source directory to be passed in to newvers.sh. Pass it in from include/Makefile. If it isn't passed in, fall back to the old logic of usin

svn commit: r255957 - head/include

2013-09-30 Thread Ian Lepore
Author: ian Date: Mon Sep 30 21:01:04 2013 New Revision: 255957 URL: http://svnweb.freebsd.org/changeset/base/255957 Log: Set proper permissions on the generated osreldate.h file; a file readable only by root can cause install problems, especially over nfs. Submitted by: jilles@ Approve

svn commit: r256386 - in stable/9: include sys/conf

2013-10-12 Thread Ian Lepore
Author: ian Date: Sat Oct 12 17:31:21 2013 New Revision: 256386 URL: http://svnweb.freebsd.org/changeset/base/256386 Log: MFC r255775 r255796 r255807 r255930 r255929 r255957: Create a separate script to generate osreldate.h rather than sourcing newvers.sh into a temporary subshell with in

Re: svn commit: r256377 - in head: problems on ARM BEAGLEBONE

2013-10-12 Thread Ian Lepore
On Sat, 2013-10-12 at 12:57 +, Mark Murray wrote: > Author: markm > Date: Sat Oct 12 12:57:57 2013 > New Revision: 256377 > URL: http://svnweb.freebsd.org/changeset/base/256377 > > Log: > Merge from project branch. Uninteresting commits are trimmed. > > [snip] > *** DIFF OUTPUT TRUNCATE

Re: svn commit: r256377 - in head: problems on ARM BEAGLEBONE

2013-10-12 Thread Ian Lepore
On Sun, 2013-10-13 at 01:29 +0100, Mark R V Murray wrote: > On 13 Oct 2013, at 01:07, Ian Lepore wrote: > > It looks like the cause of the problem is that both the dummy and the > > yarrow generators register, dummy first, and so it gets chosen even > > though yarrow is av

Re: svn commit: r256377 - in head: etc/defaults etc/rc.d share/examples/kld/random_adaptor share/man/man4 sys/boot/forth sys/conf sys/dev/glxsb sys/dev/hifn sys/dev/random sys/dev/rndtest sys/dev/safe

2013-10-13 Thread Ian Lepore
On Sun, 2013-10-13 at 16:18 +0100, Mark R V Murray wrote: > On 13 Oct 2013, at 16:13, Konstantin Belousov wrote: > > Surely this works, thank you. The rwfile.c content probably should be > > taken under the #ifdef RANDOM_RWFILE. > > OK - thanks for the feedback! > > > But I do not see much use f

svn commit: r256492 - head/sys/conf

2013-10-14 Thread Ian Lepore
Author: ian Date: Tue Oct 15 03:55:42 2013 New Revision: 256492 URL: http://svnweb.freebsd.org/changeset/base/256492 Log: Add the long-missing spibus_if.m to the MFILES list. Modified: head/sys/conf/kmod.mk Modified: head/sys/conf/kmod.mk =

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

2013-10-16 Thread Ian Lepore
Author: ian Date: Wed Oct 16 14:24:22 2013 New Revision: 256628 URL: http://svnweb.freebsd.org/changeset/base/256628 Log: Fix a register name typo. The effect was that CPU_CONTROL_AFLT_ENABLE wasn't being set, but it was almost assuredly already turned on anyway by the bootloader. Modified

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

2013-10-16 Thread Ian Lepore
Author: ian Date: Wed Oct 16 16:32:35 2013 New Revision: 256637 URL: http://svnweb.freebsd.org/changeset/base/256637 Log: When calculating the number of bounce pages needed, round the maxsize up to a multiple of PAGE_SIZE, and add one page because there can always be one more boundary crossi

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