Re: svn commit: r199621 - head

2009-11-22 Thread Doug Barton
M. Warner Losh wrote: > We should have some general language at the end of UPDATING that can > be invoked for these things. In general, when structure sizes change, > you have to do a fresh, from scratch build. We shouldn't have to > repeat it each time we do one. I have no objection to you maki

Re: svn commit: r199621 - head

2009-11-22 Thread M. Warner Losh
In message: <200911210143.nal1hmx3062...@svn.freebsd.org> Doug Barton writes: : Author: dougb : Date: Sat Nov 21 01:43:22 2009 : New Revision: 199621 : URL: http://svn.freebsd.org/changeset/base/199621 : : Log: : Add a note that wpa_supplicant(8) may require a full world build to :

svn commit: r199685 - stable/6/sys/kern

2009-11-22 Thread Ed Maste
Author: emaste Date: Mon Nov 23 01:23:03 2009 New Revision: 199685 URL: http://svn.freebsd.org/changeset/base/199685 Log: MFC r199209: Fix a potential buffer boundaries overflow in devclass_add_device() by using all available int lenghts digits for storing the information. Modified: s

Re: svn commit: r199670 - head/sys/dev/bge

2009-11-22 Thread Joerg Sonnenberger
On Sun, Nov 22, 2009 at 08:50:27PM +, Pyun YongHyeon wrote: > Log: > Fix two long standing bugs on bge(4). Most pre BCM5755 controllers > have a DMA bug when buffer address crosses a multiple of the 4GB > boundary(e.g. 4GB, 8GB, 12GB etc). Does this only affect transfers that *cross* a 4

svn commit: r199684 - stable/7/usr.bin/kdump

2009-11-22 Thread Attilio Rao
Author: attilio Date: Sun Nov 22 23:54:19 2009 New Revision: 199684 URL: http://svn.freebsd.org/changeset/base/199684 Log: MFC r199024: Use a safety belt for cases where corrupted narg can be passed to the ktrsyscall(). Modified: stable/7/usr.bin/kdump/kdump.c Directory Properties: stab

svn commit: r199683 - stable/7/sys/kern

2009-11-22 Thread Attilio Rao
Author: attilio Date: Sun Nov 22 23:51:51 2009 New Revision: 199683 URL: http://svn.freebsd.org/changeset/base/199683 Log: MFC r199209: Fix a potential buffer boundaries overflow in devclass_add_device() by using all available int lenghts digits for storing the information. Modified: stab

Re: svn commit: r199670 - head/sys/dev/bge

2009-11-22 Thread Scott Long
By definition, PCIe can't transfer across 4GB boundaries. It's not a bug specific to Broadcom. If you're loading dynamic buffers (i.e. mbufs), setting an appropriate boundary value in the tag will allow busdma to take care of this. If you're allocating static buffers, busdma won't honor

svn commit: r199682 - stable/7/sys/fs/fifofs

2009-11-22 Thread Attilio Rao
Author: attilio Date: Sun Nov 22 23:46:44 2009 New Revision: 199682 URL: http://svn.freebsd.org/changeset/base/199682 Log: MFC r199007: Fix a memory leak. Modified: stable/7/sys/fs/fifofs/fifo_vnops.c Directory Properties: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (prop

Re: svn commit: r199649 - stable/8/sys/kern

2009-11-22 Thread Oliver Pinter
and this too for 7-STABLE On 11/22/09, Attilio Rao wrote: > Author: attilio > Date: Sun Nov 22 15:53:39 2009 > New Revision: 199649 > URL: http://svn.freebsd.org/changeset/base/199649 > > Log: > MFC r199209: > Fix a potential buffer boundaries overflow in devclass_add_device() by > using al

Re: svn commit: r199652 - stable/8/sys/fs/fifofs

2009-11-22 Thread Oliver Pinter
this for 7-STABLE? On 11/22/09, Attilio Rao wrote: > Author: attilio > Date: Sun Nov 22 16:09:27 2009 > New Revision: 199652 > URL: http://svn.freebsd.org/changeset/base/199652 > > Log: > MFC r199007: > Fix a memory leak. > > Modified: > stable/8/sys/fs/fifofs/fifo_vnops.c > Directory Prope

svn commit: r199680 - head/sys/dev/usb/input

2009-11-22 Thread Andrew Thompson
Author: thompsa Date: Sun Nov 22 21:53:09 2009 New Revision: 199680 URL: http://svn.freebsd.org/changeset/base/199680 Log: Make the mode setting transfer asynchronous. Submitted by: Rohit Grover Modified: head/sys/dev/usb/input/atp.c Modified: head/sys/dev/usb/input/atp.c ==

svn commit: r199679 - head/sys/dev/bge

2009-11-22 Thread Pyun YongHyeon
Author: yongari Date: Sun Nov 22 21:45:55 2009 New Revision: 199679 URL: http://svn.freebsd.org/changeset/base/199679 Log: Reduce status block size DMAed by controller. bge(4) uses single Tx/Rx/Rx return ring such that large part of status block was not used at all. All bge(4) controllers ex

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

2009-11-22 Thread Andrew Thompson
Author: thompsa Date: Sun Nov 22 21:31:31 2009 New Revision: 199678 URL: http://svn.freebsd.org/changeset/base/199678 Log: Add missed register change in r199676. Submitted by: Hans Petter Selasky Modified: head/sys/dev/usb/controller/musb_otg.h Modified: head/sys/dev/usb/controller/musb

svn commit: r199677 - head/sys/dev/sound/usb

2009-11-22 Thread Andrew Thompson
Author: thompsa Date: Sun Nov 22 21:26:27 2009 New Revision: 199677 URL: http://svn.freebsd.org/changeset/base/199677 Log: add support for MIDI devices without audio control stream. Submitted by: Hans Petter Selasky Modified: head/sys/dev/sound/usb/uaudio.c Modified: head/sys/dev/sound/

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

2009-11-22 Thread Andrew Thompson
Author: thompsa Date: Sun Nov 22 21:24:38 2009 New Revision: 199676 URL: http://svn.freebsd.org/changeset/base/199676 Log: Correct register access for USB device side operation on the musb controller. Submitted by: Hans Petter Selasky Modified: head/sys/dev/usb/controller/musb_otg.c Mod

svn commit: r199675 - in head/sys/dev/usb: . controller input storage

2009-11-22 Thread Andrew Thompson
Author: thompsa Date: Sun Nov 22 21:21:22 2009 New Revision: 199675 URL: http://svn.freebsd.org/changeset/base/199675 Log: Provide tunables for some of the usb sysctls that affect boot behaviour. Submitted by: Andriy Gapon Modified: head/sys/dev/usb/controller/ehci.c head/sys/dev/usb/c

svn commit: r199674 - head/sys/dev/bge

2009-11-22 Thread Pyun YongHyeon
Author: yongari Date: Sun Nov 22 21:20:26 2009 New Revision: 199674 URL: http://svn.freebsd.org/changeset/base/199674 Log: Add missing function prototype in r199671. Modified: head/sys/dev/bge/if_bge.c Modified: head/sys/dev/bge/if_bge.c ==

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

2009-11-22 Thread Andrew Thompson
Author: thompsa Date: Sun Nov 22 21:19:01 2009 New Revision: 199673 URL: http://svn.freebsd.org/changeset/base/199673 Log: Initialise variable before use. Submitted by: Hans Petter Selasky Modified: head/sys/dev/usb/controller/at91dci.c head/sys/dev/usb/controller/atmegadci.c head/sy

svn commit: r199672 - in head/sys/dev/usb: . controller

2009-11-22 Thread Andrew Thompson
Author: thompsa Date: Sun Nov 22 21:16:43 2009 New Revision: 199672 URL: http://svn.freebsd.org/changeset/base/199672 Log: Improve High Speed slot allocation mechanism by moving the computation to the endpoint rather than per xfer and provide functions around get/free of resources. Submi

svn commit: r199671 - head/sys/dev/bge

2009-11-22 Thread Pyun YongHyeon
Author: yongari Date: Sun Nov 22 21:16:30 2009 New Revision: 199671 URL: http://svn.freebsd.org/changeset/base/199671 Log: Implement TSO for BCM5755 or newer controllers. Some controllers seem to require a special firmware to use TSO. But the firmware is not available to FreeBSD and Linux cl

svn commit: r199670 - head/sys/dev/bge

2009-11-22 Thread Pyun YongHyeon
Author: yongari Date: Sun Nov 22 20:50:27 2009 New Revision: 199670 URL: http://svn.freebsd.org/changeset/base/199670 Log: Fix two long standing bugs on bge(4). Most pre BCM5755 controllers have a DMA bug when buffer address crosses a multiple of the 4GB boundary(e.g. 4GB, 8GB, 12GB etc). Li

svn commit: r199669 - head/sys/powerpc/aim

2009-11-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Nov 22 20:45:15 2009 New Revision: 199669 URL: http://svn.freebsd.org/changeset/base/199669 Log: Garbage collect some code that was never compiled in to handle Altivec during traps. It predates actual Altivec support and was never used. Modified: head/sys/powerp

svn commit: r199668 - head/sys/dev/bge

2009-11-22 Thread Pyun YongHyeon
Author: yongari Date: Sun Nov 22 20:31:40 2009 New Revision: 199668 URL: http://svn.freebsd.org/changeset/base/199668 Log: For MSI case, interrupt is not shared and we don't need to force PCI flush to get correct status block update. Add an optimized interrupt handler that is activated for M

svn commit: r199667 - head/sys/dev/bge

2009-11-22 Thread Pyun YongHyeon
Author: yongari Date: Sun Nov 22 20:02:13 2009 New Revision: 199667 URL: http://svn.freebsd.org/changeset/base/199667 Log: Cache Rx producer/Tx consumer index as soon as we know status block update and then clear status block. Previously it used to access these index without synchronization

svn commit: r199666 - head/sys/dev/bge

2009-11-22 Thread Pyun YongHyeon
Author: yongari Date: Sun Nov 22 19:44:11 2009 New Revision: 199666 URL: http://svn.freebsd.org/changeset/base/199666 Log: Rearrange bge_start_locked to see we can send more frames by checking IFF_DRV_RUNNING and IFF_DRV_OACTIVE flags. Also if we have less than 16 free send BDs set IFF_DRV_O

svn commit: r199665 - head/sys/dev/bge

2009-11-22 Thread Pyun YongHyeon
Author: yongari Date: Sun Nov 22 19:17:32 2009 New Revision: 199665 URL: http://svn.freebsd.org/changeset/base/199665 Log: Controller does not write Rx descriptors, remove BUS_DMASYNC_PREREAD. Modified: head/sys/dev/bge/if_bge.c Modified: head/sys/dev/bge/if_bge.c ===

svn commit: r199664 - head/sys/dev/bge

2009-11-22 Thread Pyun YongHyeon
Author: yongari Date: Sun Nov 22 19:11:34 2009 New Revision: 199664 URL: http://svn.freebsd.org/changeset/base/199664 Log: Use capability pointer to access PCIe registers rather than directly access them at fixed address. While I'm here don't touch other bits of PCIe device control register

svn commit: r199663 - head/sys/dev/bge

2009-11-22 Thread Pyun YongHyeon
Author: yongari Date: Sun Nov 22 18:47:56 2009 New Revision: 199663 URL: http://svn.freebsd.org/changeset/base/199663 Log: Due to newly added PCIe capabilities fallback code for finding the PCIe capability did not work right on recent controllers. Remove FreeBSD 6.x support code. Review

svn commit: r199662 - head/sys/dev/bge

2009-11-22 Thread Pyun YongHyeon
Author: yongari Date: Sun Nov 22 18:34:15 2009 New Revision: 199662 URL: http://svn.freebsd.org/changeset/base/199662 Log: Fix typo introduced in r199011. Pointed out by: marius Modified: head/sys/dev/bge/if_bge.c Modified: head/sys/dev/bge/if_bge.c ===

svn commit: r199661 - head/sys/dev/bge

2009-11-22 Thread Pyun YongHyeon
Author: yongari Date: Sun Nov 22 18:30:19 2009 New Revision: 199661 URL: http://svn.freebsd.org/changeset/base/199661 Log: Remove extra white space. Modified: head/sys/dev/bge/if_bge.c head/sys/dev/bge/if_bgereg.h Modified: head/sys/dev/bge/if_bge.c

svn commit: r199660 - head/bin/sh

2009-11-22 Thread Jilles Tjoelker
Author: jilles Date: Sun Nov 22 18:23:30 2009 New Revision: 199660 URL: http://svn.freebsd.org/changeset/base/199660 Log: Fix various things about SIGINT handling: * exception handlers are now run with interrupts disabled, which avoids many race conditions * fix some cases where SIGINT o

svn commit: r199659 - stable/8/share/timedef

2009-11-22 Thread Hajimu UMEMOTO
Author: ume Date: Sun Nov 22 17:25:11 2009 New Revision: 199659 URL: http://svn.freebsd.org/changeset/base/199659 Log: MFC r199179, r199271: - Add unit to the short month names for Japanese locales. Without unit, the output of the application like ls(1) is complicated. - Since %b con

svn commit: r199658 - stable/8/usr.bin/systat

2009-11-22 Thread Hajimu UMEMOTO
Author: ume Date: Sun Nov 22 17:16:37 2009 New Revision: 199658 URL: http://svn.freebsd.org/changeset/base/199658 Log: MFC r199242: Use ncursesw to output the date field of vmstat display with multi-byte string, correctly. Modified: stable/8/usr.bin/systat/Makefile stable/8/usr.bin/systat

svn commit: r199657 - stable/8/lib/libc/nls

2009-11-22 Thread Hajimu UMEMOTO
Author: ume Date: Sun Nov 22 17:08:52 2009 New Revision: 199657 URL: http://svn.freebsd.org/changeset/base/199657 Log: MFC r199092: Add gai_strerror() catalog for ja_JP.UTF-8 and ja_JP.eucJP. Modified: stable/8/lib/libc/nls/ja_JP.UTF-8.msg stable/8/lib/libc/nls/ja_JP.eucJP.msg Directory P

svn commit: r199656 - in stable/8/lib/libc: net nls

2009-11-22 Thread Hajimu UMEMOTO
Author: ume Date: Sun Nov 22 17:05:46 2009 New Revision: 199656 URL: http://svn.freebsd.org/changeset/base/199656 Log: MFC r199083: Add NLS catalogs support to gai_strerror(3). Controlled by NLS define. Modified: stable/8/lib/libc/net/gai_strerror.c stable/8/lib/libc/nls/C.msg Directory P

svn commit: r199655 - head/usr.bin/w

2009-11-22 Thread Hajimu UMEMOTO
Author: ume Date: Sun Nov 22 16:51:44 2009 New Revision: 199655 URL: http://svn.freebsd.org/changeset/base/199655 Log: When -n is specified, attempt to turn hostnames found in utmp into IP addresses, again. However, change a hostname into an IP address, only when a host has just one A/

svn commit: r199654 - stable/8/usr.bin/kdump

2009-11-22 Thread Attilio Rao
Author: attilio Date: Sun Nov 22 16:13:16 2009 New Revision: 199654 URL: http://svn.freebsd.org/changeset/base/199654 Log: MFC r199024: Use a safety belt for cases where corrupted narg can be passed to the ktrsyscall(). Modified: stable/8/usr.bin/kdump/kdump.c Directory Properties: stab

svn commit: r199653 - stable/8/sys/kern

2009-11-22 Thread Attilio Rao
Author: attilio Date: Sun Nov 22 16:11:20 2009 New Revision: 199653 URL: http://svn.freebsd.org/changeset/base/199653 Log: MFC r199008: Track lockmgr_disown() in the stack. Modified: stable/8/sys/kern/kern_lock.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/i

svn commit: r199652 - stable/8/sys/fs/fifofs

2009-11-22 Thread Attilio Rao
Author: attilio Date: Sun Nov 22 16:09:27 2009 New Revision: 199652 URL: http://svn.freebsd.org/changeset/base/199652 Log: MFC r199007: Fix a memory leak. Modified: stable/8/sys/fs/fifofs/fifo_vnops.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/

svn commit: r199651 - in stable/8/sys: conf contrib/rdma/krping libkern netinet netinet/libalias

2009-11-22 Thread Attilio Rao
Author: attilio Date: Sun Nov 22 16:04:49 2009 New Revision: 199651 URL: http://svn.freebsd.org/changeset/base/199651 Log: MFC r199208, r199223: Move inet_aton() (specular to inet_ntoa(), already present in libkern) into libkern in order to made it usable by other modules than alias_proxy.

svn commit: r199650 - stable/8/sys/boot/common

2009-11-22 Thread Attilio Rao
Author: attilio Date: Sun Nov 22 15:57:08 2009 New Revision: 199650 URL: http://svn.freebsd.org/changeset/base/199650 Log: MFC r199210: Introduce the new loader compile-time option BOOT_PROMPT_123 which allows to enter the loader prompt just after entering the sequence "123". Sponsored

svn commit: r199649 - stable/8/sys/kern

2009-11-22 Thread Attilio Rao
Author: attilio Date: Sun Nov 22 15:53:39 2009 New Revision: 199649 URL: http://svn.freebsd.org/changeset/base/199649 Log: MFC r199209: Fix a potential buffer boundaries overflow in devclass_add_device() by using all available int lenghts digits for storing the information. Sponsored by

svn commit: r199648 - in stable/8/sys: amd64/amd64 amd64/include i386/i386

2009-11-22 Thread Jun Kuriyama
Author: kuriyama Date: Sun Nov 22 14:32:32 2009 New Revision: 199648 URL: http://svn.freebsd.org/changeset/base/199648 Log: - MFC r199067,199215,199253 - Add hw.clflush_disable loader tunable to avoid panic (trap 9) at map_invalidate_cache_range() even if CPU is not Intel. -

svn commit: r199647 - in head: bin/sh tools/regression/bin/sh/builtins

2009-11-22 Thread Jilles Tjoelker
Author: jilles Date: Sun Nov 22 14:04:20 2009 New Revision: 199647 URL: http://svn.freebsd.org/changeset/base/199647 Log: sh: Ensure the same command input file is on top after executing a builtin. This avoids weirdness when 'fc -e vi' or the like is done and there is a syntax error in th

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

2009-11-22 Thread Alexander Motin
Author: mav Date: Sun Nov 22 12:19:50 2009 New Revision: 199646 URL: http://svn.freebsd.org/changeset/base/199646 Log: Release over-agressive WDMA0 mode timings as close to spec as chip can. Modified: head/sys/dev/ata/chipsets/ata-intel.c Modified: head/sys/dev/ata/chipsets/ata-intel.c =

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

2009-11-22 Thread Alexander Motin
Author: mav Date: Sun Nov 22 11:17:31 2009 New Revision: 199645 URL: http://svn.freebsd.org/changeset/base/199645 Log: Fix Intel PATA UDMA timings setting, affecting write performance. Binary divider value 10 specified in datasheet is not a hex 0x10. UDMA2 should be 33/2 instead of 66/4, whi

svn commit: r199644 - head/sbin/atacontrol

2009-11-22 Thread Alexander Motin
Author: mav Date: Sun Nov 22 10:53:26 2009 New Revision: 199644 URL: http://svn.freebsd.org/changeset/base/199644 Log: Add some missing WDMA/UDMA modes. Modified: head/sbin/atacontrol/atacontrol.c Modified: head/sbin/atacontrol/atacontrol.c ===