svn commit: r189100 - in head/sys/powerpc: booke include powerpc

2009-02-27 Thread Rafal Jaworowski
Author: raj Date: Fri Feb 27 12:08:24 2009 New Revision: 189100 URL: http://svn.freebsd.org/changeset/base/189100 Log: Make Book-E debug register state part of the PCB context. Previously, DBCR0 flags were set "globally", but this leads to problems because Book-E fine grained debug settin

svn commit: r189101 - head/sys/powerpc/booke

2009-02-27 Thread Rafal Jaworowski
Author: raj Date: Fri Feb 27 12:18:17 2009 New Revision: 189101 URL: http://svn.freebsd.org/changeset/base/189101 Log: Prefer register usage style to be more consistent with the rest of the trap_subr.S code. Modified: head/sys/powerpc/booke/trap_subr.S Modified: head/sys/powerpc/booke/trap

svn commit: r189102 - head/sys/kern

2009-02-27 Thread Ed Schouten
Author: ed Date: Fri Feb 27 12:50:25 2009 New Revision: 189102 URL: http://svn.freebsd.org/changeset/base/189102 Log: Revert previous commit to subr_prf.c and make it more tidy. As mentioned by bz and bde, the change I made wasn't the proper way to fix. Inspired by bde's patch, perform so

svn commit: r189103 - in head/sys: contrib/altq/altq netinet6 netipsec

2009-02-27 Thread Bjoern A. Zeeb
Author: bz Date: Fri Feb 27 13:22:26 2009 New Revision: 189103 URL: http://svn.freebsd.org/changeset/base/189103 Log: Shuffle the vimage.h includes or add where missing. Modified: head/sys/contrib/altq/altq/altq_subr.c head/sys/netinet6/nd6.c head/sys/netipsec/key_debug.c Modified: head/

svn commit: r189104 - head/sys/kern

2009-02-27 Thread Ed Schouten
Author: ed Date: Fri Feb 27 13:28:54 2009 New Revision: 189104 URL: http://svn.freebsd.org/changeset/base/189104 Log: Remove redundant code in printf() and vprintf(). printf() and vprintf() are exactly the same, except the way arguments are passed. Just like we see in other pieces of code

svn commit: r189105 - head/sys/contrib/ipfilter/netinet

2009-02-27 Thread Bjoern A. Zeeb
Author: bz Date: Fri Feb 27 13:29:18 2009 New Revision: 189105 URL: http://svn.freebsd.org/changeset/base/189105 Log: Move the include of vinet.h further up before the ipfilter includes. Modified: head/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c Modified: head/sys/contrib/ipfilter/netinet/

Re: svn commit: r189105 - head/sys/contrib/ipfilter/netinet

2009-02-27 Thread Bjoern A. Zeeb
On Fri, 27 Feb 2009, Bjoern A. Zeeb wrote: Author: bz Date: Fri Feb 27 13:29:18 2009 New Revision: 189105 URL: http://svn.freebsd.org/changeset/base/189105 Log: Move the include of vinet.h further up before the ipfilter includes. Note: there seems to be something more serious going on here.

svn commit: r189106 - in head/sys: compat/linprocfs compat/linux compat/svr4 contrib/altq/altq contrib/pf/net dev/cxgb/ulp/iw_cxgb kern net net80211 netgraph netgraph/atm netinet netinet6 netipsec ...

2009-02-27 Thread Bjoern A. Zeeb
Author: bz Date: Fri Feb 27 14:12:05 2009 New Revision: 189106 URL: http://svn.freebsd.org/changeset/base/189106 Log: For all files including net/vnet.h directly include opt_route.h and net/route.h. Remove the hidden include of opt_route.h and net/route.h from net/vnet.h. We need to

Re: svn commit: r189106 - in head/sys: compat/linprocfs compat/linux compat/svr4 contrib/altq/altq contrib/pf/net dev/cxgb/ulp/iw_cxgb kern net net80211 netgraph netgraph/atm netinet netinet6 netipsec

2009-02-27 Thread Bjoern A. Zeeb
On Fri, 27 Feb 2009, Bjoern A. Zeeb wrote: Author: bz Date: Fri Feb 27 14:12:05 2009 New Revision: 189106 URL: http://svn.freebsd.org/changeset/base/189106 Log: For all files including net/vnet.h directly include opt_route.h and net/route.h. Remove the hidden include of opt_route.h and net/

svn commit: r189107 - stable/7/sys/amd64/amd64

2009-02-27 Thread John Baldwin
Author: jhb Date: Fri Feb 27 15:25:47 2009 New Revision: 189107 URL: http://svn.freebsd.org/changeset/base/189107 Log: Catch up to the 6GB KVA changes. The original superpages patches on 7 were tested prior to the MFC of the 6GB KVA changes, and I failed to do an extra sanity check yesterda

svn commit: r189108 - head/lib/libusbhid

2009-02-27 Thread Andrew Thompson
Author: thompsa Date: Fri Feb 27 15:30:42 2009 New Revision: 189108 URL: http://svn.freebsd.org/changeset/base/189108 Log: Fix HID_COMPAT7 handling around the USB_GET_REPORT_DESC ioctl. Submitted by: daichi Pointy hat: me Modified: head/lib/libusbhid/descr.c Modified: head/lib/libus

svn commit: r189109 - head/gnu/games

2009-02-27 Thread Ed Schouten
Author: ed Date: Fri Feb 27 16:01:40 2009 New Revision: 189109 URL: http://svn.freebsd.org/changeset/base/189109 Log: Remove empty directory structure. Submitted by: Pawel Worach Deleted: head/gnu/games/ ___ svn-src-all@freebsd.org mailing lis

Re: svn commit: r189109 - head/gnu/games

2009-02-27 Thread Ed Schouten
* Ed Schouten wrote: > Remove empty directory structure. H... Looks like there are many more: contrib/amd/m4/macros contrib/bind/doc/bog contrib/bind/doc/notes contrib/bind9/lib/dns/sec/dst/include/dst contrib/cvs/tools/pcl-cvs contrib/gcc/conf

Re: svn commit: r189106 - in head/sys: compat/linprocfs compat/linux compat/svr4 contrib/altq/altq contrib/pf/net dev/cxgb/ulp/iw_cxgb kern net net80211 netgraph netgraph/atm netinet netinet6 netipsec

2009-02-27 Thread Julian Elischer
Bjoern A. Zeeb wrote: On Fri, 27 Feb 2009, Bjoern A. Zeeb wrote: Author: bz Date: Fri Feb 27 14:12:05 2009 New Revision: 189106 URL: http://svn.freebsd.org/changeset/base/189106 Log: For all files including net/vnet.h directly include opt_route.h and net/route.h. Remove the hidden include

svn commit: r189110 - in head: lib/libusb20 sys/dev/sound/usb sys/dev/usb sys/dev/usb/bluetooth sys/dev/usb/image sys/dev/usb/input sys/dev/usb/misc sys/dev/usb/serial sys/dev/usb/storage sys/sys u...

2009-02-27 Thread Andrew Thompson
Author: thompsa Date: Fri Feb 27 17:27:16 2009 New Revision: 189110 URL: http://svn.freebsd.org/changeset/base/189110 Log: Change USB over to make_dev() for all device nodes, previously it hooked into the devfs clone handler to open the (invisible) devices on the fly. The /dev entries are

svn commit: r189111 - head/sys/fs/udf

2009-02-27 Thread Andriy Gapon
Author: avg Date: Fri Feb 27 17:29:31 2009 New Revision: 189111 URL: http://svn.freebsd.org/changeset/base/189111 Log: udf_readatoffset: return correct size and data pointer for data in fentry This should help correct reading of directories with data located in fentry. Submitted by:

svn commit: r189112 - head/sbin/newfs_msdos

2009-02-27 Thread Andriy Gapon
Author: avg Date: Fri Feb 27 17:29:48 2009 New Revision: 189112 URL: http://svn.freebsd.org/changeset/base/189112 Log: newfs_msdos: allow to work with media that doesn't have any CHS params Either use parameters provided by user or make them up. The code for faking CHS params is borrowed

svn commit: r189113 - head

2009-02-27 Thread Andrew Thompson
.) +20090227: + The /dev handling for the new USB stack has changed, a + buildworld/installworld is required for libusb20. + 20090223: The new USB2 stack has now been permanently moved in and all kernel and module names reverted to their previous values (eg, usb, ehci, ohci

svn commit: r189114 - head/tools/tools/nanobsd/gateworks

2009-02-27 Thread Sam Leffler
Author: sam Date: Fri Feb 27 19:20:57 2009 New Revision: 189114 URL: http://svn.freebsd.org/changeset/base/189114 Log: add -HEAD to avoid build conflicts Modified: head/tools/tools/nanobsd/gateworks/cambria Modified: head/tools/tools/nanobsd/gateworks/cambria

svn commit: r189115 - head/tools/tools/nanobsd/gateworks

2009-02-27 Thread Sam Leffler
Author: sam Date: Fri Feb 27 19:21:35 2009 New Revision: 189115 URL: http://svn.freebsd.org/changeset/base/189115 Log: o add -HEAD to avoid build conflicts o switch to a more common flash config Modified: head/tools/tools/nanobsd/gateworks/avila Modified: head/tools/tools/nanobsd/gateworks

svn commit: r189116 - head/tools/tools/nanobsd/gateworks

2009-02-27 Thread Sam Leffler
Author: sam Date: Fri Feb 27 19:23:55 2009 New Revision: 189116 URL: http://svn.freebsd.org/changeset/base/189116 Log: o enable PREEMPTION o turn off a bunch of stuff that's unlikely to be used o add flash support o use mii instead of miibus to save space o enable tdma support o config

svn commit: r189117 - head/sys/dev/bce

2009-02-27 Thread David Christensen
Author: davidch Date: Fri Feb 27 19:25:06 2009 New Revision: 189117 URL: http://svn.freebsd.org/changeset/base/189117 Log: - Update copyright to 2009. - Only enable split header operation when ZERO_COPY_SOCKETS is enabled in the kernel. Submitted by: davidch MFC after:1 week Mo

svn commit: r189118 - head/tools/tools/nanobsd/gateworks

2009-02-27 Thread Sam Leffler
Author: sam Date: Fri Feb 27 19:26:23 2009 New Revision: 189118 URL: http://svn.freebsd.org/changeset/base/189118 Log: really enable usb1 Modified: head/tools/tools/nanobsd/gateworks/G2358 Modified: head/tools/tools/nanobsd/gateworks/G2358

svn commit: r189119 - head/sys/dev/ata

2009-02-27 Thread Alexander Motin
Author: mav Date: Fri Feb 27 19:27:33 2009 New Revision: 189119 URL: http://svn.freebsd.org/changeset/base/189119 Log: Merge rev. 188615, 188812 changes from old-USB to USB2 driver. Modified: head/sys/dev/ata/ata-usb.c Modified: head/sys/dev/ata/ata-usb.c

Re: svn commit: r189117 - head/sys/dev/bce

2009-02-27 Thread Andrew Gallatin
David Christensen wrote: Author: davidch Date: Fri Feb 27 19:25:06 2009 New Revision: 189117 URL: http://svn.freebsd.org/changeset/base/189117 Log: - Update copyright to 2009. - Only enable split header operation when ZERO_COPY_SOCKETS is enabled in the kernel. I'm confused. The heade

svn commit: r189120 - head/sys/fs/msdosfs

2009-02-27 Thread John Baldwin
Author: jhb Date: Fri Feb 27 20:00:15 2009 New Revision: 189120 URL: http://svn.freebsd.org/changeset/base/189120 Log: - Hold a reference on the cdev a filesystem is mounted from in the mount. - Remove the cdev pointers from the denode and instead use the mountpoint's reference to call dev

svn commit: r189121 - head/sys/netinet

2009-02-27 Thread Randall Stewart
Author: rrs Date: Fri Feb 27 20:54:45 2009 New Revision: 189121 URL: http://svn.freebsd.org/changeset/base/189121 Log: Fix the add stream feature of strm-reset to really work: - Fix the copy, we can't do a blind copy but must transfer the data from the old to the new. - Fix the ACK pr

svn commit: r189123 - head/sys/dev/usb/wlan

2009-02-27 Thread Andrew Thompson
Author: thompsa Date: Fri Feb 27 21:14:29 2009 New Revision: 189123 URL: http://svn.freebsd.org/changeset/base/189123 Log: Partial sync to //depot/projects/usb - Reissue the ctrl request on failure - Ensure Tx and ctrl requests are not interleaved - Add promisc callbacks Obtained f

Re: svn commit: r189123 - head/sys/dev/usb/wlan

2009-02-27 Thread Sam Leffler
Andrew Thompson wrote: Author: thompsa Date: Fri Feb 27 21:14:29 2009 New Revision: 189123 URL: http://svn.freebsd.org/changeset/base/189123 Log: Partial sync to //depot/projects/usb - Reissue the ctrl request on failure - Ensure Tx and ctrl requests are not interleaved - Add promisc

svn commit: r189124 - head/sys/dev/usb/wlan

2009-02-27 Thread Andrew Thompson
Author: thompsa Date: Fri Feb 27 21:50:15 2009 New Revision: 189124 URL: http://svn.freebsd.org/changeset/base/189124 Log: Remove ic_update_mcast calls that are not implemented. Spotted by: sam Pointy hat: me Modified: head/sys/dev/usb/wlan/if_rum.c head/sys/dev/usb/wlan/if_ural.

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

2009-02-27 Thread Andrew Thompson
Author: thompsa Date: Fri Feb 27 22:12:15 2009 New Revision: 189125 URL: http://svn.freebsd.org/changeset/base/189125 Log: Change the last references to PRIV_ROOT. /dev/usb used to be world writable so further root checks were needed, this isnt the case anymore but just change it to PRIV_DRI

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

2009-02-27 Thread Warner Losh
Author: imp Date: Fri Feb 27 23:12:28 2009 New Revision: 189126 URL: http://svn.freebsd.org/changeset/base/189126 Log: Move to new usb stack that puts the front-end bus attachments with the usb stack rather than with the rest of the processor support code. Not sure that's a good idea, as we

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

2009-02-27 Thread Alexander Motin
Author: mav Date: Fri Feb 27 23:49:26 2009 New Revision: 189127 URL: http://svn.freebsd.org/changeset/base/189127 Log: Copy/paste bug fix for previos commit. Modified: head/sys/dev/sound/pci/hda/hdac.c Modified: head/sys/dev/sound/pci/hda/hdac.c ==

svn commit: r189128 - head/sys/dev/drm

2009-02-27 Thread Robert Noland
Author: rnoland Date: Fri Feb 27 23:50:55 2009 New Revision: 189128 URL: http://svn.freebsd.org/changeset/base/189128 Log: Add a tuneable to allow disabling msi on drm at runtime. Suggested by: jhb@ MFC after:2 weeks Modified: head/sys/dev/drm/drm_drv.c Modified: head/sys/dev/d

Re: svn commit: r189110 - in head: lib/libusb20 sys/dev/sound/usb sys/dev/usb sys/dev/usb/bluetooth sys/dev/usb/image sys/dev/usb/input sys/dev/usb/misc sys/dev/usb/serial sys/dev/usb/storage sys/sys

2009-02-27 Thread Rui Paulo
On 27 Feb 2009, at 17:27, Andrew Thompson wrote: /dev/usbctl = master device /dev/usb/0.1.0.5 = usb device, (...) /dev/ugen0.1 -> usb/0.1.0.0 = ugen link to ctrl endpoint I like this structure. Good work! -- Rui Paulo PGP.sig Description: This is a digitally signed message part

Re: svn commit: r189110 - in head: lib/libusb20 sys/dev/sound/usb sys/dev/usb sys/dev/usb/bluetooth sys/dev/usb/image sys/dev/usb/input sys/dev/usb/misc sys/dev/usb/serial sys/dev/usb/storage sys/sys

2009-02-27 Thread Andrew Thompson
On Sat, Feb 28, 2009 at 01:09:25AM +, Rui Paulo wrote: > > On 27 Feb 2009, at 17:27, Andrew Thompson wrote: >> /dev/usbctl = master device >> /dev/usb/0.1.0.5 = usb device, (...) >> /dev/ugen0.1 -> usb/0.1.0.0 = ugen link to ctrl endpoint > > I like this structure. Good work! I ca

Re: svn commit: r189117 - head/sys/dev/bce

2009-02-27 Thread Pyun YongHyeon
On Fri, Feb 27, 2009 at 07:25:06PM +, David Christensen wrote: > Author: davidch > Date: Fri Feb 27 19:25:06 2009 > New Revision: 189117 > URL: http://svn.freebsd.org/changeset/base/189117 > > Log: > - Update copyright to 2009. > - Only enable split header operation when ZERO_COPY_SOCKETS

svn commit: r189130 - head/sys/dev/drm

2009-02-27 Thread Robert Noland
Author: rnoland Date: Sat Feb 28 02:37:55 2009 New Revision: 189130 URL: http://svn.freebsd.org/changeset/base/189130 Log: Initialize the vblank structures at load time. Previously we did this at irq install/uninstall time, but when we vt switch, we uninstall the irq handler. When the irq

svn commit: r189131 - head/lib/libc/stdio

2009-02-27 Thread David Schultz
Author: das Date: Sat Feb 28 04:58:18 2009 New Revision: 189131 URL: http://svn.freebsd.org/changeset/base/189131 Log: Make sure %zd treats negative arguments properly on 32-bit platforms. Fix harmless but related bugs in %_$zd and %_$tu. PR: 131880 MFC after:1 week Modif

svn commit: r189132 - head/include

2009-02-27 Thread David Schultz
Author: das Date: Sat Feb 28 05:08:35 2009 New Revision: 189132 URL: http://svn.freebsd.org/changeset/base/189132 Log: Mark memmem() __pure. Modified: head/include/string.h Modified: head/include/string.h == --- head

svn commit: r189133 - in head: include lib/libc/string

2009-02-27 Thread David Schultz
Author: das Date: Sat Feb 28 05:15:02 2009 New Revision: 189133 URL: http://svn.freebsd.org/changeset/base/189133 Log: Add restrict qualifiers to the parameters to strlcpy() and strlcat(). The annotation mainly just serves as a hint that they're not intended for use with overlapping strings.

svn commit: r189134 - head/sys/sys

2009-02-27 Thread David Schultz
Author: das Date: Sat Feb 28 05:24:05 2009 New Revision: 189134 URL: http://svn.freebsd.org/changeset/base/189134 Log: Add visibility constants for POSIX.1-2008. Modified: head/sys/sys/cdefs.h Modified: head/sys/sys/cdefs.h

svn commit: r189135 - head/gnu/usr.bin/groff/tmac

2009-02-27 Thread David Schultz
Author: das Date: Sat Feb 28 05:47:41 2009 New Revision: 189135 URL: http://svn.freebsd.org/changeset/base/189135 Log: Define a macro for POSIX.1-2008 here until a future groff import includes one. Modified: head/gnu/usr.bin/groff/tmac/mdoc.local Modified: head/gnu/usr.bin/groff/tmac/mdoc.

svn commit: r189136 - in head: include lib/libc/stdio lib/libc/string sys/sys

2009-02-27 Thread David Schultz
Author: das Date: Sat Feb 28 06:00:58 2009 New Revision: 189136 URL: http://svn.freebsd.org/changeset/base/189136 Log: - Add getdelim(), getline(), stpncpy(), strnlen(), wcsnlen(), wcscasecmp(), and wcsncasecmp(). - Make some previously non-standard extensions visible if POSIX_VISIBLE

svn commit: r189137 - head/lib/libc/string

2009-02-27 Thread David Schultz
Author: das Date: Sat Feb 28 06:05:37 2009 New Revision: 189137 URL: http://svn.freebsd.org/changeset/base/189137 Log: Add restrict qualifiers. I missed this file in my previous commit. Modified: head/lib/libc/string/stpcpy.c Modified: head/lib/libc/string/stpcpy.c

svn commit: r189138 - head/lib/libc/stdio

2009-02-27 Thread David Schultz
Author: das Date: Sat Feb 28 06:06:57 2009 New Revision: 189138 URL: http://svn.freebsd.org/changeset/base/189138 Log: Replace a dozen lines of code with a call to strnlen() / wcsnlen(). Modified: head/lib/libc/stdio/vfprintf.c head/lib/libc/stdio/vfwprintf.c Modified: head/lib/libc/stdio/

svn commit: r189139 - head/contrib/less

2009-02-27 Thread David Schultz
Author: das Date: Sat Feb 28 06:27:23 2009 New Revision: 189139 URL: http://svn.freebsd.org/changeset/base/189139 Log: Make `less -R' not crash all the time. Modified: head/contrib/less/line.c Modified: head/contrib/less/line.c

Re: svn commit: r189120 - head/sys/fs/msdosfs

2009-02-27 Thread M. Warner Losh
In message: <200902272000.n1rk0fki081...@svn.freebsd.org> John Baldwin writes: : Author: jhb : Date: Fri Feb 27 20:00:15 2009 : New Revision: 189120 : URL: http://svn.freebsd.org/changeset/base/189120 : : Log: : - Hold a reference on the cdev a filesystem is mounted from in the moun

svn commit: r189140 - head/tools/regression/lib/libc/string

2009-02-27 Thread David Schultz
Author: das Date: Sat Feb 28 06:34:04 2009 New Revision: 189140 URL: http://svn.freebsd.org/changeset/base/189140 Log: Tests for wcscasecmp(), wcsnlen(), and stpncpy(). Added: head/tools/regression/lib/libc/string/test-stpncpy.c (contents, props changed) head/tools/regression/lib/libc/st

svn commit: r189141 - head/tools/regression/lib/libc/stdio

2009-02-27 Thread David Schultz
Author: das Date: Sat Feb 28 06:37:10 2009 New Revision: 189141 URL: http://svn.freebsd.org/changeset/base/189141 Log: Add a file containing tests for simple format specifiers. Currently it only has tests for a few sign issues with integer formats, including PR 131880. Added: head/tools/r

svn commit: r189142 - head/tools/regression/lib/libc/stdio

2009-02-27 Thread David Schultz
Author: das Date: Sat Feb 28 06:39:39 2009 New Revision: 189142 URL: http://svn.freebsd.org/changeset/base/189142 Log: Tests for getdelim(). Added: head/tools/regression/lib/libc/stdio/test-getdelim.c (contents, props changed) Modified: head/tools/regression/lib/libc/stdio/Makefile Modi