svn commit: r187762 - head/sbin/ipfw

2009-01-26 Thread Luigi Rizzo
Author: luigi Date: Tue Jan 27 07:40:16 2009 New Revision: 187762 URL: http://svn.freebsd.org/changeset/base/187762 Log: remove a couple of rarely used #define; change PRINT_UINT from a macro to a function (renaming is postponed to reduce clutter) Modified: head/sbin/ipfw/ipfw2.c Modi

svn commit: r187761 - in head: lib/libpmc sys/dev/hwpmc sys/sys

2009-01-26 Thread Jeff Roberson
Author: jeff Date: Tue Jan 27 07:29:37 2009 New Revision: 187761 URL: http://svn.freebsd.org/changeset/base/187761 Log: - Add support for nehalem/corei7 cpus. This supports all of the core counters defined in the reference manual. It does not support the 'uncore' events. Review

svn commit: r187749 - stable/7/sbin/fsck_ffs

2009-01-26 Thread Xin LI
Author: delphij Date: Tue Jan 27 00:31:25 2009 New Revision: 187749 URL: http://svn.freebsd.org/changeset/base/187749 Log: MFC r187501 + r187748: Rename option 'C' to 'D' (damaged). Modified: stable/7/sbin/fsck_ffs/ (props changed) stable/7/sbin/fsck_ffs/fsck.h stable/7/sbin/fsck_f

svn commit: r187748 - head/sbin/fsck_ffs

2009-01-26 Thread Xin LI
Author: delphij Date: Tue Jan 27 00:29:19 2009 New Revision: 187748 URL: http://svn.freebsd.org/changeset/base/187748 Log: Follow up with previous commit: mention -D, not -C when cg check failed. Submitted by: obrien Modified: head/sbin/fsck_ffs/fsutil.c Modified: head/sbin/fsck_ffs/f

svn commit: r187747 - head/share/man/man7

2009-01-26 Thread Tom Rhodes
Author: trhodes Date: Tue Jan 27 00:23:43 2009 New Revision: 187747 URL: http://svn.freebsd.org/changeset/base/187747 Log: s/use/using/ in previous commit. Suggested by: jhb Modified: head/share/man/man7/tuning.7 Modified: head/share/man/man7/tuning.7 ===

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

2009-01-26 Thread Tom Rhodes
Author: trhodes Date: Tue Jan 27 00:22:16 2009 New Revision: 187746 URL: http://svn.freebsd.org/changeset/base/187746 Log: Add ENOMEM to the return values. Remove invalid return values. Remove reference to non-existent manual pages. Remove reference to rfork (it does not discuss RFSTOPPED)

svn commit: r187743 - head/etc

2009-01-26 Thread Sam Leffler
Author: sam Date: Mon Jan 26 23:05:50 2009 New Revision: 187743 URL: http://svn.freebsd.org/changeset/base/187743 Log: Remove DETACH event handling; this is race prone and does nothing useful. Leave a comment for the next person that thinks they need to be helpful. Reviewed by: imp, jhb

Re: svn commit: r187607 - head/usr.bin/truss

2009-01-26 Thread David Schultz
On Mon, Jan 26, 2009, Kostik Belousov wrote: > > Process kstack swapping was removed several years ago, so > > "swapping out" a process just deactivates all of its pages. > > In principle this could be safe to do with init, but it's probably > > a bad idea, and perhaps could lead to deadlock in the

svn commit: r187742 - head/usr.sbin/config

2009-01-26 Thread Warner Losh
Author: imp Date: Mon Jan 26 21:45:33 2009 New Revision: 187742 URL: http://svn.freebsd.org/changeset/base/187742 Log: Delete commented out ancient history. Modified: head/usr.sbin/config/config.8 Modified: head/usr.sbin/config/config.8 ===

Re: svn commit: r187714 - head/sys/dev/ppbus

2009-01-26 Thread Christian Peron
John I think I found another issue relating to these changes. The patch I have attached fixes a panic on bootup in lpt. Any objections? On Mon, Jan 26, 2009 at 02:12:13PM +, John Baldwin wrote: > Author: jhb > Date: Mon Jan 26 14:12:12 2009 > New Revision: 187714 > URL: http://svn.freebsd.o

svn commit: r187741 - head/sys/dev/usb2/bluetooth

2009-01-26 Thread Maksim Yevmenkin
Author: emax Date: Mon Jan 26 20:59:41 2009 New Revision: 187741 URL: http://svn.freebsd.org/changeset/base/187741 Log: Clean up ng_ubt2. Get rid of excessive use of NG_NODE_REF/UNREF(). Make detach() completely synchronous. Properly handle stalled USB transfers (use internal mechanism inste

svn commit: r187740 - head/sys/dev/ppbus

2009-01-26 Thread John Baldwin
Author: jhb Date: Mon Jan 26 20:58:05 2009 New Revision: 187740 URL: http://svn.freebsd.org/changeset/base/187740 Log: Don't unlock the parent ppc lock until after releasing the ppbus. Submitted by: csjp Modified: head/sys/dev/ppbus/lpt.c Modified: head/sys/dev/ppbus/lpt.c =

svn commit: r187739 - stable/7/sys/net80211

2009-01-26 Thread Doug White
Author: dwhite Date: Mon Jan 26 20:24:04 2009 New Revision: 187739 URL: http://svn.freebsd.org/changeset/base/187739 Log: Fix hostap power-save station support by always initializing the TIM bitmaps. Prior to this change, hostap would queue packets for power-saved stations but not indicate i

Re: svn commit: r187607 - head/usr.bin/truss

2009-01-26 Thread Kostik Belousov
On Mon, Jan 26, 2009 at 02:03:10PM -0500, David Schultz wrote: > On Mon, Jan 26, 2009, Bruce Evans wrote: > > - P_SYSTEM has something to do with swapping, and I also removed the > > PS_INMEM setting for init. I have always used NO_SWAPPING and haven't > > used a swap partition since memory si

Re: svn commit: r187607 - head/usr.bin/truss

2009-01-26 Thread David Schultz
On Mon, Jan 26, 2009, Bruce Evans wrote: > - P_SYSTEM has something to do with swapping, and I also removed the > PS_INMEM setting for init. I have always used NO_SWAPPING and haven't > used a swap partition since memory sizes reached 64MB, so I wouldn't > have noticed problems with this. i

svn commit: r187734 - head/bin/chmod

2009-01-26 Thread Tom Rhodes
Author: trhodes Date: Mon Jan 26 18:14:21 2009 New Revision: 187734 URL: http://svn.freebsd.org/changeset/base/187734 Log: Make the Monty Python quote more google friendly instead of hacking it apart. Discussed with: Christoph Mallon Modified: head/bin/chmod/chmod.1 Modified: h

Re: svn commit: r187580 - head/tools/sched

2009-01-26 Thread M. Warner Losh
In message: <20090126174908.gf87...@dragon.nuxi.org> "David O'Brien" writes: : On Mon, Jan 26, 2009 at 10:27:49AM -0700, M. Warner Losh wrote: : > In message: <20090126083518.gb87...@dragon.nuxi.org> : > "David O'Brien" writes: : > : On Thu, Jan 22, 2009 at 10:41:14AM -070

svn commit: r187732 - head/sys/dev/usb2/controller

2009-01-26 Thread Andrew Thompson
Author: thompsa Date: Mon Jan 26 17:55:07 2009 New Revision: 187732 URL: http://svn.freebsd.org/changeset/base/187732 Log: MFp4 //depot/projects/usb/ @156706 Adjust an UHCI portreset delay. Submitted by: Hans Petter Selasky Modified: head/sys/dev/usb2/controller/uhci2.c Modified:

svn commit: r187731 - head/sys/dev/usb2/include

2009-01-26 Thread Andrew Thompson
Author: thompsa Date: Mon Jan 26 17:50:20 2009 New Revision: 187731 URL: http://svn.freebsd.org/changeset/base/187731 Log: Regen. Modified: head/sys/dev/usb2/include/usb2_devid.h head/sys/dev/usb2/include/usb2_devtable.h Modified: head/sys/dev/usb2/include/usb2_devid.h

svn commit: r187730 - in head/sys/dev/usb2: controller core

2009-01-26 Thread Andrew Thompson
Author: thompsa Date: Mon Jan 26 17:49:58 2009 New Revision: 187730 URL: http://svn.freebsd.org/changeset/base/187730 Log: MFp4 //depot/projects/usb/ @156522,156530 UHCI SOF Quirk. Makes some broken USB devices work again. Reported by several people. Patch made by me. Submitted b

Re: svn commit: r187580 - head/tools/sched

2009-01-26 Thread David O'Brien
On Mon, Jan 26, 2009 at 10:27:49AM -0700, M. Warner Losh wrote: > In message: <20090126083518.gb87...@dragon.nuxi.org> > "David O'Brien" writes: > : On Thu, Jan 22, 2009 at 10:41:14AM -0700, M. Warner Losh wrote: > : > In message: <200901220621.n0m6lu5v002...@svn.freebsd.org> > : >

svn commit: r187728 - head/sys/dev/usb2/serial

2009-01-26 Thread Andrew Thompson
Author: thompsa Date: Mon Jan 26 17:47:32 2009 New Revision: 187728 URL: http://svn.freebsd.org/changeset/base/187728 Log: MFp4 //depot/projects/usb/ @156521 U3G regression issue. Patch to support multiple modem instances per logical USB interface. Submitted by: Hans Petter Selasky

svn commit: r187727 - head/sys/dev/usb2/include

2009-01-26 Thread Andrew Thompson
Author: thompsa Date: Mon Jan 26 17:45:50 2009 New Revision: 187727 URL: http://svn.freebsd.org/changeset/base/187727 Log: Fix up USB_GET_REPORT_DESC ioctl. Submitted by: daichi Modified: head/sys/dev/usb2/include/usb2_ioctl.h Modified: head/sys/dev/usb2/include/usb2_ioctl.h ===

svn commit: r187726 - in head/sys/dev: usb usb2/storage

2009-01-26 Thread Andrew Thompson
Author: thompsa Date: Mon Jan 26 17:43:58 2009 New Revision: 187726 URL: http://svn.freebsd.org/changeset/base/187726 Log: Add umass quirk. Submitted by: Hans Petter Selasky Modified: head/sys/dev/usb/usbdevs head/sys/dev/usb2/storage/umass2.c Modified: head/sys/dev/usb/usbdevs ==

svn commit: r187725 - in head/sys/dev: usb usb2/quirk

2009-01-26 Thread Andrew Thompson
Author: thompsa Date: Mon Jan 26 17:42:02 2009 New Revision: 187725 URL: http://svn.freebsd.org/changeset/base/187725 Log: Add a usb hid quirk. Submitted by: Andre Guibert de Bruet Modified: head/sys/dev/usb/usbdevs head/sys/dev/usb2/quirk/usb2_quirk.c Modified: head/sys/dev/usb/usbde

Re: svn commit: r187580 - head/tools/sched

2009-01-26 Thread M. Warner Losh
In message: <20090126083518.gb87...@dragon.nuxi.org> "David O'Brien" writes: : On Thu, Jan 22, 2009 at 10:41:14AM -0700, M. Warner Losh wrote: : > In message: <200901220621.n0m6lu5v002...@svn.freebsd.org> : > Jeff Roberson writes: : > : Author: jeff : > : Date: Thu Jan 22

svn commit: r187724 - head/include

2009-01-26 Thread David E. O'Brien
Author: obrien Date: Mon Jan 26 17:09:26 2009 New Revision: 187724 URL: http://svn.freebsd.org/changeset/base/187724 Log: No need to wrap _PATH_SYSPATH. It makes it harder to grep(1) for its value. (also unwrapping better matches existing style) Modified: head/include/paths.h Modified: h

svn commit: r187723 - head/sys/conf

2009-01-26 Thread Roman Divacky
Author: rdivacky Date: Mon Jan 26 17:00:58 2009 New Revision: 187723 URL: http://svn.freebsd.org/changeset/base/187723 Log: kmod.mk includes bsd.sys.mk anyway so use CSTD instead of homegrown reimplementation of the same. Note that this changes -std=c99 to -std=iso9899:1999 but those two are

Re: svn commit: r187069 - stable/7/sbin/fsck_ffs

2009-01-26 Thread David O'Brien
On Mon, Jan 26, 2009 at 12:41:47AM -0800, Xin LI wrote: > Just a ping on this. Please let me know if you think it's Ok to MFC the > 'C' to 'D' change to avoid the upcoming conflict against your changeset. Sounds OK to me. ___ svn-src-all@freebsd.org mai

svn commit: r187722 - head/sys/kern

2009-01-26 Thread Ed Schouten
Author: ed Date: Mon Jan 26 16:43:18 2009 New Revision: 187722 URL: http://svn.freebsd.org/changeset/base/187722 Log: Use the proper flag to let kern.ttys be executed without Giant. Pointed out by: jhb Modified: head/sys/kern/tty.c Modified: head/sys/kern/tty.c ===

Re: svn commit: r187671 - head/sys/kern

2009-01-26 Thread Ed Schouten
* John Baldwin wrote: > On Saturday 24 January 2009 1:20:15 pm Ed Schouten wrote: > > Author: ed > > Date: Sat Jan 24 18:20:15 2009 > > New Revision: 187671 > > URL: http://svn.freebsd.org/changeset/base/187671 > > > > Log: > > Mark kern.ttys as MPSAFE. > > > > sysctl now allows Giantless

svn commit: r187721 - head/sys/dev/sound/pci/hda

2009-01-26 Thread Alexander Motin
Author: mav Date: Mon Jan 26 15:55:15 2009 New Revision: 187721 URL: http://svn.freebsd.org/changeset/base/187721 Log: Specify analog beep pin widget for several AD codecs. It gives working speaker control for that systems. Modified: head/sys/dev/sound/pci/hda/hdac.c Modified: head/sys/dev

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

2009-01-26 Thread John Baldwin
Author: jhb Date: Mon Jan 26 15:39:42 2009 New Revision: 187720 URL: http://svn.freebsd.org/changeset/base/187720 Log: MFC: Use the correct type for the timeout parameter to the 32-bit compat version aio_waitcomplete(). Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/

svn commit: r187719 - head/sys/kern

2009-01-26 Thread John Baldwin
Author: jhb Date: Mon Jan 26 15:32:39 2009 New Revision: 187719 URL: http://svn.freebsd.org/changeset/base/187719 Log: Whitespace tweak. Modified: head/sys/kern/subr_smp.c Modified: head/sys/kern/subr_smp.c == --- he

svn commit: r187718 - head/sys/cam

2009-01-26 Thread John Baldwin
Author: jhb Date: Mon Jan 26 15:01:47 2009 New Revision: 187718 URL: http://svn.freebsd.org/changeset/base/187718 Log: Now that mtx_sleep/msleep can accept Giant as the interlock, simplify the CAM locking code slightly to no longer special case sleeping when a sim uses Giant for its lock.

Re: svn commit: r187671 - head/sys/kern

2009-01-26 Thread John Baldwin
On Saturday 24 January 2009 1:20:15 pm Ed Schouten wrote: > Author: ed > Date: Sat Jan 24 18:20:15 2009 > New Revision: 187671 > URL: http://svn.freebsd.org/changeset/base/187671 > > Log: > Mark kern.ttys as MPSAFE. > > sysctl now allows Giantless calls, so make kern.ttys use this. If it >

Re: svn commit: r187713 - head/sbin/ipfw

2009-01-26 Thread Joerg Sonnenberger
On Mon, Jan 26, 2009 at 02:03:39PM +, Luigi Rizzo wrote: > Some implementations of getopt() expect that argv[0] is always the > program name, and ignore that entry. ipfw2.c code instead skips > this entry and starts with options at offset 0, relying on a more > tolerant implementation

svn commit: r187717 - head/sys/dev/sound/macio

2009-01-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Jan 26 14:43:18 2009 New Revision: 187717 URL: http://svn.freebsd.org/changeset/base/187717 Log: Change the way our softc is stored to use the devinfo facility provided by pcm instead of the regular device softc interface. This brings the AOA driver in line with

svn commit: r187716 - head/sbin/ipfw

2009-01-26 Thread Luigi Rizzo
Author: luigi Date: Mon Jan 26 14:26:35 2009 New Revision: 187716 URL: http://svn.freebsd.org/changeset/base/187716 Log: wrap all malloc/calloc/realloc calls so they exit on failure without having to check in each place. Remove an wrong strdup from previous commit. Modified: head/sbin/

svn commit: r187715 - head/sys/fs/fifofs

2009-01-26 Thread Konstantin Belousov
Author: kib Date: Mon Jan 26 14:21:00 2009 New Revision: 187715 URL: http://svn.freebsd.org/changeset/base/187715 Log: The kernel may do unbalanced calls to fifo_close() for fifo vnode, without corresponding number of fifo_open(). This causes assertion failure in fifo_close() due to vp->v_fi

svn commit: r187714 - head/sys/dev/ppbus

2009-01-26 Thread John Baldwin
Author: jhb Date: Mon Jan 26 14:12:12 2009 New Revision: 187714 URL: http://svn.freebsd.org/changeset/base/187714 Log: Add missing locking around setting the ppc interrupt handler IVAR. Reported by: many Modified: head/sys/dev/ppbus/ppbconf.c Modified: head/sys/dev/ppbus/ppbconf.c

svn commit: r187713 - head/sbin/ipfw

2009-01-26 Thread Luigi Rizzo
Author: luigi Date: Mon Jan 26 14:03:39 2009 New Revision: 187713 URL: http://svn.freebsd.org/changeset/base/187713 Log: Some implementations of getopt() expect that argv[0] is always the program name, and ignore that entry. ipfw2.c code instead skips this entry and starts with options at o

svn commit: r187712 - in head/usr.sbin: . i2c

2009-01-26 Thread Rafal Jaworowski
Author: raj Date: Mon Jan 26 14:00:50 2009 New Revision: 187712 URL: http://svn.freebsd.org/changeset/base/187712 Log: Introduce the I2C diagnostic utility. It let's discover and inspect slave devices on the bus. Reviewed by: bms, stas Obtained from:Semihalf Added: head/usr.

svn commit: r187711 - stable/6/share/man/man7

2009-01-26 Thread Thomas Abthorpe
Author: tabthorpe (ports committer) Date: Mon Jan 26 13:57:05 2009 New Revision: 187711 URL: http://svn.freebsd.org/changeset/base/187711 Log: MFC of r187573: Document targets run-depends-list and build-depends-list Approved by: keramida Modified: stable/6/share/man/man7/ports.7

svn commit: r187710 - stable/7/share/man/man7

2009-01-26 Thread Thomas Abthorpe
Author: tabthorpe (ports committer) Date: Mon Jan 26 13:56:23 2009 New Revision: 187710 URL: http://svn.freebsd.org/changeset/base/187710 Log: MFC of r187573: Document targets run-depends-list and build-depends-list Approved by: keramida Modified: stable/7/share/man/man7/ports.7 M

svn commit: r187709 - in head: share/man/man4 sys/dev/iicbus

2009-01-26 Thread Rafal Jaworowski
Author: raj Date: Mon Jan 26 13:53:39 2009 New Revision: 187709 URL: http://svn.freebsd.org/changeset/base/187709 Log: Teach iic(4) the 'repeated start' I2C condition. This will be used by the upcoming i2c(8) diag utility. Reviewed by: bms, stas Obtained from:Semihalf Modified

svn commit: r187708 - in head: etc/defaults etc/rc.d share/man/man5

2009-01-26 Thread Bjoern A. Zeeb
Author: bz Date: Mon Jan 26 12:59:11 2009 New Revision: 187708 URL: http://svn.freebsd.org/changeset/base/187708 Log: Update jail startup script for multi-IPv4/v6/no-IP jails. Note: this is only really necessary because of the ifconfig logic to add/remove the jail IPs upon start/sto

Re: svn commit: r187069 - stable/7/sbin/fsck_ffs

2009-01-26 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, David, Just a ping on this. Please let me know if you think it's Ok to MFC the 'C' to 'D' change to avoid the upcoming conflict against your changeset. Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! -BEGIN PGP

Re: svn commit: r187580 - head/tools/sched

2009-01-26 Thread David O'Brien
On Thu, Jan 22, 2009 at 10:41:14AM -0700, M. Warner Losh wrote: > In message: <200901220621.n0m6lu5v002...@svn.freebsd.org> > Jeff Roberson writes: > : Author: jeff > : Date: Thu Jan 22 06:21:30 2009 > : New Revision: 187580 > : URL: http://svn.freebsd.org/changeset/base/187580 > : >