svn commit: r188570 - head/sys/cam

2009-02-13 Thread Scott Long
Author: scottl Date: Fri Feb 13 10:04:59 2009 New Revision: 188570 URL: http://svn.freebsd.org/changeset/base/188570 Log: In the case that the probe has determined that it can't query the device for a serial number, fall through to the next case so that initial negotiation still happens. Wi

svn commit: r188571 - head/sys/kern

2009-02-13 Thread Luigi Rizzo
Author: luigi Date: Fri Feb 13 11:36:32 2009 New Revision: 188571 URL: http://svn.freebsd.org/changeset/base/188571 Log: Clarify and reimplement the bioq API so that bioq_disksort() has the correct behaviour (sorting by distance from the current head position in the scan direction) and bioq_

svn commit: r188572 - head/sys/compat/linux

2009-02-13 Thread Alexander Leidinger
Author: netchild Date: Fri Feb 13 11:55:19 2009 New Revision: 188572 URL: http://svn.freebsd.org/changeset/base/188572 Log: Fix an edge-case of the linux readdir: We need the size of a linux dirent structure, not the size of a pointer to it. PR: 131099 Submitted by: Andreas Ki

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

2009-02-13 Thread Konstantin Belousov
Author: kib Date: Fri Feb 13 12:15:45 2009 New Revision: 188574 URL: http://svn.freebsd.org/changeset/base/188574 Log: MFC r187223: Redo the locking of the semaphores lifetime cycle. MFC r187298: Lock the semaphore identifier lock during semaphore initialization. Modified: stable/7/s

svn commit: r188575 - head/sys/net

2009-02-13 Thread Maxim Konovalov
Author: maxim Date: Fri Feb 13 12:59:54 2009 New Revision: 188575 URL: http://svn.freebsd.org/changeset/base/188575 Log: o In case of the error do not forget to deallocate a cloned device unit. PR: kern/131642 Submitted by: Dmitrij Tejblum MFC after:1 week Modified: hea

svn commit: r188576 - stable/7/sys/netinet

2009-02-13 Thread Luigi Rizzo
Author: luigi Date: Fri Feb 13 13:35:41 2009 New Revision: 188576 URL: http://svn.freebsd.org/changeset/base/188576 Log: remove some unnecessary #include The change is not directly applicable to HEAD because there a lot of headers are already included by vnet.h Modified: stable/7/sys/n

svn commit: r188577 - head/sys/netinet

2009-02-13 Thread Randall Stewart
Author: rrs Date: Fri Feb 13 14:43:46 2009 New Revision: 188577 URL: http://svn.freebsd.org/changeset/base/188577 Log: Move the new rwnd field down to the very end of the xsctp structure. This is where all new fields belong (not that we will be ABI compatiable with 7.x anyway.. sigh). Mod

Re: svn commit: r188570 - head/sys/cam

2009-02-13 Thread Attila Nagy
Hello, Scott Long wrote: Author: scottl Date: Fri Feb 13 10:04:59 2009 New Revision: 188570 URL: http://svn.freebsd.org/changeset/base/188570 Log: In the case that the probe has determined that it can't query the device for a serial number, fall through to the next case so that initial nego

svn commit: r188578 - head/sys/netinet

2009-02-13 Thread Luigi Rizzo
Author: luigi Date: Fri Feb 13 15:14:43 2009 New Revision: 188578 URL: http://svn.freebsd.org/changeset/base/188578 Log: Use uint32_t instead of n_long and n_time, and uint16_t instead of n_short. Add a note next to fields in network format. The n_* types are not enough for compiler check

svn commit: r188579 - head/sys/compat/linprocfs

2009-02-13 Thread John Baldwin
Author: jhb Date: Fri Feb 13 15:32:03 2009 New Revision: 188579 URL: http://svn.freebsd.org/changeset/base/188579 Log: Fix a bug in the previous change to the mtab handler: use the path returned by vn_fullpath() when vn_fullpath() succeeds instead of when it fails. Submitted by: Artem Bel

svn commit: r188580 - head/sys/netinet

2009-02-13 Thread Luigi Rizzo
Author: luigi Date: Fri Feb 13 15:37:14 2009 New Revision: 188580 URL: http://svn.freebsd.org/changeset/base/188580 Log: remove unnecessary #include, and document some of the others Modified: head/sys/netinet/ip_dummynet.c head/sys/netinet/ip_fw2.c Modified: head/sys/netinet/ip_dummynet.c

svn commit: r188581 - head/sys/arm/arm

2009-02-13 Thread Olivier Houchard
Author: cognet Date: Fri Feb 13 16:00:19 2009 New Revision: 188581 URL: http://svn.freebsd.org/changeset/base/188581 Log: Oops. ARM_RAS_END is ARM_TP_ADDRESS + 8, not 4. Spotted out by: Mark Tinguely Modified: head/sys/arm/arm/swtch.S Modified: head/sys/arm/arm/swtch.S ==

svn commit: r188582 - in head/sys/dev: iwn wpi

2009-02-13 Thread Sam Leffler
Author: sam Date: Fri Feb 13 16:17:05 2009 New Revision: 188582 URL: http://svn.freebsd.org/changeset/base/188582 Log: remove references to ic_stats Spotted by: Lucius Windschuh Modified: head/sys/dev/iwn/if_iwn.c head/sys/dev/wpi/if_wpi.c Modified: head/sys/dev/iwn/if_iwn.c ==

svn commit: r188583 - in head: gnu/lib/libgcc lib/libc_r lib/libkse lib/libthr

2009-02-13 Thread Jung-uk Kim
Author: jkim Date: Fri Feb 13 16:51:36 2009 New Revision: 188583 URL: http://svn.freebsd.org/changeset/base/188583 Log: Honor WITHOUT_INSTALLLIB in some places. Modified: head/gnu/lib/libgcc/Makefile head/lib/libc_r/Makefile head/lib/libkse/Makefile head/lib/libthr/Makefile Modified: h

svn commit: r188584 - head/sys/dev/firewire

2009-02-13 Thread Sean Bruno
Author: sbruno Date: Fri Feb 13 17:44:07 2009 New Revision: 188584 URL: http://svn.freebsd.org/changeset/base/188584 Log: Remove redundant while () from loop. Submitted by: Ganbold Reviewed by: scottl Modified: head/sys/dev/firewire/fwohci.c Modified: head/sys/dev/firewire/fwohci.

svn commit: r188585 - head/sys/dev/firewire

2009-02-13 Thread Sean Bruno
Author: sbruno Date: Fri Feb 13 17:45:09 2009 New Revision: 188585 URL: http://svn.freebsd.org/changeset/base/188585 Log: Update the Self ID structure to conform to 1394a-2000. Delete the unused defines. Reviewed by: scottl Modified: head/sys/dev/firewire/firewire.h Modified: head

svn commit: r188586 - stable/7/sys/netinet

2009-02-13 Thread Luigi Rizzo
Author: luigi Date: Fri Feb 13 18:04:55 2009 New Revision: 188586 URL: http://svn.freebsd.org/changeset/base/188586 Log: document why certain headers are required. Modified: stable/7/sys/netinet/ip_dummynet.c Modified: stable/7/sys/netinet/ip_dummynet.c ==

svn commit: r188587 - stable/7/sys/netinet

2009-02-13 Thread Luigi Rizzo
Author: luigi Date: Fri Feb 13 18:09:38 2009 New Revision: 188587 URL: http://svn.freebsd.org/changeset/base/188587 Log: MFC - replace usage of n_* types with uint*_t , to help removing unnecessary dependencies on in_systm.h Modified: stable/7/sys/netinet/in_systm.h stable/7/sys/netinet/i

svn commit: r188588 - in head/sys: cddl/contrib/opensolaris/uts/common/fs/zfs compat/linux compat/svr4 fs/coda i386/ibcs2 kern nfsserver

2009-02-13 Thread John Baldwin
Author: jhb Date: Fri Feb 13 18:18:14 2009 New Revision: 188588 URL: http://svn.freebsd.org/changeset/base/188588 Log: Use shared vnode locks when invoking VOP_READDIR(). MFC after:1 month Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c head/sys/compat/lin

svn commit: r188589 - stable/7/sys/netinet

2009-02-13 Thread Luigi Rizzo
Author: luigi Date: Fri Feb 13 18:31:35 2009 New Revision: 188589 URL: http://svn.freebsd.org/changeset/base/188589 Log: remove some unnecessary #include Again, this change is not directly applicable to HEAD due to the presence of vnet.h and vinet.h which bring in almost every network-rela

svn commit: r188590 - head/sys/netinet

2009-02-13 Thread Randall Stewart
Author: rrs Date: Fri Feb 13 18:44:30 2009 New Revision: 188590 URL: http://svn.freebsd.org/changeset/base/188590 Log: Have the jail code use the error returned to pass not constant errors. Obtained from:ja...@freebsd.org Modified: head/sys/netinet/sctp_pcb.c head/sys/netinet/sc

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

2009-02-13 Thread Andrew Thompson
Author: thompsa Date: Fri Feb 13 18:45:36 2009 New Revision: 188591 URL: http://svn.freebsd.org/changeset/base/188591 Log: Add the Novatel U760. Modified: head/sys/dev/usb/usbdevs Modified: head/sys/dev/usb/usbdevs =

svn commit: r188592 - head/sys/kern

2009-02-13 Thread Andrew Thompson
Author: thompsa Date: Fri Feb 13 18:51:39 2009 New Revision: 188592 URL: http://svn.freebsd.org/changeset/base/188592 Log: Remove semicolon left in the last commit Spotted by: csjp Modified: head/sys/kern/subr_taskqueue.c Modified: head/sys/kern/subr_taskqueue.c ==

Re: svn commit: r188587 - stable/7/sys/netinet

2009-02-13 Thread Robert Watson
On Fri, 13 Feb 2009, Luigi Rizzo wrote: Author: luigi Date: Fri Feb 13 18:09:38 2009 New Revision: 188587 URL: http://svn.freebsd.org/changeset/base/188587 Log: MFC - replace usage of n_* types with uint*_t , to help removing unnecessary dependencies on in_systm.h As harmless as these chan

svn commit: r188593 - stable/7/sbin/route

2009-02-13 Thread Alexander Motin
Author: mav Date: Fri Feb 13 19:16:15 2009 New Revision: 188593 URL: http://svn.freebsd.org/changeset/base/188593 Log: MFC rev. 187384 Fix regression introduced at rev. 173124: 0.0.0.0/1 is not the same as 0.0.0.0/0. Modified: stable/7/sbin/route/ (props changed) stable/7/sbin/rout

svn commit: r188594 - head/sys/net

2009-02-13 Thread Andrew Thompson
Author: thompsa Date: Fri Feb 13 19:20:25 2009 New Revision: 188594 URL: http://svn.freebsd.org/changeset/base/188594 Log: bridge_delete_member is called via the event handler from if_detach after the LLADDR is reclaimed which causes a null pointer deref with inherit_mac enabled. Record the

svn commit: r188596 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb geom/label

2009-02-13 Thread Ulf Lilleengen
Author: lulf Date: Fri Feb 13 19:49:35 2009 New Revision: 188596 URL: http://svn.freebsd.org/changeset/base/188596 Log: MFC r188492: - Use the correct argument when determining the buffer size. PR: kern/131575 Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/p

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

2009-02-13 Thread Nick Hibma
Author: n_hibma Date: Fri Feb 13 19:49:51 2009 New Revision: 188597 URL: http://svn.freebsd.org/changeset/base/188597 Log: Add support for CMOTECH devices (not sure whether this is the correct name) (not sure whether this works correctly, but should be close). Fix the stub attach phase fo

svn commit: r188599 - head/share/man/man4

2009-02-13 Thread Nick Hibma
Author: n_hibma Date: Fri Feb 13 20:09:11 2009 New Revision: 188599 URL: http://svn.freebsd.org/changeset/base/188599 Log: Elaborate some on the workings of the stub. Collapse up the list of supported devices. Modified: head/share/man/man4/u3g.4 Modified: head/share/man/man4/u3g.4

Re: svn commit: r188570 - head/sys/cam

2009-02-13 Thread Scott Long
Attila Nagy wrote: Hello, Scott Long wrote: Author: scottl Date: Fri Feb 13 10:04:59 2009 New Revision: 188570 URL: http://svn.freebsd.org/changeset/base/188570 Log: In the case that the probe has determined that it can't query the device for a serial number, fall through to the next case

svn commit: r188600 - head/sys/dev/usb2/core

2009-02-13 Thread Andrew Thompson
Author: thompsa Date: Fri Feb 13 20:57:43 2009 New Revision: 188600 URL: http://svn.freebsd.org/changeset/base/188600 Log: MFp4 //depot/projects/usb; 157501, 157608, 157609 - Make usb2_transfer_pending() part of the USB core header file. - Make usb2_transfer_pending() NULL safe. - Ma

svn commit: r188601 - head/sys/dev/usb2/wlan

2009-02-13 Thread Andrew Thompson
Author: thompsa Date: Fri Feb 13 21:45:19 2009 New Revision: 188601 URL: http://svn.freebsd.org/changeset/base/188601 Log: - ieee80211_chan2ieee returns an int - set ic_update_promisc to the same callback as mcast - avoid null deref in zyd_detach Obtained from://depot/projects/u

svn commit: r188602 - head/usr.sbin/inetd

2009-02-13 Thread Xin LI
Author: delphij Date: Fri Feb 13 22:48:05 2009 New Revision: 188602 URL: http://svn.freebsd.org/changeset/base/188602 Log: Sync comment with actual configuration format. Modified: head/usr.sbin/inetd/inetd.c Modified: head/usr.sbin/inetd/inetd.c ==

Re: svn commit: r188587 - stable/7/sys/netinet

2009-02-13 Thread Luigi Rizzo
On Fri, Feb 13, 2009 at 06:54:37PM +, Robert Watson wrote: > > On Fri, 13 Feb 2009, Luigi Rizzo wrote: > > >Author: luigi > >Date: Fri Feb 13 18:09:38 2009 > >New Revision: 188587 > >URL: http://svn.freebsd.org/changeset/base/188587 > > > >Log: > > MFC - replace usage of n_* types with uint*_

svn commit: r188603 - head/sys/dev/kbdmux

2009-02-13 Thread Andrew Thompson
Author: thompsa Date: Fri Feb 13 23:36:08 2009 New Revision: 188603 URL: http://svn.freebsd.org/changeset/base/188603 Log: Since r188030 the error value for attach is returned, this means if kbdmux fails to attach (possibly due to disable hints) then we get called back for unload. Correctly

Re: svn commit: r188603 - head/sys/dev/kbdmux

2009-02-13 Thread Maksim Yevmenkin
On Fri, Feb 13, 2009 at 3:36 PM, Andrew Thompson wrote: > Author: thompsa > Date: Fri Feb 13 23:36:08 2009 > New Revision: 188603 > URL: http://svn.freebsd.org/changeset/base/188603 > > Log: > Since r188030 the error value for attach is returned, this means if kbdmux > fails to attach (possibly