Re: svn commit: r212374 - head/usr.bin/printf

2010-09-16 Thread Juli Mallett
On Thu, Sep 16, 2010 at 04:36, Bruce Evans wrote: > WHat about the lesser burder on a character or two for putting -- in the > synopsis where it is more visible: > >        printf [--] format [arguments ...] Right, that's what I've been thinking about. For that matter, does printf(1) need to use

svn commit: r212809 - head/sys/mips/cavium/usb

2010-09-17 Thread Juli Mallett
Author: jmallett Date: Sat Sep 18 00:58:44 2010 New Revision: 212809 URL: http://svn.freebsd.org/changeset/base/212809 Log: Fix octusb build. Modified: head/sys/mips/cavium/usb/octusb.c Modified: head/sys/mips/cavium/usb/octusb.c ==

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

2010-09-19 Thread Juli Mallett
Author: jmallett Date: Sun Sep 19 09:18:07 2010 New Revision: 212842 URL: http://svn.freebsd.org/changeset/base/212842 Log: Don't use memory that can't be direct-mapped on !n64. Modified: head/sys/mips/cavium/octeon_machdep.c Modified: head/sys/mips/cavium/octeon_machdep.c ==

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

2010-09-19 Thread Juli Mallett
Author: jmallett Date: Sun Sep 19 09:18:27 2010 New Revision: 212843 URL: http://svn.freebsd.org/changeset/base/212843 Log: Fix to specify generic bus_add_child. Modified: head/sys/mips/cavium/obio.c head/sys/mips/cavium/octopci.c Modified: head/sys/mips/cavium/obio.c =

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

2010-09-19 Thread Juli Mallett
Author: jmallett Date: Sun Sep 19 09:19:38 2010 New Revision: 212844 URL: http://svn.freebsd.org/changeset/base/212844 Log: Add preliminary support for the Lanner MR-955. It boots multi-user but there seem to be problems both with the on-board Ethernet interfaces and the em(4) interfaces on

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

2010-09-23 Thread Juli Mallett
Author: jmallett Date: Fri Sep 24 00:14:24 2010 New Revision: 213089 URL: http://svn.freebsd.org/changeset/base/213089 Log: Flesh out PCI bus support some: o) Reset and configure the bus from scratch rather than expecting U-Boot to do it for us. Values and configuration from Linux, U-Boo

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

2010-09-23 Thread Juli Mallett
Author: jmallett Date: Fri Sep 24 02:41:52 2010 New Revision: 213090 URL: http://svn.freebsd.org/changeset/base/213090 Log: o) Add bus_teardown_intr for pci and ciu. This allows the Promise SATA driver to try to switch interrupt handlers at setup. It's not a very good implementation

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

2010-09-24 Thread Juli Mallett
Author: jmallett Date: Fri Sep 24 21:23:23 2010 New Revision: 213140 URL: http://svn.freebsd.org/changeset/base/213140 Log: Make the vast majority of Simple Executive files standard. Perhaps some of these could be made dependent on either of the octusb or octe options, but making them stand

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

2010-09-24 Thread Juli Mallett
Author: jmallett Date: Sat Sep 25 01:18:01 2010 New Revision: 213150 URL: http://svn.freebsd.org/changeset/base/213150 Log: Handle link updates in a task. Modified: head/sys/mips/cavium/octe/cavium-ethernet.h head/sys/mips/cavium/octe/ethernet-rgmii.c head/sys/mips/cavium/octe/ethernet-sg

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

2010-09-24 Thread Juli Mallett
Author: jmallett Date: Sat Sep 25 04:39:12 2010 New Revision: 213156 URL: http://svn.freebsd.org/changeset/base/213156 Log: o) Send mbufs to BPF listeners from within cvm_oct_xmit(). o) Pin receive threads when they're running since we do access some core-local resources. Modified: hea

svn commit: r213227 - head/sys/conf

2010-09-27 Thread Juli Mallett
Author: jmallett Date: Mon Sep 27 19:45:34 2010 New Revision: 213227 URL: http://svn.freebsd.org/changeset/base/213227 Log: Use a single program header to fix loading 64-bit kernels on old versions of U-Boot. Modified: head/sys/conf/ldscript.mips.octeon1.64 Modified: head/sys/conf/ldscript

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

2010-09-27 Thread Juli Mallett
Author: jmallett Date: Mon Sep 27 20:12:57 2010 New Revision: 213228 URL: http://svn.freebsd.org/changeset/base/213228 Log: o) Program the Lanner MR-320 for 32-bit mode, too. o) Give a virtual address for I/O ports on n64. o) On the Portwell CAM-0100, return the right IRQ for the on-board SA

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

2010-09-27 Thread Juli Mallett
Author: jmallett Date: Mon Sep 27 20:35:40 2010 New Revision: 213230 URL: http://svn.freebsd.org/changeset/base/213230 Log: Give devices lots of time to settle around programming BARs and command registers. Without this, the settings do not seem to stick for Atheros NICs in the PCI slot of

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

2010-10-01 Thread Juli Mallett
Author: jmallett Date: Sat Oct 2 01:24:20 2010 New Revision: 213340 URL: http://svn.freebsd.org/changeset/base/213340 Log: Make the OCTEON1 configuration look like a normal GENERIC configuration. In particular, add PCI and USB buses and most devices. Also move to using ULE, adding INET6,

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

2010-10-01 Thread Juli Mallett
Author: jmallett Date: Sat Oct 2 01:28:18 2010 New Revision: 213341 URL: http://svn.freebsd.org/changeset/base/213341 Log: Remove extra cpu setting and commented-out devices, some of which don't exist. Modified: head/sys/mips/cavium/std.octeon1 Modified: head/sys/mips/cavium/std.octeon1 ===

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

2010-10-01 Thread Juli Mallett
Author: jmallett Date: Sat Oct 2 01:29:09 2010 New Revision: 213342 URL: http://svn.freebsd.org/changeset/base/213342 Log: Use ABI-aware macros for setting up a fake frame. Modified: head/sys/mips/mips/locore.S Modified: head/sys/mips/mips/locore.S ==

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

2010-10-01 Thread Juli Mallett
Author: jmallett Date: Sat Oct 2 05:38:45 2010 New Revision: 213345 URL: http://svn.freebsd.org/changeset/base/213345 Log: Rather than shifting offsets by three, set register offset to 3. All our bus interface does that's special here now is to use a 64-bit register size. In theory, uart(4

svn commit: r213346 - in head/sys: contrib/octeon-sdk mips/cavium mips/cavium/octe

2010-10-01 Thread Juli Mallett
} Added: head/sys/mips/cavium/octe/ethernet-mv88e61xx.c == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/mips/cavium/octe/ethernet-mv88e61xx.c Sat Oct 2 05:43:17 2010 (r213346) @@ -0,0 +1,151 @@ +/*- + *

svn commit: r213762 - in head/sys/mips: cavium cavium/octe conf

2010-10-13 Thread Juli Mallett
1970 (empty, because file is newly added) +++ head/sys/mips/cavium/octe/mv88e61xxphy.cWed Oct 13 09:17:44 2010 (r213762) @@ -0,0 +1,630 @@ +/*- + * Copyright (c) 2010 Juli Mallett + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + *

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

2010-10-13 Thread Juli Mallett
Author: jmallett Date: Wed Oct 13 21:45:56 2010 New Revision: 213807 URL: http://svn.freebsd.org/changeset/base/213807 Log: Keep polling at 50hz as long as link state is changing. Modified: head/sys/mips/cavium/octe/ethernet.c Modified: head/sys/mips/cavium/octe/ethernet.c ==

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

2010-10-27 Thread Juli Mallett
On Wed, Oct 27, 2010 at 14:48, Alexander Best wrote: > On Wed Oct 27 10, Doug Barton wrote: >> What may be a better approach is to confirm the fs' that DO work, list >> them, and then add something to the effect of, "This feature is unlikely >> to work on other file systems." > > i don't think tha

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

2010-11-02 Thread Juli Mallett
Author: jmallett Date: Tue Nov 2 23:43:44 2010 New Revision: 214708 URL: http://svn.freebsd.org/changeset/base/214708 Log: Declare the CF GEOM class so that g_modevent will get called, the class will be recorded, etc. This fixes libgeom on Octeon. Modified: head/sys/mips/cavium/octeon_ebt

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

2010-11-03 Thread Juli Mallett
Author: jmallett Date: Wed Nov 3 23:29:52 2010 New Revision: 214766 URL: http://svn.freebsd.org/changeset/base/214766 Log: Don't attach the PCI bus driver if the board we're being run on has PCIe. The two are mutually-exclusive on Octeon. Modified: head/sys/mips/cavium/octopci.c Modified

Re: svn commit: r214961 - head/usr.bin/yacc

2010-11-07 Thread Juli Mallett
David, On Sun, Nov 7, 2010 at 15:22, David E. O'Brien wrote: > Author: obrien > Date: Sun Nov  7 23:22:42 2010 > New Revision: 214961 > URL: http://svn.freebsd.org/changeset/base/214961 > > Log: >  Directly use memory allocation functions and remove needless casts in >  their usage.  Also use ass

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

2010-11-08 Thread Juli Mallett
Author: jmallett Date: Mon Nov 8 21:22:55 2010 New Revision: 215014 URL: http://svn.freebsd.org/changeset/base/215014 Log: o) Recognize the Lanner MR-730. o) Fix enumeration of PHY addresses on the MR-955. o) Parse link state for the MR-730 using the Broadcom PHY support in the SDK. It

svn commit: r215015 - head/sys/dev/mii

2010-11-08 Thread Juli Mallett
Author: jmallett Date: Mon Nov 8 21:23:28 2010 New Revision: 215015 URL: http://svn.freebsd.org/changeset/base/215015 Log: Recognize the BCM5482S. Modified: head/sys/dev/mii/brgphy.c head/sys/dev/mii/miidevs Modified: head/sys/dev/mii/brgphy.c =

svn commit: r215021 - head/sys/kern

2010-11-08 Thread Juli Mallett
Author: jmallett Date: Mon Nov 8 22:12:25 2010 New Revision: 215021 URL: http://svn.freebsd.org/changeset/base/215021 Log: Use macros rather than inline functions to lock and unlock mutexes, so that line number information is preserved in witness. Reviewed by: jhb Modified: head/sys/

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

2010-11-27 Thread Juli Mallett
Author: jmallett Date: Sat Nov 27 22:42:41 2010 New Revision: 215957 URL: http://svn.freebsd.org/changeset/base/215957 Log: Use if_transmit to avoid ifq locking in transmit path. Modified: head/sys/mips/cavium/octe/octe.c Modified: head/sys/mips/cavium/octe/octe.c ===

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

2010-11-27 Thread Juli Mallett
Author: jmallett Date: Sun Nov 28 00:26:08 2010 New Revision: 215959 URL: http://svn.freebsd.org/changeset/base/215959 Log: Remove unused and broken code to implement POW send and POW-only devices; a separate POW driver makes more sense, generally. Modified: head/sys/mips/cavium/octe/ethern

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

2010-11-27 Thread Juli Mallett
Author: jmallett Date: Sun Nov 28 04:07:45 2010 New Revision: 215971 URL: http://svn.freebsd.org/changeset/base/215971 Log: Set MACHINE_ARCH based on ABI and endianness. Reviewed by: imp Modified: head/sys/mips/include/param.h Modified: head/sys/mips/include/param.h ===

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

2010-11-27 Thread Juli Mallett
Author: jmallett Date: Sun Nov 28 05:57:24 2010 New Revision: 215974 URL: http://svn.freebsd.org/changeset/base/215974 Log: o) Remove some commented out or unimplemented code. o) Remove some options that are configurable on Linux but not FreeBSD. o) Centralize open/poll/stop routines for XAU

svn commit: r215975 - svnadmin/conf

2010-11-27 Thread Juli Mallett
Author: jmallett Date: Sun Nov 28 06:18:58 2010 New Revision: 215975 URL: http://svn.freebsd.org/changeset/base/215975 Log: Raise my limit for Octeon SDK 2.0 import. Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf

svn commit: r215976 - in vendor-sys/octeon-sdk/dist: . cvmx-malloc

2010-11-27 Thread Juli Mallett
Author: jmallett Date: Sun Nov 28 06:20:41 2010 New Revision: 215976 URL: http://svn.freebsd.org/changeset/base/215976 Log: Import Cavium Octeon SDK 2.0 Simple Executive from cnusers.org. Added: vendor-sys/octeon-sdk/dist/cvmx-agl-defs.h vendor-sys/octeon-sdk/dist/cvmx-app-hotplug.c vendo

svn commit: r215977 - vendor-sys/octeon-sdk/2.0.0

2010-11-27 Thread Juli Mallett
Author: jmallett Date: Sun Nov 28 06:24:56 2010 New Revision: 215977 URL: http://svn.freebsd.org/changeset/base/215977 Log: Tag Cavium Octeon SDK 2.0 Simple Executive. Added: vendor-sys/octeon-sdk/2.0.0/ - copied from r215976, vendor-sys/octeon-sdk/dist/ _

svn commit: r215978 - svnadmin/conf

2010-11-27 Thread Juli Mallett
Author: jmallett Date: Sun Nov 28 06:25:17 2010 New Revision: 215978 URL: http://svn.freebsd.org/changeset/base/215978 Log: Back to normal limit. Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf

svn commit: r215988 - head/sys/conf

2010-11-28 Thread Juli Mallett
Author: jmallett Date: Sun Nov 28 08:09:20 2010 New Revision: 215988 URL: http://svn.freebsd.org/changeset/base/215988 Log: Bump up MIPS limits once again; the new Cavium Octeon SDK requires even higher limits. I'd rather disable the warning and keep the limits at a sane level, but for now

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

2010-11-29 Thread Juli Mallett
Author: jmallett Date: Mon Nov 29 21:04:00 2010 New Revision: 216064 URL: http://svn.freebsd.org/changeset/base/216064 Log: Don't free the work queue entry that we're using to hold the scatter-gather list on exit from the transmit path. The scatter-gather list itself can be asynchronously D

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

2010-11-29 Thread Juli Mallett
Author: jmallett Date: Tue Nov 30 01:27:54 2010 New Revision: 216069 URL: http://svn.freebsd.org/changeset/base/216069 Log: Display some Octeon 2 features and a feature for distinguishing between PCIe implementations. Modified: head/sys/mips/cavium/octeon_machdep.c Modified: head/sys/mips/

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

2010-11-29 Thread Juli Mallett
Author: jmallett Date: Tue Nov 30 07:14:05 2010 New Revision: 216071 URL: http://svn.freebsd.org/changeset/base/216071 Log: Run all poll requests through a single function that can either do the generic link state polling or media-specific ones, while avoidiing changing link state on interfa

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

2010-11-30 Thread Juli Mallett
Author: jmallett Date: Wed Dec 1 05:24:29 2010 New Revision: 216092 URL: http://svn.freebsd.org/changeset/base/216092 Log: Add interrupt describing and binding to CIU. Modified: head/sys/mips/cavium/ciu.c Modified: head/sys/mips/cavium/ciu.c =

svn commit: r216476 - in head/sys: contrib/octeon-sdk mips/cavium/octe

2010-12-15 Thread Juli Mallett
Author: jmallett Date: Thu Dec 16 07:20:38 2010 New Revision: 216476 URL: http://svn.freebsd.org/changeset/base/216476 Log: o) Add support for the Lanner MR-321X/MR-325, which is just a modified MR-320. o) On the Lanner MR-730, disable PCIe lane swap, per vendor. Modified: head/sys/contrib/

Re: svn commit: r196435 - head/sys/conf

2009-08-22 Thread Juli Mallett
On Sat, Aug 22, 2009 at 22:45, Doug Barton wrote: > Author: dougb > Date: Sun Aug 23 05:45:38 2009 > New Revision: 196435 > URL: http://svn.freebsd.org/changeset/base/196435 > > Log: >  The svnversion string is only relevant when newvers.sh is called >  during the kernel build process, the other pl

Re: svn commit: r226018 - head/sys/mips/cavium

2011-10-04 Thread Juli Mallett
Thanks! On Tue, Oct 4, 2011 at 10:49, Marcel Moolenaar wrote: > Author: marcel > Date: Tue Oct  4 17:49:19 2011 > New Revision: 226018 > URL: http://svn.freebsd.org/changeset/base/226018 > > Log: >  Partially revert r224661: >  octeon_ap_boot is not a bitmask. It holds the CPU Id of the >  AP cur

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

2010-12-28 Thread Juli Mallett
Author: jmallett Date: Tue Dec 28 20:11:54 2010 New Revision: 216773 URL: http://svn.freebsd.org/changeset/base/216773 Log: When allocating memory from bootmem for the kernel to use, try to leave about 2MB of memory in the bootmem allocator for the SDK to use internally at a later point. I

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

2010-12-31 Thread Juli Mallett
Author: jmallett Date: Sat Jan 1 00:20:14 2011 New Revision: 216862 URL: http://svn.freebsd.org/changeset/base/216862 Log: o) When trying to determine whether the pcpu pointer is a managed address, check not just that it is greater than the minimal kernel virtual address, but also t

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

2011-01-03 Thread Juli Mallett
Author: jmallett Date: Tue Jan 4 02:11:03 2011 New Revision: 216946 URL: http://svn.freebsd.org/changeset/base/216946 Log: o) Unmask Central Interrupt Unit interrupts on APs, too. o) There's no good reason to make the low bits of the ebase the core number. While per-CPU exception bases

svn commit: r216947 - in head/sys/mips: cavium include

2011-01-03 Thread Juli Mallett
/octeon_wdog.c Tue Jan 4 02:11:03 2011 (r216946) +++ head/sys/mips/cavium/octeon_wdog.c Tue Jan 4 02:33:48 2011 (r216947) @@ -1,5 +1,6 @@ /*- * Copyright (c) 2009, Oleksandr Tymoshenko + * Copyright (c) 2010-2011, Juli Mallett * All rights reserved. * * Redistribution and use in

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

2011-01-04 Thread Juli Mallett
Author: jmallett Date: Tue Jan 4 19:09:05 2011 New Revision: 216969 URL: http://svn.freebsd.org/changeset/base/216969 Log: Remove OCTEON1-32. Since moving to the Cavium SDK, we've lost our support for running an o32 kernel safely, and would have to add interrupt disabling and reenabling to

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

2011-01-04 Thread Juli Mallett
Author: jmallett Date: Tue Jan 4 19:32:03 2011 New Revision: 216972 URL: http://svn.freebsd.org/changeset/base/216972 Log: Correct an 8-year-old typo which reliably leads to typo after typo today: The macros here for generating coprocessor 0 accessors are named like: MIPS_RDRW32

Re: svn commit: r216969 - head/sys/mips/conf

2011-01-05 Thread Juli Mallett
On Wed, Jan 5, 2011 at 10:54, Bjoern A. Zeeb wrote: > Thanks for fixing. > > Can anyone look at MALTA64 OCTEON1 SWARM64 SWARM64_SMP and XLR64 as > well?  Those seem to be the last kernels failing on universe now. 64-bit kernels are broken in make universe because we don't simply ignore kernels wi

Re: svn commit: r217123 - in head: . gnu/lib/libgcc gnu/lib/libgomp gnu/usr.bin/binutils gnu/usr.bin/binutils/ld gnu/usr.bin/binutils/libbfd gnu/usr.bin/cc gnu/usr.bin/gdb gnu/usr.bin/gdb/libgdb lib/l

2011-01-07 Thread Juli Mallett
On Fri, Jan 7, 2011 at 12:26, Warner Losh wrote: > --- head/gnu/lib/libgcc/Makefile        Fri Jan  7 20:07:30 2011         > (r217122) > +++ head/gnu/lib/libgcc/Makefile        Fri Jan  7 20:26:33 2011         > (r217123) > @@ -119,9 +119,10 @@ LIB2FUNCS_EXTRA = floatunsidf.c floatuns >  #      _

Re: svn commit: r217147 - in head/sys: amd64/include arm/include i386/include ia64/include mips/include powerpc/include sparc64/include sun4v/include

2011-01-08 Thread Juli Mallett
On Sat, Jan 8, 2011 at 04:43, Tijl Coosemans wrote: > Author: tijl > Date: Sat Jan  8 12:43:05 2011 > New Revision: 217147 > URL: http://svn.freebsd.org/changeset/base/217147 > > Log: >  On mixed 32/64 bit architectures (mips, powerpc) use __LP64__ rather than >  architecture macros (__mips_n64, _

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

2011-01-09 Thread Juli Mallett
Author: jmallett Date: Sun Jan 9 23:05:46 2011 New Revision: 217210 URL: http://svn.freebsd.org/changeset/base/217210 Log: o) Remove some unused local definitions of IP protocol numbers. o) Use CPU_FOREACH rather than a miscrafted for loop with an off-by-one to enable workq interrupts on

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

2011-01-09 Thread Juli Mallett
Author: jmallett Date: Sun Jan 9 23:46:24 2011 New Revision: 217212 URL: http://svn.freebsd.org/changeset/base/217212 Log: Now that we correctly enable rx interrupts on all cores, performance has gotten quite awful, because e.g. 4 packets will come in and get processed on 4 different cores

svn commit: r217214 - in head/sys: contrib/octeon-sdk mips/cavium mips/conf

2011-01-09 Thread Juli Mallett
ips/cavium/if_octm.c == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/mips/cavium/if_octm.c Mon Jan 10 03:48:41 2011 (r217214) @@ -0,0 +1,519 @@ +/*- + * Copyright (c) 2010-2

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

2011-01-09 Thread Juli Mallett
Author: jmallett Date: Mon Jan 10 06:46:18 2011 New Revision: 217222 URL: http://svn.freebsd.org/changeset/base/217222 Log: o) Free mbufs in error cases. o) Clear/acknowledge receive interrupt at end of thread. This gives the management interfaces performance on the order of 100Mbps rath

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

2011-01-10 Thread Juli Mallett
Author: jmallett Date: Mon Jan 10 22:14:08 2011 New Revision: 217243 URL: http://svn.freebsd.org/changeset/base/217243 Log: Shorten device name so it fits into vmstat -i. Modified: head/sys/mips/cavium/octeon_wdog.c Modified: head/sys/mips/cavium/octeon_wdog.c ===

svn commit: r217244 - in head/sys/mips/cavium: . octe

2011-01-10 Thread Juli Mallett
Author: jmallett Date: Mon Jan 10 22:14:30 2011 New Revision: 217244 URL: http://svn.freebsd.org/changeset/base/217244 Log: Count output bytes and packets. Modified: head/sys/mips/cavium/if_octm.c head/sys/mips/cavium/octe/ethernet-tx.c Modified: head/sys/mips/cavium/if_octm.c

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

2011-01-10 Thread Juli Mallett
== --- head/sys/mips/cavium/octopci.c Tue Jan 11 01:57:02 2011 (r217253) +++ head/sys/mips/cavium/octopci.c Tue Jan 11 02:37:58 2011 (r217254) @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2010 Juli Mallett + * Copyright

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

2011-01-18 Thread Juli Mallett
Author: jmallett Date: Wed Jan 19 07:06:28 2011 New Revision: 217573 URL: http://svn.freebsd.org/changeset/base/217573 Log: Don't do a device_identify to add uart0, it's already hinted. Reported by: imp Modified: head/sys/mips/cavium/uart_bus_octeonusart.c Modified: head/sys/mips/caviu

svn commit: r217607 - head/sys/mips/rmi

2011-01-19 Thread Juli Mallett
Author: jmallett Date: Wed Jan 19 21:45:40 2011 New Revision: 217607 URL: http://svn.freebsd.org/changeset/base/217607 Log: Fix format of physical addresses; this fixes the n32 build. Modified: head/sys/mips/rmi/xlr_machdep.c Modified: head/sys/mips/rmi/xlr_machdep.c

svn commit: r217612 - head/sys/conf

2011-01-19 Thread Juli Mallett
Author: jmallett Date: Wed Jan 19 22:15:12 2011 New Revision: 217612 URL: http://svn.freebsd.org/changeset/base/217612 Log: The output format should be determined by the ABI flags, not the ldscript. This ldscript is used with both little-endian and big-endian targets. This hopefully fixes

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

2011-01-20 Thread Juli Mallett
Author: jmallett Date: Thu Jan 20 23:34:59 2011 New Revision: 217664 URL: http://svn.freebsd.org/changeset/base/217664 Log: Remove some compile-time options from the driver, particularly async IOBDMA support which is unused on FreeBSD and which complicates working on the code now, can easily

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

2011-01-20 Thread Juli Mallett
Author: jmallett Date: Thu Jan 20 23:51:03 2011 New Revision: 217665 URL: http://svn.freebsd.org/changeset/base/217665 Log: If there is no WQE available for a packet that needs segmentation, drop it and return. Modified: head/sys/mips/cavium/octe/ethernet-tx.c Modified: head/sys/mips/caviu

Re: svn commit: r218195 - in head/sys: amd64/amd64 arm/arm i386/i386 ia64/ia64 kern mips/mips powerpc/powerpc sparc64/sparc64 sun4v/sun4v sys ufs/ffs

2011-02-02 Thread Juli Mallett
On Wed, Feb 2, 2011 at 08:35, Matthew D Fleming wrote: > Author: mdf > Date: Wed Feb  2 16:35:10 2011 > New Revision: 218195 > URL: http://svn.freebsd.org/changeset/base/218195 > > Log: >  Put the general logic for being a CPU hog into a new function >  should_yield().  Use this in various places.

Re: svn commit: r218232 - head/sys/netinet

2011-02-03 Thread Juli Mallett
On Thu, Feb 3, 2011 at 12:29, John Baldwin wrote: >>               ip = mtod(m, struct ip *); >>               offset = off + sizeof(*sh); >>               if (SCTP_BUF_LEN(m) < offset) { >> @@ -5944,7 +5947,7 @@ sctp_input(struct mbuf *m, int off) >>                       ip = mtod(m, struct ip *

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

2011-02-06 Thread Juli Mallett
Author: jmallett Date: Sun Feb 6 22:21:18 2011 New Revision: 218383 URL: http://svn.freebsd.org/changeset/base/218383 Log: o) Cavium Octeon doesn't need nop barriers. o) Have mips_wblush just do syncw, not sync on Cavium Octeon. o) Add support for reading and writing some Octeon-specific re

svn commit: r218584 - head/sys/kern

2011-02-11 Thread Juli Mallett
Author: jmallett Date: Fri Feb 11 22:43:10 2011 New Revision: 218584 URL: http://svn.freebsd.org/changeset/base/218584 Log: With smp_topo_none, set cg_mask to all_cpus rather than setting the mp_ncpus low bits. Submitted by: Bhanu Prakash Reviewed by: jeffr Modified: head/sys/kern/s

svn commit: r218591 - in head/sys/mips: cavium include mips rmi sibyte

2011-02-11 Thread Juli Mallett
Author: jmallett Date: Sat Feb 12 02:08:24 2011 New Revision: 218591 URL: http://svn.freebsd.org/changeset/base/218591 Log: Allow the platform code to return a bitmask of running cores rather than just a number of cores, this allows for a sparse set of CPUs. Implement support for sparse cor

svn commit: r218592 - head/sys/vm

2011-02-11 Thread Juli Mallett
Author: jmallett Date: Sat Feb 12 02:10:08 2011 New Revision: 218592 URL: http://svn.freebsd.org/changeset/base/218592 Log: Use CPU_FOREACH rather than expecting CPUs 0 through mp_ncpus-1 to be present. Don't micro-optimize the uniprocessor case; use the same loop there. Submitted by: Bha

svn commit: r218594 - in head/sys/mips/cavium: . octe

2011-02-11 Thread Juli Mallett
Author: jmallett Date: Sat Feb 12 02:41:33 2011 New Revision: 218594 URL: http://svn.freebsd.org/changeset/base/218594 Log: The Lanner MR-730 uses the first two MACs at its MAC base for the 10/100 management ports, and gigabit ports start at an offset of 2 from the MAC base. Modified: hea

Re: svn commit: r218650 - head/games/fortune/datfiles

2011-02-19 Thread Juli Mallett
On Sat, Feb 19, 2011 at 11:29, Bruce Cran wrote: > On Saturday 19 February 2011 17:25:32 Carlos A. M. dos Santos wrote: > >> Did anybody complain about this? If not, would you mid either revert >> this commit or just go ahead and move all "potentially" offensive >> jokes to fortunes-o? Anything fr

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

2011-03-16 Thread Juli Mallett
Author: jmallett Date: Wed Mar 16 08:22:29 2011 New Revision: 219693 URL: http://svn.freebsd.org/changeset/base/219693 Log: o) Properly size caches and TLB on Octeon. o) Make COP0_SYNC do nothing on Octeon, which is fully interlocked. Submitted by: Bhanu Prakash (with modifications) Modi

svn commit: r219694 - in head/sys: contrib/octeon-sdk mips/cavium/octe

2011-03-16 Thread Juli Mallett
Author: jmallett Date: Wed Mar 16 08:51:36 2011 New Revision: 219694 URL: http://svn.freebsd.org/changeset/base/219694 Log: o) Clean up FPA pools on module unload. o) Allocate output buffer pool based on available output queues. Submitted by: Bhanu Prakash (with modifications) Modified:

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

2011-03-16 Thread Juli Mallett
Author: jmallett Date: Wed Mar 16 08:56:22 2011 New Revision: 219695 URL: http://svn.freebsd.org/changeset/base/219695 Log: o) Tear down receive interrupt on detach. Submitted by: Bhanu Prakash Modified: head/sys/mips/cavium/octe/ethernet-common.h head/sys/mips/cavium/octe/ethernet.c

svn commit: r219706 - in head/sys/mips/cavium: . octe

2011-03-16 Thread Juli Mallett
Author: jmallett Date: Wed Mar 16 22:51:34 2011 New Revision: 219706 URL: http://svn.freebsd.org/changeset/base/219706 Log: o) Set MAC addresses starting at the MAC base for all management ports, not just the MR-730. o) Start MAC addresses for the non-management ports after the management

Re: svn commit: r219753 - head/sys/dev/e1000

2011-03-18 Thread Juli Mallett
On Fri, Mar 18, 2011 at 11:54, Jack F Vogel wrote: > Author: jfv > Date: Fri Mar 18 18:54:00 2011 > New Revision: 219753 > URL: http://svn.freebsd.org/changeset/base/219753 > > Log: >  This delta updates the em driver to version 7.2.2 which has >  been undergoing test for some weeks. This improves

svn commit: r219899 - head/sbin/dumpfs

2011-03-23 Thread Juli Mallett
Author: jmallett Date: Wed Mar 23 08:33:12 2011 New Revision: 219899 URL: http://svn.freebsd.org/changeset/base/219899 Log: Add support for displaying newfs flags for SU+J and TRIM. Modified: head/sbin/dumpfs/dumpfs.c Modified: head/sbin/dumpfs/dumpfs.c ==

Re: svn commit: r220260 - head/sys/mips/atheros

2011-04-01 Thread Juli Mallett
On Fri, Apr 1, 2011 at 20:48, Adrian Chadd wrote: > Author: adrian > Date: Sat Apr  2 03:48:15 2011 > New Revision: 220260 > URL: http://svn.freebsd.org/changeset/base/220260 > > Log: >  A handful of the openwrt devices use a MAC address that's at a hard-coded >  offset in the flash. > >  Some dev

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

2011-04-06 Thread Juli Mallett
On Wed, Apr 6, 2011 at 14:04, Alexander Best wrote: > On Wed Apr  6 11, Ulrich Spoerlein wrote: >> Author: uqs >> Date: Wed Apr  6 20:08:23 2011 >> New Revision: 220401 >> URL: http://svn.freebsd.org/changeset/base/220401 >> >> Log: >>   Complete WITHOUT_CXX support. It implies WITHOUT_GROFF and >

svn commit: r190233 - head/sys/netinet

2009-03-21 Thread Juli Mallett
Author: jmallett Date: Sun Mar 22 00:45:47 2009 New Revision: 190233 URL: http://svn.freebsd.org/changeset/base/190233 Log: Remove local in6_addr variables for local and foreign addresses in sysctl_drop, they were passed uninitialized to in6_pcblookup_hash. Instead, do as is done for IPv4

svn commit: r190346 - head/sys/dev/iwn

2009-03-23 Thread Juli Mallett
Author: jmallett Date: Tue Mar 24 00:08:58 2009 New Revision: 190346 URL: http://svn.freebsd.org/changeset/base/190346 Log: Remove gratuitous unlock in error case. Reviewed by: sam Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c =

svn commit: r190458 - head/sys/dev/wpi

2009-03-26 Thread Juli Mallett
Author: jmallett Date: Fri Mar 27 03:17:25 2009 New Revision: 190458 URL: http://svn.freebsd.org/changeset/base/190458 Log: o) Check that no overrun or CRC errors were encountered in receiving a packet. Linux, OpenBSD and our iwn(4) all do this. It also results in a huge performance

svn commit: r190462 - head/sys/dev/wpi

2009-03-26 Thread Juli Mallett
Author: jmallett Date: Fri Mar 27 05:44:53 2009 New Revision: 190462 URL: http://svn.freebsd.org/changeset/base/190462 Log: Put the "%d retries" debug message in the transmit path behind WPI_DEBUG_TX rather than behind a seemingly accidental constant likely left over from one of the related

Re: svn commit: r191197 - head/share/misc

2009-04-17 Thread Juli Mallett
On Fri, Apr 17, 2009 at 1:01 AM, Kevin Lo wrote: > Log: > Change Taiwan, Province of China to Taiwan, Republic of China > > Modified: > head/share/misc/iso3166 Do you have a source for this change? The ISO sites I've checked don't support it. For example: http://www.iso.org/iso/iso-3166-1_de

Re: svn commit: r191197 - head/share/misc

2009-04-17 Thread Juli Mallett
On Fri, Apr 17, 2009 at 2:10 AM, Kevin Lo wrote: > Juli Mallett wrote: >> On Fri, Apr 17, 2009 at 1:01 AM, Kevin Lo wrote: >> > Log: >> > Change Taiwan, Province of China to Taiwan, Republic of China >> > >> > Modified: >> > head/share/m

Re: svn commit: r191898 - head/sys/compat/linux

2009-05-07 Thread Juli Mallett
Worth remembering: the difference is not just that their sizes may (often do) differ. size_t is unsigned. ssize_t is signed. An unqualified int is signed. On Thu, May 7, 2009 at 12:46 PM, Jamie Gritton wrote: > Author: jamie > Date: Thu May  7 19:46:29 2009 > New Revision: 191898 > URL: http:/

Re: svn commit: r252913 - head/sys/arm/ti/am335x

2013-07-06 Thread Juli Mallett
Thanks for this and the other commits, Oleksandr! Much appreciated. Looking forward to giving it a spin on my BeagleBones Black! On Sat, Jul 6, 2013 at 9:22 PM, Oleksandr Tymoshenko wrote: > Author: gonzo > Date: Sun Jul 7 04:22:08 2013 > New Revision: 252913 > URL: http://svnweb.freebsd.org/ch

Re: svn commit: r253662 - in head: lib/libc/gen sys/vm tools/tools/sysdoc

2013-07-26 Thread Juli Mallett
On Fri, Jul 26, 2013 at 2:26 PM, Andrey Zonov wrote: > On 7/26/13 8:09 AM, Jilles Tjoelker wrote: > > On Fri, Jul 26, 2013 at 02:00:07AM +, Andrey Zonov wrote: > >> Author: zont > >> Date: Fri Jul 26 02:00:06 2013 > >> New Revision: 253662 > >> URL: http://svnweb.freebsd.org/changeset/base/25

Re: svn commit: r249355 - head/lib/libkvm

2013-04-11 Thread Juli Mallett
On Thu, Apr 11, 2013 at 11:00 AM, Gleb Smirnoff wrote: > Bruce, > > On Thu, Apr 11, 2013 at 09:07:25PM +1000, Bruce Evans wrote: > B> Just routine avoidance of namespace pollution. This is easy in such a > B> simple header. > > Sorry, with all respect, but I can't call including sys/types.h > a

Re: svn commit: r249484 - head/lib

2013-04-16 Thread Juli Mallett
On Tue, Apr 16, 2013 at 11:00 PM, Tim Kientzle wrote: > > On Apr 16, 2013, at 6:41 AM, Tijl Coosemans wrote: > >> On 2013-04-14 21:13, Tim Kientzle wrote: >>> Author: kientzle >>> Date: Sun Apr 14 19:13:51 2013 >>> New Revision: 249484 >>> URL: http://svnweb.freebsd.org/changeset/base/249484 >>> >

Re: svn commit: r249484 - head/lib

2013-04-17 Thread Juli Mallett
On Tue, Apr 16, 2013 at 11:26 PM, Tim Kientzle wrote: > > On Apr 16, 2013, at 11:06 PM, Juli Mallett wrote: >> If you're doing a freestanding compile...shouldn't you also be >> specifying both include and library paths explicitly? > > Yes, of course. But t

Re: svn commit: r249790 - in head/sys/mips: include mips

2013-04-23 Thread Juli Mallett
On Tue, Apr 23, 2013 at 2:38 AM, Warner Losh wrote: > Modified: head/sys/mips/include/frame.h > == > --- head/sys/mips/include/frame.h Tue Apr 23 06:37:50 2013 > (r249789) > +++ head/sys/mips/include/frame.h

Re: svn commit: r249790 - in head/sys/mips: include mips

2013-04-23 Thread Juli Mallett
Also: the comment says that the trapframe layout must match regnum.h — I don't think that's really true. Why can't we just store things in the trapframe in whatever order we want? Why do they need to match the register numbers. More worrying, however, is that looking at regnum.h brought to my at

Re: svn commit: r254286 - head/sys/fs/ext2fs

2013-08-14 Thread Juli Mallett
On Wed, Aug 14, 2013 at 12:11 AM, Dimitry Andric wrote: > This still fails on arches where int64_t is aliased to long long > (basically, the 32-bit arches). Since using PRId64 is apparently > frowned upon, the easiest solution is to cast the 'start' and 'last' > variables to long long, and print

Re: svn commit: r254419 - head/contrib/bmake

2013-08-16 Thread Juli Mallett
On Fri, Aug 16, 2013 at 11:47 AM, Simon J. Gerraty wrote: > Author: sjg > Date: Fri Aug 16 18:47:18 2013 > New Revision: 254419 > URL: http://svnweb.freebsd.org/changeset/base/254419 > > Log: > Add .MAKE.ALWAYS_PASS_JOB_QUEUE knob (default yes) > for backwards compatability. > Thanks very mu

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

2013-04-30 Thread Juli Mallett
Warner, May I ask why you're bringing in the 4.4BSD version and not the NetBSD version, which already contained the appropriate ABI gunk? Do we really need to duplicate their work improving the file since 4.4BSD? Thanks, Juli. On Tue, Apr 30, 2013 at 10:46 PM, Warner Losh wrote: > Author: imp

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

2013-05-09 Thread Juli Mallett
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 support for the ds1337 opt-out rather than opt-in. Now my boards > boot with the corre

Re: svn commit: r250431 - head/usr.bin/xargs

2013-05-10 Thread Juli Mallett
Eitan, Are other changes coming to xargs for which these style changes make sense? If not, I'd say that style changes which only adjust vertical whitespace, especially those which mostly add vertical whitespace at the start of functions with no local variables (which is one of the most archaic an

Re: svn commit: r250940 - head/sys/mips/mips

2013-05-23 Thread Juli Mallett
Thanks very much, Marcel, and everyone involved at Juniper! On Thu, May 23, 2013 at 12:47 PM, Marcel Moolenaar wrote: > Author: marcel > Date: Thu May 23 19:47:37 2013 > New Revision: 250940 > URL: http://svnweb.freebsd.org/changeset/base/250940 > > Log: > Change the copyright notice to a stand

  1   2   3   4   >