svn commit: r214318 - stable/8/sys/i386/include

2010-10-24 Thread Julian Elischer
Author: julian Date: Mon Oct 25 06:33:19 2010 New Revision: 214318 URL: http://svn.freebsd.org/changeset/base/214318 Log: MFC of 196811 Slight cleanup to pcpu macros to better match amd64 and to improve readability of the output. Modified: stable/8/sys/i386/include/pcpu.h Directory Proper

svn commit: r214317 - in stable/8/tools/tools: ath/common termcap tinybsd

2010-10-24 Thread Julian Elischer
Author: julian Date: Mon Oct 25 06:28:19 2010 New Revision: 214317 URL: http://svn.freebsd.org/changeset/base/214317 Log: MFC of 199812 allow tinybsd to abort of a step fails. Modified: stable/8/tools/tools/tinybsd/tinybsd Directory Properties: stable/8/tools/tools/ (props changed) st

svn commit: r214316 - stable/8/sys/fs/msdosfs

2010-10-24 Thread Kevin Lo
Author: kevlo Date: Mon Oct 25 06:16:27 2010 New Revision: 214316 URL: http://svn.freebsd.org/changeset/base/214316 Log: MFC r214001: Fix a possible, but very unlikely race where the directory dirent is moved to the location that was used by ".." entry. Modified: stable/8/sys/fs/msdosfs/m

svn commit: r214315 - stable/8/share/man/man9

2010-10-24 Thread Julian Elischer
Author: julian Date: Mon Oct 25 05:37:12 2010 New Revision: 214315 URL: http://svn.freebsd.org/changeset/base/214315 Log: MFC of 200614 make man page match the output of lock profiling. Modified: stable/8/share/man/man9/LOCK_PROFILING.9 Directory Properties: stable/8/share/man/ (props c

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

2010-10-24 Thread Julian Elischer
Author: julian Date: Mon Oct 25 01:22:36 2010 New Revision: 214311 URL: http://svn.freebsd.org/changeset/base/214311 Log: MFC of 206632 If both ALQ and KTR are defined, allow KTR buffer to be used when ALQ is disabled by sysctl. Modified: stable/8/sys/kern/kern_ktr.c Directory Properties:

Re: svn commit: r214303 - in head/sys: conf netinet

2010-10-24 Thread Garrett Cooper
On Oct 24, 2010, at 4:36 PM, Julian Elischer wrote: > On 10/24/10 3:02 PM, Bjoern A. Zeeb wrote: >> Author: bz >> Date: Sun Oct 24 22:02:36 2010 >> New Revision: 214303 >> URL: http://svn.freebsd.org/changeset/base/214303 >> >> Log: >> Add initial inet DDB support for show in_ifaddr and show s

svn commit: r214310 - in stable/8/sys: ddb net

2010-10-24 Thread Julian Elischer
Author: julian Date: Mon Oct 25 01:02:34 2010 New Revision: 214310 URL: http://svn.freebsd.org/changeset/base/214310 Log: MFC of svn change 206639. replace a couple of instances of the same definitions with one in an include file Modified: stable/8/sys/ddb/db_sym.c stable/8/sys/net/vnet

Re: svn commit: r214303 - in head/sys: conf netinet

2010-10-24 Thread Julian Elischer
On 10/24/10 3:02 PM, Bjoern A. Zeeb wrote: Author: bz Date: Sun Oct 24 22:02:36 2010 New Revision: 214303 URL: http://svn.freebsd.org/changeset/base/214303 Log: Add initial inet DDB support for show in_ifaddr and show sin commands which proved to be useful while debugging address list prob

svn commit: r214309 - head/share/examples

2010-10-24 Thread Julian Elischer
Author: julian Date: Sun Oct 24 23:25:14 2010 New Revision: 214309 URL: http://svn.freebsd.org/changeset/base/214309 Log: Add Makefile entry to install two new example files. MFC after:2 weeks Modified: head/share/examples/Makefile Modified: head/share/examples/Makefile

Re: svn commit: r214307 - in stable/7: . bin/sh contrib/wpa_supplicant gnu/usr.bin/groff/tmac share/misc tools/regression/bin/sh/expansion tools/tools/nanobsd usr.sbin usr.sbin/makefs usr.sbin/makefs/

2010-10-24 Thread Colin Percival
On 10/24/10 16:09, David E. O'Brien wrote: > MFC r213814: Do not assume in growstackstr() that a "precious" character > will be immediately written into the stack after the call. Instead let > the caller manage the "space left". > > Added: > stable/7/tools/regression/bin/sh/expansion/trim

svn commit: r214308 - head/etc/mtree

2010-10-24 Thread Julian Elischer
Author: julian Date: Sun Oct 24 23:19:11 2010 New Revision: 214308 URL: http://svn.freebsd.org/changeset/base/214308 Log: Add a jails directory in the examples section MFC after:2 weeks Modified: head/etc/mtree/BSD.usr.dist Modified: head/etc/mtree/BSD.usr.dist =

svn commit: r214307 - in stable/7: . bin/sh contrib/wpa_supplicant gnu/usr.bin/groff/tmac share/misc tools/regression/bin/sh/expansion tools/tools/nanobsd usr.sbin usr.sbin/makefs usr.sbin/makefs/f...

2010-10-24 Thread David E. O'Brien
Author: obrien Date: Sun Oct 24 23:09:00 2010 New Revision: 214307 URL: http://svn.freebsd.org/changeset/base/214307 Log: MFC r213814: Do not assume in growstackstr() that a "precious" character will be immediately written into the stack after the call. Instead let the caller manage the "sp

svn commit: r214306 - in head/share/examples: jails netgraph

2010-10-24 Thread Julian Elischer
Author: julian Date: Sun Oct 24 22:59:38 2010 New Revision: 214306 URL: http://svn.freebsd.org/changeset/base/214306 Log: Add two scripts that demonstrate how to make and hook together jails using teh vortual networking feature. Submitted by: Yavuz Gokirmak MFC after:2 weeks Added:

svn commit: r214305 - head/bin/sh

2010-10-24 Thread Jilles Tjoelker
Author: jilles Date: Sun Oct 24 22:25:38 2010 New Revision: 214305 URL: http://svn.freebsd.org/changeset/base/214305 Log: sh: Ignore double-quotes in arithmetic rather than treating them as quotes. This provides similar behaviour, but allows a simpler parser. This changes r206473.

svn commit: r214304 - in head: bin/sh tools/regression/bin/sh/execution

2010-10-24 Thread Jilles Tjoelker
Author: jilles Date: Sun Oct 24 22:03:21 2010 New Revision: 214304 URL: http://svn.freebsd.org/changeset/base/214304 Log: sh: Do not allow overriding a special builtin with a function. This is a syntax error. POSIX does not say explicitly whether defining a function with the same name a

svn commit: r214303 - in head/sys: conf netinet

2010-10-24 Thread Bjoern A. Zeeb
Author: bz Date: Sun Oct 24 22:02:36 2010 New Revision: 214303 URL: http://svn.freebsd.org/changeset/base/214303 Log: Add initial inet DDB support for show in_ifaddr and show sin commands which proved to be useful while debugging address list problems. MFC after:6 days Added: head/

svn commit: r214302 - head/sys/dev/fxp

2010-10-24 Thread Pyun YongHyeon
Author: yongari Date: Sun Oct 24 21:59:51 2010 New Revision: 214302 URL: http://svn.freebsd.org/changeset/base/214302 Log: Add TSO support over VLAN for i82550/i82551. Controller requires VLAN hardware tagging to make TSO work over VLAN. So if VLAN hardware tagging is disabled explicitly cle

svn commit: r214301 - stable/8/sys/dev/usb/net

2010-10-24 Thread Pyun YongHyeon
Author: yongari Date: Sun Oct 24 21:28:58 2010 New Revision: 214301 URL: http://svn.freebsd.org/changeset/base/214301 Log: MFC r213696: Do not setup interrupt endpoint for axe(4). It seems axe(4) controllers support interrupt endpoint such that enabling interrupt endpoint generates a

svn commit: r214300 - stable/8/sys/dev/usb/net

2010-10-24 Thread Pyun YongHyeon
Author: yongari Date: Sun Oct 24 21:26:41 2010 New Revision: 214300 URL: http://svn.freebsd.org/changeset/base/214300 Log: MFC r213438: RX buffer allocation failure is not an input error. Controller successfully received a frame but we failed to pass it to upper stack due to lack of

svn commit: r214299 - stable/8/sys/dev/usb/net

2010-10-24 Thread Pyun YongHyeon
Author: yongari Date: Sun Oct 24 21:25:15 2010 New Revision: 214299 URL: http://svn.freebsd.org/changeset/base/214299 Log: MFC r213436: Don't count input error twice. uether_rxbuf() already updated that counter. Modified: stable/8/sys/dev/usb/net/if_axe.c Directory Properties: stabl

svn commit: r214298 - stable/8/sys/dev/usb/net

2010-10-24 Thread Pyun YongHyeon
Author: yongari Date: Sun Oct 24 21:23:27 2010 New Revision: 214298 URL: http://svn.freebsd.org/changeset/base/214298 Log: MFC r213424: Make upper stack know driver's output status. This change increased TX performance from 221kpps to 231kpps. Modified: stable/8/sys/dev/usb/net/if_axe

svn commit: r214297 - stable/8/sys/dev/usb/net

2010-10-24 Thread Pyun YongHyeon
Author: yongari Date: Sun Oct 24 21:22:00 2010 New Revision: 214297 URL: http://svn.freebsd.org/changeset/base/214297 Log: MFC r213423: Move updating TX packet counter to the inside of send loop. axe(4) controllers combine multiple TX requests into single one if there is room in TX b

svn commit: r214296 - in stable/7/sys/dev: age alc ale bce bge fxp jme sge

2010-10-24 Thread Pyun YongHyeon
Author: yongari Date: Sun Oct 24 21:17:23 2010 New Revision: 214296 URL: http://svn.freebsd.org/changeset/base/214296 Log: MFC r213844: Make sure to not use stale ip/tcp header pointers. The ip/tcp header parser uses m_pullup(9) to get access to mbuf chain. m_pullup(9) can allocate n

svn commit: r214295 - in stable/8/sys/dev: age alc ale bce bge fxp jme sge

2010-10-24 Thread Pyun YongHyeon
Author: yongari Date: Sun Oct 24 21:14:01 2010 New Revision: 214295 URL: http://svn.freebsd.org/changeset/base/214295 Log: MFC r213844: Make sure to not use stale ip/tcp header pointers. The ip/tcp header parser uses m_pullup(9) to get access to mbuf chain. m_pullup(9) can allocate n

svn commit: r214294 - stable/7/sys/dev/alc

2010-10-24 Thread Pyun YongHyeon
Author: yongari Date: Sun Oct 24 21:09:31 2010 New Revision: 214294 URL: http://svn.freebsd.org/changeset/base/214294 Log: MFC r213842: Backout r204230. TX mbuf parser for VLAN is still required to enable TX checksum offloading if VLAN hardware tagging is disabled. Modified: stable/7/

svn commit: r214293 - stable/8/sys/dev/alc

2010-10-24 Thread Pyun YongHyeon
Author: yongari Date: Sun Oct 24 21:07:13 2010 New Revision: 214293 URL: http://svn.freebsd.org/changeset/base/214293 Log: MFC r213842: Backout r204230. TX mbuf parser for VLAN is still required to enable TX checksum offloading if VLAN hardware tagging is disabled. Modified: stable/8/

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

2010-10-24 Thread Pyun YongHyeon
Author: yongari Date: Sun Oct 24 20:54:46 2010 New Revision: 214292 URL: http://svn.freebsd.org/changeset/base/214292 Log: Use bge_chipid to compare controller ids. r214251 incorrectly used bge_chiprev. Reported by: Buganini gmail dot com > Modified: head/sys/dev/bge/if_bge.c Modifi

svn commit: r214291 - in head: bin/sh tools/regression/bin/sh/parser

2010-10-24 Thread Jilles Tjoelker
Author: jilles Date: Sun Oct 24 20:45:13 2010 New Revision: 214291 URL: http://svn.freebsd.org/changeset/base/214291 Log: sh: Make sure defined functions can actually be called. Add some conservative checks on function names: - Disallow expansions or quoting characters; these can only be

svn commit: r214290 - in head: bin/sh tools/regression/bin/sh/execution

2010-10-24 Thread Jilles Tjoelker
Author: jilles Date: Sun Oct 24 20:09:49 2010 New Revision: 214290 URL: http://svn.freebsd.org/changeset/base/214290 Log: sh: Check whether dup2 was successful for >&FD and <&FD. A failure (usually caused by FD not being open) is a redirection error. Exp-run done by: pav (with som

svn commit: r214289 - head/tools/regression/bin/sh/execution

2010-10-24 Thread Jilles Tjoelker
Author: jilles Date: Sun Oct 24 19:56:34 2010 New Revision: 214289 URL: http://svn.freebsd.org/changeset/base/214289 Log: sh: Add a test trying to close a descriptor that is not open. In stable/8 and older, this fails. Some of the redirection changes in head have fixed it. Added: head/

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

2010-10-24 Thread Bjoern A. Zeeb
On Sat, 23 Oct 2010, Bjoern A. Zeeb wrote: On Fri, 17 Sep 2010, Andre Oppermann wrote: Author: andre Date: Fri Sep 17 22:05:27 2010 New Revision: 212803 URL: http://svn.freebsd.org/changeset/base/212803 Log: Rearrange the TSO code to make it more readable and to clearly separate the decisio

svn commit: r214288 - head/sys/cam/scsi

2010-10-24 Thread Alexander Motin
Author: mav Date: Sun Oct 24 18:53:16 2010 New Revision: 214288 URL: http://svn.freebsd.org/changeset/base/214288 Log: Make da driver to handle some probably broken Android devices, returning zero media and sector size instead of "Medium not present" error, until some confirmation button is

svn commit: r214287 - stable/8/contrib/ee

2010-10-24 Thread Ed Schouten
Author: ed Date: Sun Oct 24 18:12:11 2010 New Revision: 214287 URL: http://svn.freebsd.org/changeset/base/214287 Log: MFC r213567: Import ee 1.5.2 into HEAD. PR: bin/145921 Modified: stable/8/contrib/ee/ee.c stable/8/contrib/ee/ee_version.h Directory Properties: stable/8/con

Re: svn commit: r214279 - in head: share/man/man4 sys/cam sys/cam/ata sys/kern

2010-10-24 Thread Garrett Cooper
On Sun, Oct 24, 2010 at 10:55 AM, Alexander Motin wrote: > Garrett Cooper wrote: >> On Sun, Oct 24, 2010 at 10:03 AM, Alexander Motin wrote: >>> Bruce Cran wrote: On Sunday 24 October 2010 17:31:58 Bruce Cran wrote: > Log: >   Mostly revert r203420, and add similar functionality

Re: svn commit: r214279 - in head: share/man/man4 sys/cam sys/cam/ata sys/kern

2010-10-24 Thread Alexander Motin
Garrett Cooper wrote: > On Sun, Oct 24, 2010 at 10:03 AM, Alexander Motin wrote: >> Bruce Cran wrote: >>> On Sunday 24 October 2010 17:31:58 Bruce Cran wrote: >>> Log: Mostly revert r203420, and add similar functionality into ada(4) since the existing code caused problems with som

Re: svn commit: r214279 - in head: share/man/man4 sys/cam sys/cam/ata sys/kern

2010-10-24 Thread Garrett Cooper
On Sun, Oct 24, 2010 at 10:03 AM, Alexander Motin wrote: > Bruce Cran wrote: >> On Sunday 24 October 2010 17:31:58 Bruce Cran wrote: >> >>> Log: >>>   Mostly revert r203420, and add similar functionality into ada(4) since >>> the existing code caused problems with some SCSI controllers. > > Proper

svn commit: r214286 - in stable/8/sys/dev/usb: . serial

2010-10-24 Thread Alexander Motin
Author: mav Date: Sun Oct 24 17:42:41 2010 New Revision: 214286 URL: http://svn.freebsd.org/changeset/base/214286 Log: MFC r213509: Add ID for Vodafone (ZTE) Mobile Broadband K3565-Z modem. Modified: stable/8/sys/dev/usb/serial/u3g.c stable/8/sys/dev/usb/usbdevs Directory Properties: st

svn commit: r214285 - stable/8/sys/cam

2010-10-24 Thread Alexander Motin
Author: mav Date: Sun Oct 24 17:40:19 2010 New Revision: 214285 URL: http://svn.freebsd.org/changeset/base/214285 Log: MFC r212991: Decrease poll interval from 1000 to 100us. This significantly reduces kernel dump time, especially with minidump. Modified: stable/8/sys/cam/cam_xpt.c Direct

svn commit: r214284 - head/sbin/hastd

2010-10-24 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Oct 24 17:28:25 2010 New Revision: 214284 URL: http://svn.freebsd.org/changeset/base/214284 Log: Before this change on first connect between primary and secondary we initialize all the data. This is huge waste of time and resources if there were no writes yet, as there

svn commit: r214283 - head/sbin/hastd

2010-10-24 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Oct 24 17:24:08 2010 New Revision: 214283 URL: http://svn.freebsd.org/changeset/base/214283 Log: Implement nv_exists() function that returns true if argument of the given name exists. MFC after:3 days Modified: head/sbin/hastd/nv.c head/sbin/hastd/nv.h Modi

svn commit: r214282 - head/sbin/hastd

2010-10-24 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Oct 24 17:22:34 2010 New Revision: 214282 URL: http://svn.freebsd.org/changeset/base/214282 Log: Move all NV defines into nv.c, they are not used externally thus there is no need to make then visible from outside. MFC after:3 days Modified: head/sbin/hastd/nv.

svn commit: r214281 - in head: bin/sh tools/regression/bin/sh/parser

2010-10-24 Thread Jilles Tjoelker
Author: jilles Date: Sun Oct 24 17:06:49 2010 New Revision: 214281 URL: http://svn.freebsd.org/changeset/base/214281 Log: sh: Change ! within a pipeline to start a new pipeline instead. This is how ksh93 treats ! within a pipeline and makes the ! in a | ! b | c negate the exit status

Re: svn commit: r214279 - in head: share/man/man4 sys/cam sys/cam/ata sys/kern

2010-10-24 Thread Alexander Motin
Bruce Cran wrote: > On Sunday 24 October 2010 17:31:58 Bruce Cran wrote: > >> Log: >> Mostly revert r203420, and add similar functionality into ada(4) since >> the existing code caused problems with some SCSI controllers. Proper way would be IMHO to fix polling in aac driver. >> A new sysctl

svn commit: r214280 - head/tools/regression/bin/sh/parser

2010-10-24 Thread Jilles Tjoelker
Author: jilles Date: Sun Oct 24 16:55:17 2010 New Revision: 214280 URL: http://svn.freebsd.org/changeset/base/214280 Log: sh: Add some testcases for alias expansion. Added: head/tools/regression/bin/sh/parser/alias1.0 (contents, props changed) head/tools/regression/bin/sh/parser/alias2.0

Re: svn commit: r214279 - in head: share/man/man4 sys/cam sys/cam/ata sys/kern

2010-10-24 Thread Bruce Cran
On Sunday 24 October 2010 17:31:58 Bruce Cran wrote: > Log: > Mostly revert r203420, and add similar functionality into ada(4) since > the existing code caused problems with some SCSI controllers. > > A new sysctl kern.cam.ada.spindown_shutdown has been added that controls > whether or not

svn commit: r214279 - in head: share/man/man4 sys/cam sys/cam/ata sys/kern

2010-10-24 Thread Bruce Cran
Author: brucec Date: Sun Oct 24 16:31:57 2010 New Revision: 214279 URL: http://svn.freebsd.org/changeset/base/214279 Log: Mostly revert r203420, and add similar functionality into ada(4) since the existing code caused problems with some SCSI controllers. A new sysctl kern.cam.ada.spindown

svn commit: r214278 - head/share/man/man9

2010-10-24 Thread Jaakko Heinonen
Author: jh Date: Sun Oct 24 16:10:32 2010 New Revision: 214278 URL: http://svn.freebsd.org/changeset/base/214278 Log: Use .Dv with NULL. Modified: head/share/man/man9/make_dev.9 Modified: head/share/man/man9/make_dev.9 =

svn commit: r214277 - head/share/man/man9

2010-10-24 Thread Jaakko Heinonen
Author: jh Date: Sun Oct 24 15:56:21 2010 New Revision: 214277 URL: http://svn.freebsd.org/changeset/base/214277 Log: Document make_dev_p(9). Reviewed by: brueffer, kib Modified: head/share/man/man9/Makefile head/share/man/man9/make_dev.9 Modified: head/share/man/man9/Makefile ==

svn commit: r214276 - head/sbin/hastd

2010-10-24 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Oct 24 15:44:23 2010 New Revision: 214276 URL: http://svn.freebsd.org/changeset/base/214276 Log: Simplify code a bit. MFC after:3 days Modified: head/sbin/hastd/secondary.c Modified: head/sbin/hastd/secondary.c ==

svn commit: r214275 - head/sbin/hastd

2010-10-24 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Oct 24 15:42:16 2010 New Revision: 214275 URL: http://svn.freebsd.org/changeset/base/214275 Log: Plug memory leak. MFC after:3 days Modified: head/sbin/hastd/secondary.c Modified: head/sbin/hastd/secondary.c =

svn commit: r214274 - head/sbin/hastd

2010-10-24 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Oct 24 15:41:23 2010 New Revision: 214274 URL: http://svn.freebsd.org/changeset/base/214274 Log: Plug memory leaks. Found with: valgrind MFC after:3 days Modified: head/sbin/hastd/parse.y head/sbin/hastd/primary.c head/sbin/hastd/synch.h Modified: head/

svn commit: r214273 - head/sbin/hastd

2010-10-24 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Oct 24 15:38:58 2010 New Revision: 214273 URL: http://svn.freebsd.org/changeset/base/214273 Log: Load geom_gate.ko module after parsing arguments. MFC after:3 days Modified: head/sbin/hastd/hastd.c Modified: head/sbin/hastd/hastd.c =

Re: svn commit: r214199 - stable/8

2010-10-24 Thread Gary Jennejohn
On Sun, 24 Oct 2010 15:29:10 +0200 "Ronald Klop" wrote: > On Sat, 23 Oct 2010 12:05:00 +0200, Robert Watson > wrote: > > > > > On Fri, 22 Oct 2010, Andriy Gapon wrote: > > > >> +20101022: > >> + A workaround for a fixed ld bug has been removed in kernel code, > >> + so make sure that your s

svn commit: r214272 - head/usr.bin/lex

2010-10-24 Thread Ulrich Spoerlein
Author: uqs Date: Sun Oct 24 15:31:41 2010 New Revision: 214272 URL: http://svn.freebsd.org/changeset/base/214272 Log: flex: add missing ifdef magic to create/hide prototypes This unbreaks build for some software with higher WARNS flags. Reviewed by: rpaulo PR: bin/139319

Re: svn commit: r214261 - head/tools/tools/syscall_timing

2010-10-24 Thread Robert N. M. Watson
On 24 Oct 2010, at 14:20, Alexander Best wrote: > On Sun Oct 24 10, Robert Watson wrote: >> Author: rwatson >> Date: Sun Oct 24 09:14:21 2010 >> New Revision: 214261 >> URL: http://svn.freebsd.org/changeset/base/214261 >> >> Log: >> Add microbenchmark for create/unlink of a zero-byte file. > >

svn commit: r214271 - head/usr.sbin/usbconfig

2010-10-24 Thread Hans Petter Selasky
Author: hselasky Date: Sun Oct 24 13:48:11 2010 New Revision: 214271 URL: http://svn.freebsd.org/changeset/base/214271 Log: Remove stray semicolon. Submitted by: arundel Modified: head/usr.sbin/usbconfig/usbconfig.c Modified: head/usr.sbin/usbconfig/usbconfig.c =

Re: svn commit: r214199 - stable/8

2010-10-24 Thread Ronald Klop
On Sat, 23 Oct 2010 12:05:00 +0200, Robert Watson wrote: On Fri, 22 Oct 2010, Andriy Gapon wrote: +20101022: + A workaround for a fixed ld bug has been removed in kernel code, + so make sure that your system ld is built from sources after + revision 211583 (r210245 if bui

svn commit: r214270 - stable/8/sys/dev/mii

2010-10-24 Thread Marius Strobl
Author: marius Date: Sun Oct 24 13:43:45 2010 New Revision: 214270 URL: http://svn.freebsd.org/changeset/base/214270 Log: MFC: r213385 Remove a header that apart from the license is empty. Deleted: stable/8/sys/dev/mii/axphyreg.h Modified: stable/8/sys/dev/mii/axphy.c Directory Propert

svn commit: r214269 - in stable/7/sys/dev: dc mii

2010-10-24 Thread Marius Strobl
Author: marius Date: Sun Oct 24 13:42:03 2010 New Revision: 214269 URL: http://svn.freebsd.org/changeset/base/214269 Log: MFC: r213384 Consistently always explicitly set IFM_HDX for half-duplex. Obtained from:OpenBSD (mostly) Modified: stable/7/sys/dev/dc/dcphy.c stable/7/

svn commit: r214268 - in stable/8/sys/dev: dc mii

2010-10-24 Thread Marius Strobl
Author: marius Date: Sun Oct 24 13:41:38 2010 New Revision: 214268 URL: http://svn.freebsd.org/changeset/base/214268 Log: MFC: r213384 Consistently always explicitly set IFM_HDX for half-duplex. Obtained from:OpenBSD (mostly) Modified: stable/8/sys/dev/dc/dcphy.c stable/8/

svn commit: r214267 - in stable/7/sys/dev: dc mii

2010-10-24 Thread Marius Strobl
Author: marius Date: Sun Oct 24 13:39:26 2010 New Revision: 214267 URL: http://svn.freebsd.org/changeset/base/214267 Log: MFC: r213364 - In the spirit of previous simplifications factor out the checks for a different PHY instance being selected and isolation out into the wrappers ar

svn commit: r214266 - in stable/8/sys/dev: dc mii

2010-10-24 Thread Marius Strobl
Author: marius Date: Sun Oct 24 13:39:19 2010 New Revision: 214266 URL: http://svn.freebsd.org/changeset/base/214266 Log: MFC: r213364 - In the spirit of previous simplifications factor out the checks for a different PHY instance being selected and isolation out into the wrappers ar

Re: svn commit: r214261 - head/tools/tools/syscall_timing

2010-10-24 Thread Alexander Best
On Sun Oct 24 10, Robert Watson wrote: > Author: rwatson > Date: Sun Oct 24 09:14:21 2010 > New Revision: 214261 > URL: http://svn.freebsd.org/changeset/base/214261 > > Log: > Add microbenchmark for create/unlink of a zero-byte file. clang still complaining: syscall_timing.c:766:24: warning: c

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

2010-10-24 Thread Marius Strobl
Author: marius Date: Sun Oct 24 12:59:43 2010 New Revision: 214265 URL: http://svn.freebsd.org/changeset/base/214265 Log: - Given that as of r214264 all PHY drivers using mii(4) finally have been converted to use the mii_phy_add_media()/mii_phy_setmedia() pair instead of mii_add_media()/

svn commit: r214264 - in head/sys/dev: mii tl

2010-10-24 Thread Marius Strobl
Author: marius Date: Sun Oct 24 12:51:02 2010 New Revision: 214264 URL: http://svn.freebsd.org/changeset/base/214264 Log: - Add IFM_10_2 and IFM_10_5 media via tlphy(4) only in case the respective interface also has such connectors. - In tl_attach() unify three different ways of obtaining

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

2010-10-24 Thread Marius Strobl
Author: marius Date: Sun Oct 24 11:38:25 2010 New Revision: 214263 URL: http://svn.freebsd.org/changeset/base/214263 Log: Take advantage of mii_phy_add_media()/mii_phy_setmedia(). Modified: head/sys/dev/mii/pnaphy.c Modified: head/sys/dev/mii/pnaphy.c

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

2010-10-24 Thread Marius Strobl
Author: marius Date: Sun Oct 24 11:37:01 2010 New Revision: 214262 URL: http://svn.freebsd.org/changeset/base/214262 Log: - Take advantage of mii_phy_dev_probe(). - Use mii_phy_add_media() instead of mii_add_media(). I'm not sure how this driver actually managed to work before as mii_add_m

svn commit: r214261 - head/tools/tools/syscall_timing

2010-10-24 Thread Robert Watson
Author: rwatson Date: Sun Oct 24 09:14:21 2010 New Revision: 214261 URL: http://svn.freebsd.org/changeset/base/214261 Log: Add microbenchmark for create/unlink of a zero-byte file. Sponsored by: Google, Inc. MFC after:2 weeks Modified: head/tools/tools/syscall_timing/syscall_timing

Re: svn commit: r214199 - stable/8

2010-10-24 Thread Andriy Gapon
on 23/10/2010 13:05 Robert Watson said the following: > > On Fri, 22 Oct 2010, Andriy Gapon wrote: > >> +20101022: >> +A workaround for a fixed ld bug has been removed in kernel code, >> +so make sure that your system ld is built from sources after >> +revision 211583 (r210245 if buil