svn commit: r192035 - in head/sys: amd64/amd64 i386/i386

2009-05-13 Thread Alan Cox
Author: alc Date: Wed May 13 07:42:53 2009 New Revision: 192035 URL: http://svn.freebsd.org/changeset/base/192035 Log: Correct a rare use-after-free error in pmap_copy(). This error was introduced in amd64 revision 1.540 and i386 revision 1.547. However, it had no harmful effects until aft

svn commit: r192036 - head/sys/compat/ndis

2009-05-13 Thread Christian Brueffer
Author: brueffer Date: Wed May 13 08:50:13 2009 New Revision: 192036 URL: http://svn.freebsd.org/changeset/base/192036 Log: Fix memory leak in an error case. Found with: Coverity Prevent(tm) CID: 371 MFC after:2 weeks Modified: head/sys/compat/ndis/kern_windrv.c Modif

svn commit: r192040 - head/usr.bin/truss

2009-05-13 Thread Diomidis Spinellis
Author: dds Date: Wed May 13 12:43:37 2009 New Revision: 192040 URL: http://svn.freebsd.org/changeset/base/192040 Log: Fix compilation error introduced in r192025. Modified: head/usr.bin/truss/mips-fbsd.c Modified: head/usr.bin/truss/mips-fbsd.c ==

svn commit: r192041 - head/usr.bin/truss

2009-05-13 Thread Diomidis Spinellis
Author: dds Date: Wed May 13 13:00:52 2009 New Revision: 192041 URL: http://svn.freebsd.org/changeset/base/192041 Log: Fix print_syscall_ret parameter order. Modified: head/usr.bin/truss/mips-fbsd.c Modified: head/usr.bin/truss/mips-fbsd.c

svn commit: r192042 - head/sys/dev/bwi

2009-05-13 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed May 13 14:25:55 2009 New Revision: 192042 URL: http://svn.freebsd.org/changeset/base/192042 Log: Add a short delay after programming PHY registers to give some time for the engine to catch up. This prevents a machine check exception from illegal memory requests w

Re: svn commit: r192026 - head/share/man/man9

2009-05-13 Thread John Baldwin
On Tuesday 12 May 2009 5:28:13 pm Marius Strobl wrote: > On Tue, May 12, 2009 at 04:13:06PM -0500, Robert Noland wrote: > > On Tue, 2009-05-12 at 20:56 +, Marius Strobl wrote: > > > Author: marius > > > Date: Tue May 12 20:56:34 2009 > > > New Revision: 192026 > > > URL: http://svn.freebsd.org/

svn commit: r192043 - head/sys/dev/ed

2009-05-13 Thread Warner Losh
Author: imp Date: Wed May 13 14:43:26 2009 New Revision: 192043 URL: http://svn.freebsd.org/changeset/base/192043 Log: ifp->if_softc is managed entirely by the driver. We never set it to NULL or change it. We initialize it before we set if_ioctl. It can therefore never be NULL, and most o

svn commit: r192046 - head/sys/dev/bwi

2009-05-13 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed May 13 16:19:05 2009 New Revision: 192046 URL: http://svn.freebsd.org/changeset/base/192046 Log: Add a comment to motivate my last change. Suggested by: sam, imp Modified: head/sys/dev/bwi/bwiphy.c Modified: head/sys/dev/bwi/bwiphy.c

Re: svn commit: r191983 - in head/sys: dev/usb/wlan modules/usb/upgt

2009-05-13 Thread Robert Watson
On Mon, 11 May 2009, Weongyo Jeong wrote: Author: weongyo Date: Mon May 11 02:39:49 2009 New Revision: 191983 URL: http://svn.freebsd.org/changeset/base/191983 Log: ports upgt(4) driver for USB2. Ah, great! Do you have any similar plans regarding urtw? Robert N M Watson Computer Laborator

svn commit: r192047 - head/sys/legacy/dev/usb

2009-05-13 Thread Robert Watson
Author: rwatson Date: Wed May 13 17:11:25 2009 New Revision: 192047 URL: http://svn.freebsd.org/changeset/base/192047 Log: Garbage collect legacy upgt driver now that it is available in the new USB implementation. Garbage collect legacy USB ethernet framework now that it is unused. Delet

svn commit: r192048 - head/sys/net

2009-05-13 Thread Robert Watson
Author: rwatson Date: Wed May 13 17:17:05 2009 New Revision: 192048 URL: http://svn.freebsd.org/changeset/base/192048 Log: Remove now-unused NETISR_USB. Modified: head/sys/net/netisr.h Modified: head/sys/net/netisr.h ===

svn commit: r192049 - head/sys/net

2009-05-13 Thread Robert Watson
Author: rwatson Date: Wed May 13 17:22:33 2009 New Revision: 192049 URL: http://svn.freebsd.org/changeset/base/192049 Log: Garbage collect now-unused NETISR_FORCEQUEUE, which overrode the global direct dispatch policy for specific protocols (NETISR_USB). We leave the additional 'flags' argu

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

2009-05-13 Thread Andrew Thompson
On Tue, May 12, 2009 at 07:44:28PM +0200, Dimitry Andric wrote: > On 2009-05-12 09:41, Qing Li wrote: > > Author: qingli > > Date: Tue May 12 07:41:20 2009 > > New Revision: 192011 > > URL: http://svn.freebsd.org/changeset/base/192011 > > > > Log: > > This patch adds a host route to an interface

svn commit: r192050 - in head/sys: amd64/amd64 amd64/include conf i386/i386 i386/include

2009-05-13 Thread John Baldwin
Author: jhb Date: Wed May 13 17:53:04 2009 New Revision: 192050 URL: http://svn.freebsd.org/changeset/base/192050 Log: Implement simple machine check support for amd64 and i386. - For CPUs that only support MCE (the machine check exception) but not MCA (i.e. Pentium), all this does is prin

svn commit: r192051 - head/sys/dev/usb

2009-05-13 Thread Andrew Thompson
Author: thompsa Date: Wed May 13 17:58:37 2009 New Revision: 192051 URL: http://svn.freebsd.org/changeset/base/192051 Log: The transfer must return USB_ERR_CANCELLED when the device is gone due to the way usb drivers work. Submitted by: Hans Petter Selasky Modified: head/sys/dev/usb/us

svn commit: r192052 - in head/sys/dev/usb: . storage

2009-05-13 Thread Andrew Thompson
Author: thompsa Date: Wed May 13 18:03:23 2009 New Revision: 192052 URL: http://svn.freebsd.org/changeset/base/192052 Log: Sync to P4 Add umass quirks for Alcor AU6390, Cypress PATA 6830XX and MPMan MPF400. Submitted by: Hans Petter Selasky Modified: head/sys/dev/usb/storage/umass.c

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

2009-05-13 Thread Andrew Thompson
Author: thompsa Date: Wed May 13 18:04:51 2009 New Revision: 192053 URL: http://svn.freebsd.org/changeset/base/192053 Log: Add debug lines for fullspeed and highspeed xfer completion. Submitted by: Hans Petter Selasky Modified: head/sys/dev/usb/controller/ehci.c Modified: head/sys/dev/u

svn commit: r192054 - head/sys/dev/usb

2009-05-13 Thread Andrew Thompson
Author: thompsa Date: Wed May 13 18:05:40 2009 New Revision: 192054 URL: http://svn.freebsd.org/changeset/base/192054 Log: Check the correct variable for IO_NDELAY. Submitted by: Hans Petter Selasky Modified: head/sys/dev/usb/usb_dev.c Modified: head/sys/dev/usb/usb_dev.c ==

svn commit: r192055 - head/sys/dev/usb

2009-05-13 Thread Andrew Thompson
Author: thompsa Date: Wed May 13 18:06:52 2009 New Revision: 192055 URL: http://svn.freebsd.org/changeset/base/192055 Log: Make sure collections have the usage field set. Submitted by: Hans Petter Selasky Modified: head/sys/dev/usb/usb_hid.c Modified: head/sys/dev/usb/usb_hid.c

svn commit: r192056 - head/sys/dev/usb

2009-05-13 Thread Andrew Thompson
Author: thompsa Date: Wed May 13 18:25:14 2009 New Revision: 192056 URL: http://svn.freebsd.org/changeset/base/192056 Log: Add parenthesis around the xfer macro argument. Submitted by: Hans Petter Selasky Modified: head/sys/dev/usb/usb_core.h Modified: head/sys/dev/usb/usb_core.h ==

svn commit: r192057 - head/sys/dev/usb/storage

2009-05-13 Thread Andrew Thompson
Author: thompsa Date: Wed May 13 18:26:55 2009 New Revision: 192057 URL: http://svn.freebsd.org/changeset/base/192057 Log: Ensure the bmRequestType is the right type for the incoming control request. Submitted by: Hans Petter Selasky Modified: head/sys/dev/usb/storage/ustorage_fs.c Modi

svn commit: r192058 - head/sys/dev/flash

2009-05-13 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed May 13 18:31:28 2009 New Revision: 192058 URL: http://svn.freebsd.org/changeset/base/192058 Log: - Remove nonexistent header file from includes list Modified: head/sys/dev/flash/at45d.c Modified: head/sys/dev/flash/at45d.c =

svn commit: r192059 - in head/sys: arm/at91 dev/spibus

2009-05-13 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed May 13 18:42:49 2009 New Revision: 192059 URL: http://svn.freebsd.org/changeset/base/192059 Log: - Make SPI bus bridge be non-arch dependent by using more generic name Reviewed by: imp Modified: head/sys/arm/at91/at91_spi.c head/sys/dev/spibus/spibus.c M

svn commit: r192060 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb dev/isp

2009-05-13 Thread Marius Strobl
Author: marius Date: Wed May 13 19:26:04 2009 New Revision: 192060 URL: http://svn.freebsd.org/changeset/base/192060 Log: MFC: r191979 Change uses of the struct ccb_hdr timeout_ch missed when isp(4) was adapted to MPSAFE cam(4) to a isp(4) specific callout structure. Thanks to Florian S

svn commit: r192061 - in stable/6/sys: . contrib/pf dev/cxgb dev/isp

2009-05-13 Thread Marius Strobl
Author: marius Date: Wed May 13 19:26:19 2009 New Revision: 192061 URL: http://svn.freebsd.org/changeset/base/192061 Log: MFC: r191979 Change uses of the struct ccb_hdr timeout_ch missed when isp(4) was adapted to MPSAFE cam(4) to a isp(4) specific callout structure. Thanks to Florian S

svn commit: r192062 - head/sys/dev/snp

2009-05-13 Thread Ed Schouten
Author: ed Date: Wed May 13 19:29:50 2009 New Revision: 192062 URL: http://svn.freebsd.org/changeset/base/192062 Log: Keep this line shorter than 80 columns. Modified: head/sys/dev/snp/snp.c Modified: head/sys/dev/snp/snp.c

Re: svn commit: r192059 - in head/sys: arm/at91 dev/spibus

2009-05-13 Thread Stanislav Sedov
On Wed, 13 May 2009 18:42:49 + (UTC) Oleksandr Tymoshenko mentioned: > Author: gonzo > Date: Wed May 13 18:42:49 2009 > New Revision: 192059 > URL: http://svn.freebsd.org/changeset/base/192059 > > Log: > - Make SPI bus bridge be non-arch dependent by using more generic > name > >

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

2009-05-13 Thread Stanislav Sedov
Author: stas Date: Wed May 13 20:29:53 2009 New Revision: 192063 URL: http://svn.freebsd.org/changeset/base/192063 Log: - Style(9) and consistency nitpicking. Reviewed by: imp Modified: head/sys/arm/at91/if_ate.c Modified: head/sys/arm/at91/if_ate.c

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

2009-05-13 Thread Stanislav Sedov
Author: stas Date: Wed May 13 21:01:10 2009 New Revision: 192064 URL: http://svn.freebsd.org/changeset/base/192064 Log: - Set MAC address in ateinit, so it can be changed later. Modified: head/sys/arm/at91/if_ate.c Modified: head/sys/arm/at91/if_ate.c

svn commit: r192065 - head/sys/fs/nfsclient

2009-05-13 Thread Rick Macklem
Author: rmacklem Date: Wed May 13 21:18:34 2009 New Revision: 192065 URL: http://svn.freebsd.org/changeset/base/192065 Log: Apply a one line change to nfs_clbio.c (which is largely a copy of sys/nfsclient/nfs_bio.c) to track the change recently committed by acl for nfs_bio.c. Approved b

svn commit: r192066 - head/sys/dev/aic

2009-05-13 Thread Dag-Erling Smorgrav
Author: des Date: Wed May 13 22:31:25 2009 New Revision: 192066 URL: http://svn.freebsd.org/changeset/base/192066 Log: Snip redundant assignment. Approved by: scottl MFC after:2 weeks Coverity ID: 3863 Modified: head/sys/dev/aic/aic.c Modified: head/sys/dev/aic/aic.c =

svn commit: r192067 - in head/sys: conf powerpc/aim powerpc/booke powerpc/include powerpc/powerpc

2009-05-13 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu May 14 00:34:26 2009 New Revision: 192067 URL: http://svn.freebsd.org/changeset/base/192067 Log: Factor out platform dependent things unrelated to device drivers into a new platform module. These are probed in early boot, and have the responsibility of determinin

svn commit: r192068 - in stable/7: etc etc/mtree etc/rc.d gnu/usr.bin/man gnu/usr.bin/man/man

2009-05-13 Thread Dag-Erling Smorgrav
Author: des Date: Thu May 14 01:35:43 2009 New Revision: 192068 URL: http://svn.freebsd.org/changeset/base/192068 Log: MFC r183696, r183698: enable UTF-8 for man pages. Modified: stable/7/etc/ (props changed) stable/7/etc/Makefile stable/7/etc/mtree/BSD.usr.dist stable/7/etc/rc.d/ (

svn commit: r192069 - stable/7/lib/libutil

2009-05-13 Thread Dag-Erling Smorgrav
Author: des Date: Thu May 14 01:38:06 2009 New Revision: 192069 URL: http://svn.freebsd.org/changeset/base/192069 Log: MFC r184633, r184635, r184683: WARNS cleanup Modified: stable/7/lib/libutil/ (props changed) stable/7/lib/libutil/Makefile stable/7/lib/libutil/login_cap.c stable/7/l

svn commit: r192070 - stable/7/libexec/rpc.rquotad

2009-05-13 Thread Dag-Erling Smorgrav
Author: des Date: Thu May 14 01:40:36 2009 New Revision: 192070 URL: http://svn.freebsd.org/changeset/base/192070 Log: MFC r184638: style and WARNS cleanup Modified: stable/7/libexec/rpc.rquotad/ (props changed) stable/7/libexec/rpc.rquotad/Makefile stable/7/libexec/rpc.rquotad/rquotad.

svn commit: r192071 - stable/7/share/man/man9

2009-05-13 Thread Dag-Erling Smorgrav
Author: des Date: Thu May 14 01:41:54 2009 New Revision: 192071 URL: http://svn.freebsd.org/changeset/base/192071 Log: MFC r184690: missing email address Modified: stable/7/share/man/man9/ (props changed) stable/7/share/man/man9/pseudofs.9 Modified: stable/7/share/man/man9/pseudofs.9 ===

svn commit: r192072 - in stable/7/sys: . compat/linprocfs contrib/pf dev/ath/ath_hal dev/cxgb

2009-05-13 Thread Dag-Erling Smorgrav
Author: des Date: Thu May 14 02:00:50 2009 New Revision: 192072 URL: http://svn.freebsd.org/changeset/base/192072 Log: MFC r184691: convert to UTF-8. Modified: stable/7/sys/ (props changed) stable/7/sys/compat/linprocfs/linprocfs.c stable/7/sys/contrib/pf/ (props changed) stable/7/s

svn commit: r192073 - stable/7/usr.bin/fetch

2009-05-13 Thread Dag-Erling Smorgrav
Author: des Date: Thu May 14 02:07:41 2009 New Revision: 192073 URL: http://svn.freebsd.org/changeset/base/192073 Log: MFC 185912: Apply the same defaults to HTTPS as to HTTP. MFC 187361: Fix FTP / HTTP timeouts Modified: stable/7/usr.bin/fetch/ (props changed) stable/7/usr.bin/fetch/fe

svn commit: r192074 - stable/7/share/man/man9

2009-05-13 Thread Dag-Erling Smorgrav
Author: des Date: Thu May 14 02:09:09 2009 New Revision: 192074 URL: http://svn.freebsd.org/changeset/base/192074 Log: MFC r186224: exeunt Modified: stable/7/share/man/man9/ (props changed) stable/7/share/man/man9/style.9 Modified: stable/7/share/man/man9/style.9 ===

svn commit: r192075 - stable/7/usr.bin/sockstat

2009-05-13 Thread Dag-Erling Smorgrav
Author: des Date: Thu May 14 02:10:31 2009 New Revision: 192075 URL: http://svn.freebsd.org/changeset/base/192075 Log: MFC r187915: make sure columns don't run into each other. PR: bin/129318 Modified: stable/7/usr.bin/sockstat/ (props changed) stable/7/usr.bin/sockstat/soc

svn commit: r192076 - in stable/7/etc: . rc.d

2009-05-13 Thread Dag-Erling Smorgrav
Author: des Date: Thu May 14 02:14:46 2009 New Revision: 192076 URL: http://svn.freebsd.org/changeset/base/192076 Log: MFC r190032: add hostid Modified: stable/7/etc/ (props changed) stable/7/etc/netstart stable/7/etc/rc.d/ (props changed) Modified: stable/7/etc/netstart

svn commit: r192077 - stable/7/share/timedef

2009-05-13 Thread Dag-Erling Smorgrav
Author: des Date: Thu May 14 02:20:37 2009 New Revision: 192077 URL: http://svn.freebsd.org/changeset/base/192077 Log: MFC r190774: fix ISO8859-15 links for nb_NO / no_NO. Modified: stable/7/share/timedef/ (props changed) stable/7/share/timedef/Makefile Modified: stable/7/share/timedef/M

svn commit: r192078 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb dev/ichwd

2009-05-13 Thread Dag-Erling Smorgrav
Author: des Date: Thu May 14 02:27:38 2009 New Revision: 192078 URL: http://svn.freebsd.org/changeset/base/192078 Log: MFC r190030: rename a couple of functions, add comments Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed) stable/7/sys/dev/ath/ath_hal/

Re: svn commit: r191983 - in head/sys: dev/usb/wlan modules/usb/upgt

2009-05-13 Thread Weongyo Jeong
On Wed, May 13, 2009 at 06:09:42PM +0100, Robert Watson wrote: > > On Mon, 11 May 2009, Weongyo Jeong wrote: > > >Author: weongyo > >Date: Mon May 11 02:39:49 2009 > >New Revision: 191983 > >URL: http://svn.freebsd.org/changeset/base/191983 > > > >Log: > > ports upgt(4) driver for USB2. > > Ah,

svn commit: r192079 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb fs/procfs fs/pseudofs

2009-05-13 Thread Dag-Erling Smorgrav
Author: des Date: Thu May 14 02:42:29 2009 New Revision: 192079 URL: http://svn.freebsd.org/changeset/base/192079 Log: MFC r188677: always call pfs_attr if defined MFC r190806: fix incorrect KASSERT, add more MFC r188677: remove incorrect locking Modified: stable/7/sys/ (props changed)

svn commit: r192080 - in head/sys: kern sys

2009-05-13 Thread Jeff Roberson
Author: jeff Date: Thu May 14 03:24:22 2009 New Revision: 192080 URL: http://svn.freebsd.org/changeset/base/192080 Log: - Implement a lockless file descriptor lookup algorithm in fget_unlocked(). - Save old file descriptor tables created on expansion until the entire descriptor tab

svn commit: r192081 - head/sys/dev/e1000

2009-05-13 Thread Kip Macy
Author: kmacy Date: Thu May 14 03:33:04 2009 New Revision: 192081 URL: http://svn.freebsd.org/changeset/base/192081 Log: Call drbr_stats_update to update ifp stats directly when we bypass the buf_ring on transmit Modified: head/sys/dev/e1000/if_em.c Modified: head/sys/dev/e1000/if_em.c

svn commit: r192085 - head/sys/netinet

2009-05-13 Thread Qing Li
Author: qingli Date: Thu May 14 05:27:09 2009 New Revision: 192085 URL: http://svn.freebsd.org/changeset/base/192085 Log: Ignore the INADDR_ANY address inserted/deleted by DHCP when installing a loopback route to the interface address. Modified: head/sys/netinet/in.c Modified: head/sys/ne