svn commit: r220051 - head/sys/mips/atheros

2011-03-27 Thread Adrian Chadd
Author: adrian Date: Sun Mar 27 08:32:47 2011 New Revision: 220051 URL: http://svn.freebsd.org/changeset/base/220051 Log: Add some missing flags needed for AR913x/AR724x USB to correctly operate. The AR913x/AR724x USB lives at a different offset to the AR71xx USB, so this needs to be eith

svn commit: r220052 - in head/sys: conf mips/atheros

2011-03-27 Thread Adrian Chadd
Author: adrian Date: Sun Mar 27 08:44:27 2011 New Revision: 220052 URL: http://svn.freebsd.org/changeset/base/220052 Log: Add an option - AR71XX_REALMEM - which overrides the amount of memory detected from Redboot, or overrides the "otherwise" case if no Redboot information was found. S

svn commit: r220053 - in head/sys: conf dev/ath

2011-03-27 Thread Adrian Chadd
Author: adrian Date: Sun Mar 27 08:47:55 2011 New Revision: 220053 URL: http://svn.freebsd.org/changeset/base/220053 Log: Rename AH_ENABLE_11N to ATH_ENABLE_11 - the HAL supports 11n by default but the ath driver doesn't. This is a much more consistent name. Modified: head/sys/conf/option

svn commit: r220054 - head/sys/dev/ath

2011-03-27 Thread Adrian Chadd
Author: adrian Date: Sun Mar 27 10:35:39 2011 New Revision: 220054 URL: http://svn.freebsd.org/changeset/base/220054 Log: Fix typo. Modified: head/sys/dev/ath/if_ath.c Modified: head/sys/dev/ath/if_ath.c == --- head/

svn commit: r220055 - head/usr.bin/su

2011-03-27 Thread Hajimu UMEMOTO
Author: ume Date: Sun Mar 27 12:53:20 2011 New Revision: 220055 URL: http://svn.freebsd.org/changeset/base/220055 Log: getpwnam(3) may return NULL. Requested by: nork Reviewed by:Takeharu KATO , nork MFC after: 1 week Modified: head/usr.bin/su/su.c Modified: head/usr.bin/

svn commit: r220056 - head/sys/mips/atheros

2011-03-27 Thread Adrian Chadd
Author: adrian Date: Sun Mar 27 13:55:35 2011 New Revision: 220056 URL: http://svn.freebsd.org/changeset/base/220056 Log: Refactor out the ar71xx mac address code into something that's just for Redboot. At some point we're going to need to build options for different boot environments -

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

2011-03-27 Thread Josh Paetzel
Author: jpaetzel Date: Sun Mar 27 14:20:47 2011 New Revision: 220057 URL: http://svn.freebsd.org/changeset/base/220057 Log: Increase size of boot partition to give breathing room in the future. Approved by: kib (mentor) Modified: head/usr.sbin/pc-sysinstall/backend/functions-disk.sh Mo

svn commit: r220058 - in head/sys/amd64: amd64 include

2011-03-27 Thread Alan Cox
Author: alc Date: Sun Mar 27 16:18:51 2011 New Revision: 220058 URL: http://svn.freebsd.org/changeset/base/220058 Log: Amd64 doesn't have a lazypmap ipi. Modified: head/sys/amd64/amd64/mp_machdep.c head/sys/amd64/include/smp.h Modified: head/sys/amd64/amd64/mp_machdep.c ===

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

2011-03-27 Thread Josh Paetzel
Author: jpaetzel Date: Sun Mar 27 16:57:54 2011 New Revision: 220059 URL: http://svn.freebsd.org/changeset/base/220059 Log: Fix a syntax error in a little-used function. Replace expr with $(()) Replace grep > /dev/null with grep -q Replace "$?" = "0" with $? -eq 0 in tests Consolidate ex

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

2011-03-27 Thread Doug Barton
On 03/27/2011 09:57, Josh Paetzel wrote: Log: Fix a syntax error in a little-used function. Since this is unique vs. all the other changes, IMO it should have been a separate commit. It doesn't hurt anything to split things up into multiple commits, and often helps make things more underst

svn commit: r220062 - head/sys/geom/gate

2011-03-27 Thread Mikolaj Golub
Author: trociny Date: Sun Mar 27 19:56:55 2011 New Revision: 220062 URL: http://svn.freebsd.org/changeset/base/220062 Log: In g_gate_create() there is a window between when g_gate_softc is registered in g_gate_units array and when its sc_provider field is filled. If during this period g_gate

Re: svn commit: r220062 - head/sys/geom/gate

2011-03-27 Thread Kostik Belousov
On Sun, Mar 27, 2011 at 07:56:55PM +, Mikolaj Golub wrote: > Author: trociny > Date: Sun Mar 27 19:56:55 2011 > New Revision: 220062 > URL: http://svn.freebsd.org/changeset/base/220062 > > Log: > In g_gate_create() there is a window between when g_gate_softc is > registered in g_gate_units

svn commit: r220063 - stable/8/sbin/geom/class/part

2011-03-27 Thread Andrey V. Elsukov
Author: ae Date: Sun Mar 27 20:35:32 2011 New Revision: 220063 URL: http://svn.freebsd.org/changeset/base/220063 Log: MFC r219573: Document GEOM_PART_EBR_COMPAT option. MFC r219581: Fix grammar. Pointed out:Ben Kaduk Modified: stable/8/sbin/geom/class/part/gpart.8

Re: svn commit: r220062 - head/sys/geom/gate

2011-03-27 Thread Mikolaj Golub
On Sun, 27 Mar 2011 23:08:04 +0300 Kostik Belousov wrote: KB> On Sun, Mar 27, 2011 at 07:56:55PM +, Mikolaj Golub wrote: >> Author: trociny >> Date: Sun Mar 27 19:56:55 2011 >> New Revision: 220062 >> URL: http://svn.freebsd.org/changeset/base/220062 >> >> Log: >> In g_gate_create(

Re: svn commit: r220062 - head/sys/geom/gate

2011-03-27 Thread Kostik Belousov
On Sun, Mar 27, 2011 at 11:49:15PM +0300, Mikolaj Golub wrote: > > On Sun, 27 Mar 2011 23:08:04 +0300 Kostik Belousov wrote: > > KB> On Sun, Mar 27, 2011 at 07:56:55PM +, Mikolaj Golub wrote: > >> Author: trociny > >> Date: Sun Mar 27 19:56:55 2011 > >> New Revision: 220062 > >> URL: htt

svn commit: r220064 - stable/8/sys/dev/dc

2011-03-27 Thread Pyun YongHyeon
Author: yongari Date: Sun Mar 27 22:12:51 2011 New Revision: 220064 URL: http://svn.freebsd.org/changeset/base/220064 Log: MFC r218786: Always check memory allocation failure. If driver encounter memory allocation error, do not attach driver. Reviewed by:marius Modified:

svn commit: r220065 - stable/7/sys/dev/dc

2011-03-27 Thread Pyun YongHyeon
Author: yongari Date: Sun Mar 27 22:14:14 2011 New Revision: 220065 URL: http://svn.freebsd.org/changeset/base/220065 Log: MFC r218786: Always check memory allocation failure. If driver encounter memory allocation error, do not attach driver. Reviewed by:marius Modified:

svn commit: r220066 - stable/8/sys/dev/dc

2011-03-27 Thread Pyun YongHyeon
Author: yongari Date: Sun Mar 27 22:20:44 2011 New Revision: 220066 URL: http://svn.freebsd.org/changeset/base/220066 Log: MFC r213841,218787-218788: r213841: It seems some multi-port dc(4) controllers shares SROM of the first port such that reading station address from second port alw

svn commit: r220067 - stable/7/sys/dev/dc

2011-03-27 Thread Pyun YongHyeon
Author: yongari Date: Sun Mar 27 22:21:52 2011 New Revision: 220067 URL: http://svn.freebsd.org/changeset/base/220067 Log: MFC r213841,218787-218788: r213841: It seems some multi-port dc(4) controllers shares SROM of the first port such that reading station address from second port alw

svn commit: r220068 - stable/8/sys/dev/dc

2011-03-27 Thread Pyun YongHyeon
Author: yongari Date: Sun Mar 27 22:31:17 2011 New Revision: 220068 URL: http://svn.freebsd.org/changeset/base/220068 Log: MFC r218789,218820,218826-218828: r218789: Remove use case of DC_TX_ONE. It was used to limit queue just 1 TX frame in DM910x controllers. In r67595(more than 10 y

svn commit: r220069 - stable/7/sys/dev/dc

2011-03-27 Thread Pyun YongHyeon
Author: yongari Date: Sun Mar 27 22:32:14 2011 New Revision: 220069 URL: http://svn.freebsd.org/changeset/base/220069 Log: MFC r218789,218820,218826-218828: r218789: Remove use case of DC_TX_ONE. It was used to limit queue just 1 TX frame in DM910x controllers. In r67595(more than 10 y

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

2011-03-27 Thread Warner Losh
On Mar 27, 2011, at 11:22 AM, Doug Barton wrote: > On 03/27/2011 09:57, Josh Paetzel wrote: >> Replace "$?" = "0" with $? -eq 0 in tests > > Excellent! Most of the time I've found that moving the command up to the if makes the code clearer too. At jobs I've had in the past when I've written

svn commit: r220070 - stable/8/sys/dev/dc

2011-03-27 Thread Pyun YongHyeon
Author: yongari Date: Sun Mar 27 22:36:16 2011 New Revision: 220070 URL: http://svn.freebsd.org/changeset/base/220070 Log: MFC r218830-218831: r218830: Send frames only when there is a valid link and driver is running as well as controller has enough free TX descriptors. Remove che

svn commit: r220071 - stable/7/sys/dev/dc

2011-03-27 Thread Pyun YongHyeon
Author: yongari Date: Sun Mar 27 22:37:28 2011 New Revision: 220071 URL: http://svn.freebsd.org/changeset/base/220071 Log: MFC r218830-218831: r218830: Send frames only when there is a valid link and driver is running as well as controller has enough free TX descriptors. Remove che

svn commit: r220072 - stable/8/sys/dev/dc

2011-03-27 Thread Pyun YongHyeon
Author: yongari Date: Sun Mar 27 22:48:58 2011 New Revision: 220072 URL: http://svn.freebsd.org/changeset/base/220072 Log: MFC r218832: Split common TX/RX descriptor DMA tag to TX and RX DMA tags respectively and fix all bus_dma(9) issues seen when bounce buffers are used. o Set

svn commit: r220073 - stable/7/sys/dev/dc

2011-03-27 Thread Pyun YongHyeon
Author: yongari Date: Sun Mar 27 22:50:09 2011 New Revision: 220073 URL: http://svn.freebsd.org/changeset/base/220073 Log: MFC r218832: Split common TX/RX descriptor DMA tag to TX and RX DMA tags respectively and fix all bus_dma(9) issues seen when bounce buffers are used. o Set

svn commit: r220074 - stable/8/sys/dev/dc

2011-03-27 Thread Pyun YongHyeon
Author: yongari Date: Sun Mar 27 23:02:12 2011 New Revision: 220074 URL: http://svn.freebsd.org/changeset/base/220074 Log: MFC r218833,218964: r218833: Count how many frames driver lost in interrupt handler. This register is cleared on read so make sure to clear it in driver initia

svn commit: r220075 - stable/7/sys/dev/dc

2011-03-27 Thread Pyun YongHyeon
Author: yongari Date: Sun Mar 27 23:03:15 2011 New Revision: 220075 URL: http://svn.freebsd.org/changeset/base/220075 Log: MFC r218833,218964: r218833: Count how many frames driver lost in interrupt handler. This register is cleared on read so make sure to clear it in driver initia

svn commit: r220076 - stable/8/sys/dev/dc

2011-03-27 Thread Pyun YongHyeon
Author: yongari Date: Sun Mar 27 23:08:01 2011 New Revision: 220076 URL: http://svn.freebsd.org/changeset/base/220076 Log: MFC r218834-218835: r218834: Consistently use a tab character instead of space after #define. No functional changes. r218835: s/u_intXX_t/uintXX_t/g Modi

svn commit: r220077 - stable/7/sys/dev/dc

2011-03-27 Thread Pyun YongHyeon
Author: yongari Date: Sun Mar 27 23:09:09 2011 New Revision: 220077 URL: http://svn.freebsd.org/changeset/base/220077 Log: MFC r218834-218835: r218834: Consistently use a tab character instead of space after #define. No functional changes. r218835: s/u_intXX_t/uintXX_t/g Modi

svn commit: r220078 - stable/8/sys/dev/dc

2011-03-27 Thread Pyun YongHyeon
Author: yongari Date: Sun Mar 27 23:13:02 2011 New Revision: 220078 URL: http://svn.freebsd.org/changeset/base/220078 Log: MFC r219407: Rearrange dc_tx_underrun() a bit to correctly set TX FIFO threshold value. Controllers that always require "store and forward" mode( Davicom and PNI

svn commit: r220079 - stable/7/sys/dev/dc

2011-03-27 Thread Pyun YongHyeon
Author: yongari Date: Sun Mar 27 23:14:02 2011 New Revision: 220079 URL: http://svn.freebsd.org/changeset/base/220079 Log: MFC r219407: Rearrange dc_tx_underrun() a bit to correctly set TX FIFO threshold value. Controllers that always require "store and forward" mode( Davicom and PNI

svn commit: r220080 - head/usr.sbin/bsdinstall/scripts

2011-03-27 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Mar 27 23:43:32 2011 New Revision: 220080 URL: http://svn.freebsd.org/changeset/base/220080 Log: Add mirror selection for FTP installs. To support TBEMD installs (e.g. powerpc64), this looks in a slightly different default path than now, specifying both $MACHINE

svn commit: r220081 - head/release

2011-03-27 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Mar 27 23:46:12 2011 New Revision: 220081 URL: http://svn.freebsd.org/changeset/base/220081 Log: Add infrastructure for generation of boot-only ISO images. These have a reduced world, though still reasonably complete for fixit purposes. Modified: head/release/Ma

svn commit: r220082 - head/release

2011-03-27 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Mar 27 23:46:52 2011 New Revision: 220082 URL: http://svn.freebsd.org/changeset/base/220082 Log: Copy all generated ISO images into the release area. Modified: head/release/generate-release.sh Modified: head/release/generate-release.sh ===

svn commit: r220083 - stable/8/sys/dev/dc

2011-03-27 Thread Pyun YongHyeon
Author: yongari Date: Mon Mar 28 00:13:41 2011 New Revision: 220083 URL: http://svn.freebsd.org/changeset/base/220083 Log: MFC r219701: Remove too expensive bus_dmamap_sync(9) call in dc_rx_resync(). With this change, driver may not notice updated descriptor status change when bounce

Re: svn commit: r220082 - head/release

2011-03-27 Thread Alexander Best
On Sun Mar 27 11, Nathan Whitehorn wrote: > Author: nwhitehorn > Date: Sun Mar 27 23:46:52 2011 > New Revision: 220082 > URL: http://svn.freebsd.org/changeset/base/220082 > > Log: > Copy all generated ISO images into the release area. s/cp -pRP/cp -a/ ? > > Modified: > head/release/generate

svn commit: r220084 - stable/7/sys/dev/dc

2011-03-27 Thread Pyun YongHyeon
Author: yongari Date: Mon Mar 28 00:14:56 2011 New Revision: 220084 URL: http://svn.freebsd.org/changeset/base/220084 Log: MFC r219701: Remove too expensive bus_dmamap_sync(9) call in dc_rx_resync(). With this change, driver may not notice updated descriptor status change when bounce

svn commit: r220085 - stable/8/sys/dev/dc

2011-03-27 Thread Pyun YongHyeon
Author: yongari Date: Mon Mar 28 00:18:02 2011 New Revision: 220085 URL: http://svn.freebsd.org/changeset/base/220085 Log: MFC r201449: Fix CardBus spelling. Modified: stable/8/sys/dev/dc/if_dc.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (

svn commit: r220086 - stable/7/sys/dev/dc

2011-03-27 Thread Pyun YongHyeon
Author: yongari Date: Mon Mar 28 00:19:01 2011 New Revision: 220086 URL: http://svn.freebsd.org/changeset/base/220086 Log: MFC r201449: Fix CardBus spelling. Modified: stable/7/sys/dev/dc/if_dc.c Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolar

svn commit: r220087 - stable/8/sys/dev/usb/wlan

2011-03-27 Thread Kevin Lo
Author: kevlo Date: Mon Mar 28 01:24:20 2011 New Revision: 220087 URL: http://svn.freebsd.org/changeset/base/220087 Log: MFC r219982: Fix panic while associating access point. While here, add the SMC SMCWUSB-G Modified: stable/8/sys/dev/usb/wlan/if_zyd.c Modified: stable/8/sys/dev/usb/wl

svn commit: r220088 - head/usr.sbin/bsdinstall/scripts

2011-03-27 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Mar 28 02:37:05 2011 New Revision: 220088 URL: http://svn.freebsd.org/changeset/base/220088 Log: Improve error handling. Modified: head/usr.sbin/bsdinstall/scripts/auto Modified: head/usr.sbin/bsdinstall/scripts/auto ==

svn commit: r220089 - head/usr.sbin/bsdinstall/scripts

2011-03-27 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Mar 28 04:29:50 2011 New Revision: 220089 URL: http://svn.freebsd.org/changeset/base/220089 Log: Committing while tired is never a good idea. Remove an unconditional error exit left over from debugging. Modified: head/usr.sbin/bsdinstall/scripts/auto Modified:

svn commit: r220090 - in head/sys: amd64/amd64 conf

2011-03-27 Thread Alan Cox
Author: alc Date: Mon Mar 28 06:35:17 2011 New Revision: 220090 URL: http://svn.freebsd.org/changeset/base/220090 Log: The new binutils has correctly redefined MAXPAGESIZE on amd64 as 0x20 instead of 0x10. As a side effect, an amd64 kernel now loads at physical address 0x20 inst