svn commit: r198741 - head

2009-11-01 Thread Roman Divacky
Author: rdivacky Date: Sun Nov 1 08:20:30 2009 New Revision: 198741 URL: http://svn.freebsd.org/changeset/base/198741 Log: Replace -iprefix with -isystem. We only need alternative header files search path and thus -isystem is sufficient. -iprefix is meant to do something entirely

svn commit: r198743 - in stable/7/sys: . amd64/amd64 contrib/pf i386/i386

2009-11-01 Thread Alan Cox
Author: alc Date: Sun Nov 1 08:48:30 2009 New Revision: 198743 URL: http://svn.freebsd.org/changeset/base/198743 Log: MFC r197317 When superpages are enabled, add the 2 or 4MB page size to the array of supported page sizes. Modified: stable/7/sys/ (props changed)

svn commit: r198744 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris conf contrib/dev/acpica contrib/pf dev/xen/xenpci

2009-11-01 Thread Alexander Motin
Author: mav Date: Sun Nov 1 10:01:39 2009 New Revision: 198744 URL: http://svn.freebsd.org/changeset/base/198744 Log: MFC rev. 198623: Add missing ATA kernel options dependencies. Modified: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed)

svn commit: r198746 - stable/8/share/man/man4

2009-11-01 Thread Christian Brueffer
Author: brueffer Date: Sun Nov 1 10:56:03 2009 New Revision: 198746 URL: http://svn.freebsd.org/changeset/base/198746 Log: MFC: r198609 Revert part of r198363, there is no device cam, it is included in device scbus. Modified: stable/8/share/man/man4/ (props changed)

svn commit: r198748 - in head/sys/cam: . ata scsi

2009-11-01 Thread Alexander Motin
Author: mav Date: Sun Nov 1 11:31:06 2009 New Revision: 198748 URL: http://svn.freebsd.org/changeset/base/198748 Log: MFp4: Fix reference counting bug, when device unreferenced before then invalidated. To do it, do not handle validity flag as another reference, but explicitly modify

svn commit: r198749 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/xen/xenpci pci

2009-11-01 Thread Andriy Gapon
Author: avg Date: Sun Nov 1 11:34:13 2009 New Revision: 198749 URL: http://svn.freebsd.org/changeset/base/198749 Log: MFC r197128,197325: add support for smbus controller found in AMD SB700 Modified: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed)

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

2009-11-01 Thread Christian Brueffer
Author: brueffer Date: Sun Nov 1 11:39:07 2009 New Revision: 198750 URL: http://svn.freebsd.org/changeset/base/198750 Log: Expand DESCRIPTION and a basic EXAMPLES section. PR: 139605 Submitted by: Warren Block wbl...@wonkity.com MFC after:1 week Modified:

svn commit: r198751 - in stable/7/sys: . contrib/pf pci

2009-11-01 Thread Andriy Gapon
Author: avg Date: Sun Nov 1 11:41:20 2009 New Revision: 198751 URL: http://svn.freebsd.org/changeset/base/198751 Log: MFC r197128,197325: add support for smbus controller found in AMD SB700 Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed)

svn commit: r198752 - head/sys/dev/ata/chipsets

2009-11-01 Thread Alexander Motin
Author: mav Date: Sun Nov 1 13:06:15 2009 New Revision: 198752 URL: http://svn.freebsd.org/changeset/base/198752 Log: MFp4: Allow SATA1 SiI chips to do full-sized DMA. Specification tells that we may release DMA constrants even more, but it require some additional handling. Modified:

Re: svn commit: r198706 - head/sys/sys

2009-11-01 Thread Robert Watson
On Sat, 31 Oct 2009, Ed Schouten wrote: Turn unused structure fields of cdevsw into spares. d_uid, d_gid and d_mode are unused, because permissions are stored in cdevpriv nowadays. d_kind doesn't seem to be used at all. We no longer keep a list of cdevsw's, so d_list is also unused.

Re: svn commit: r198745 - in stable/8: etc sys sys/amd64/include/xen sys/cddl/contrib/opensolaris sys/contrib/dev/acpica sys/contrib/pf sys/dev/syscons sys/dev/xen/xenpci sys/kern sys/sys usr.sbin/jai

2009-11-01 Thread Robert Watson
On Sun, 1 Nov 2009, Ed Schouten wrote: Log: MFC various commits back to stable/8: Is there some relationship between the various changesets merged together here? One nice thing about grouping merged changesets in some way is that it makes backing them out more sensible if there's a

Re: svn commit: r198706 - head/sys/sys

2009-11-01 Thread Ed Schouten
Hi Robert, * Robert Watson rwat...@freebsd.org wrote: The underlying change seems fine, especially in -CURRENT, but I'm confused by the paragraph here on alignment and safety. What do you mean by safe, and does it matter? With safe I mean that all useful members still begin at the same

Re: svn commit: r198745 - in stable/8: etc sys sys/amd64/include/xen sys/cddl/contrib/opensolaris sys/contrib/dev/acpica sys/contrib/pf sys/dev/syscons sys/dev/xen/xenpci sys/kern sys/sys usr.sbin/jai

2009-11-01 Thread Ed Schouten
Hello Robert, * Robert Watson rwat...@freebsd.org wrote: Is there some relationship between the various changesets merged together here? One nice thing about grouping merged changesets in some way is that it makes backing them out more sensible if there's a problem (since you just revert the

Re: svn commit: r198706 - head/sys/sys

2009-11-01 Thread Robert N. M. Watson
On 1 Nov 2009, at 15:33, Ed Schouten wrote: Because d_kind is a pointer, there will be a hole in the structure of at least 2 bytes (maybe even 6), which means we can safely extend d_mode to 32 bits as well. I could have decided to leave it at uint16_t, but that would only obfuscate it

Re: svn commit: r198745 - in stable/8: etc sys sys/amd64/include/xen sys/cddl/contrib/opensolaris sys/contrib/dev/acpica sys/contrib/pf sys/dev/syscons sys/dev/xen/xenpci sys/kern sys/sys usr.sbin/jai

2009-11-01 Thread Robert Watson
On Sun, 1 Nov 2009, Ed Schouten wrote: * Robert Watson rwat...@freebsd.org wrote: Is there some relationship between the various changesets merged together here? One nice thing about grouping merged changesets in some way is that it makes backing them out more sensible if there's a problem

svn commit: r198755 - stable/7/usr.bin/fstat

2009-11-01 Thread Andriy Gapon
Author: avg Date: Sun Nov 1 17:15:38 2009 New Revision: 198755 URL: http://svn.freebsd.org/changeset/base/198755 Log: MFC 196399: fstat: fix fsid comparison on systems with 64-bit long Modified: stable/7/usr.bin/fstat/ (props changed) stable/7/usr.bin/fstat/fstat.c

Re: svn commit: r198745 - in stable/8: etc sys sys/amd64/include/xen sys/cddl/contrib/opensolaris sys/contrib/dev/acpica sys/contrib/pf sys/dev/syscons sys/dev/xen/xenpci sys/kern sys/sys usr.sbin/jai

2009-11-01 Thread Dag-Erling Smørgrav
Ed Schouten e...@80386.nl writes: Because I can't think of a way to prepare a larger set of patches that include proper mergeinfo without constantly reverting back and forth or keeping track of multiple 1.2 GB checkouts, I eventually just decided to create a bigger patch, so it was more an

svn commit: r198756 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/xen/xenpci kern

2009-11-01 Thread Andriy Gapon
Author: avg Date: Sun Nov 1 17:36:36 2009 New Revision: 198756 URL: http://svn.freebsd.org/changeset/base/198756 Log: MFC 197641: print_caddr_t: drop incorrect __unused from parameter Modified: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed)

svn commit: r198757 - in stable/7/sys: . contrib/pf kern

2009-11-01 Thread Andriy Gapon
Author: avg Date: Sun Nov 1 17:37:03 2009 New Revision: 198757 URL: http://svn.freebsd.org/changeset/base/198757 Log: MFC 197641: print_caddr_t: drop incorrect __unused from parameter Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed)

svn commit: r198758 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/xen/xenpci kern

2009-11-01 Thread Andriy Gapon
Author: avg Date: Sun Nov 1 17:40:05 2009 New Revision: 198758 URL: http://svn.freebsd.org/changeset/base/198758 Log: MFC 197658: print machine in kernel boot version string PR: kern/126926 Modified: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props

svn commit: r198759 - in stable/7/sys: . contrib/pf kern

2009-11-01 Thread Andriy Gapon
Author: avg Date: Sun Nov 1 17:42:59 2009 New Revision: 198759 URL: http://svn.freebsd.org/changeset/base/198759 Log: MFC 197658: print machine in kernel boot version string PR: kern/126926 Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed)

svn commit: r198760 - in stable/8/sys: . amd64/include amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/xen/xenpci i386/include

2009-11-01 Thread Andriy Gapon
Author: avg Date: Sun Nov 1 17:45:37 2009 New Revision: 198760 URL: http://svn.freebsd.org/changeset/base/198760 Log: MFC 197647: cpufunc.h: unify/correct style of c extension names Modified: stable/8/sys/ (props changed) stable/8/sys/amd64/include/cpufunc.h

svn commit: r198762 - in stable/7/sys: . contrib/pf i386/conf

2009-11-01 Thread Andriy Gapon
Author: avg Date: Sun Nov 1 17:54:49 2009 New Revision: 198762 URL: http://svn.freebsd.org/changeset/base/198762 Log: MFC 198271: add amdtemp to i386 NOTES Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed) stable/7/sys/i386/conf/NOTES Modified:

svn commit: r198763 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/xen/xenpci modules

2009-11-01 Thread Andriy Gapon
Author: avg Date: Sun Nov 1 17:56:45 2009 New Revision: 198763 URL: http://svn.freebsd.org/changeset/base/198763 Log: MFC 198279: fix sorting of some amd* entries in some makefiles Modified: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed)

svn commit: r198764 - in stable/7/sys: . contrib/pf modules

2009-11-01 Thread Andriy Gapon
Author: avg Date: Sun Nov 1 17:58:56 2009 New Revision: 198764 URL: http://svn.freebsd.org/changeset/base/198764 Log: MFC 198279: fix sorting of some amd* entries in some makefiles Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed)

svn commit: r198766 - stable/8/share/man/man4

2009-11-01 Thread Andriy Gapon
Author: avg Date: Sun Nov 1 18:16:55 2009 New Revision: 198766 URL: http://svn.freebsd.org/changeset/base/198766 Log: MFC 198272, 198288: fix watchdogd(8) reference Modified: stable/8/share/man/man4/ (props changed) stable/8/share/man/man4/ichwd.4 Modified:

svn commit: r198767 - stable/7/share/man/man4

2009-11-01 Thread Andriy Gapon
Author: avg Date: Sun Nov 1 18:19:00 2009 New Revision: 198767 URL: http://svn.freebsd.org/changeset/base/198767 Log: MFC 198272, 198288: fix watchdogd(8) reference Modified: stable/7/share/man/man4/ (props changed) stable/7/share/man/man4/ichwd.4 Modified:

svn commit: r198768 - head/sbin/mknod

2009-11-01 Thread Christian Brueffer
Author: brueffer Date: Sun Nov 1 18:25:11 2009 New Revision: 198768 URL: http://svn.freebsd.org/changeset/base/198768 Log: Refine r198714, it's not as easy as just leaving the major number zero. Submitted by: ed MFC after:1 week Modified: head/sbin/mknod/mknod.8 Modified:

svn commit: r198769 - in stable/8/sys: . amd64/include/xen amd64/pci cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/pci dev/xen/xenpci i386/pci

2009-11-01 Thread Andriy Gapon
Author: avg Date: Sun Nov 1 18:39:26 2009 New Revision: 198769 URL: http://svn.freebsd.org/changeset/base/198769 Log: MFC 197450: number of cleanups in i386 and amd64 pci md code Modified: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed)

svn commit: r198770 - in stable/7/sys: . amd64/pci contrib/pf dev/pci i386/pci

2009-11-01 Thread Andriy Gapon
Author: avg Date: Sun Nov 1 18:40:03 2009 New Revision: 198770 URL: http://svn.freebsd.org/changeset/base/198770 Log: MFC 197450: number of cleanups in i386 and amd64 pci md code Modified: stable/7/sys/ (props changed) stable/7/sys/amd64/pci/pci_cfgreg.c stable/7/sys/contrib/pf/

Re: svn commit: r198768 - head/sbin/mknod

2009-11-01 Thread Kostik Belousov
On Sun, Nov 01, 2009 at 06:25:11PM +, Christian Brueffer wrote: Author: brueffer Date: Sun Nov 1 18:25:11 2009 New Revision: 198768 URL: http://svn.freebsd.org/changeset/base/198768 Log: Refine r198714, it's not as easy as just leaving the major number zero. Submitted by:

svn commit: r198771 - in stable/8/gnu/usr.bin/groff: . tmac

2009-11-01 Thread Alan Cox
Author: alc Date: Sun Nov 1 18:48:06 2009 New Revision: 198771 URL: http://svn.freebsd.org/changeset/base/198771 Log: MFC r197393 Add FreeBSD 7.2 and 7.3. Modified: stable/8/gnu/usr.bin/groff/ (props changed) stable/8/gnu/usr.bin/groff/tmac/mdoc.local Modified:

svn commit: r198772 - in stable/8: lib/libc/gen sys sys/amd64/include/xen sys/cddl/contrib/opensolaris sys/contrib/dev/acpica sys/contrib/pf sys/dev/xen/xenpci sys/sys

2009-11-01 Thread Alan Cox
Author: alc Date: Sun Nov 1 19:22:07 2009 New Revision: 198772 URL: http://svn.freebsd.org/changeset/base/198772 Log: MFC r197331, r197394 Add getpagesizes(3). Added: stable/8/lib/libc/gen/getpagesizes.3 - copied, changed from r197331, head/lib/libc/gen/getpagesizes.3

Re: svn commit: r198768 - head/sbin/mknod

2009-11-01 Thread Tim Kientzle
Kostik Belousov wrote: On Sun, Nov 01, 2009 at 06:25:11PM +, Christian Brueffer wrote: Author: brueffer Date: Sun Nov 1 18:25:11 2009 New Revision: 198768 URL: http://svn.freebsd.org/changeset/base/198768 Log: Refine r198714, it's not as easy as just leaving the major number zero.

Re: svn commit: r198768 - head/sbin/mknod

2009-11-01 Thread Ed Schouten
* Kostik Belousov kostik...@gmail.com wrote: It seems that description of majors/minors there is absolutely irrelevant to the freebsd device nodes. Devfs simply does not work this way anymore for long time. Which is why I proposed changing these sentences to the past tense, i.e.: The

svn commit: r198773 - in stable/8/lib/libc: . gen stdio stdtime string

2009-11-01 Thread Alan Cox
Author: alc Date: Sun Nov 1 20:24:17 2009 New Revision: 198773 URL: http://svn.freebsd.org/changeset/base/198773 Log: MFC r197163 Add the FBSD_1.2 namespace. Reminded by: kib Modified: stable/8/lib/libc/ (props changed) stable/8/lib/libc/Versions.def stable/8/lib/libc/gen/

Re: svn commit: r198748 - in head/sys/cam: . ata scsi

2009-11-01 Thread Andrew Thompson
2009/11/2 Alexander Motin m...@freebsd.org: Author: mav Date: Sun Nov  1 11:31:06 2009 New Revision: 198748 URL: http://svn.freebsd.org/changeset/base/198748 Log:  MFp4:  Fix reference counting bug, when device unreferenced before then  invalidated. To do it, do not handle validity flag

svn commit: r198774 - head/sys/dev/usb/serial

2009-11-01 Thread Andrew Thompson
Author: thompsa Date: Sun Nov 1 21:41:44 2009 New Revision: 198774 URL: http://svn.freebsd.org/changeset/base/198774 Log: Check unit number and provide string name for consdev. Submitted by: HPS Modified: head/sys/dev/usb/serial/usb_serial.c Modified:

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

2009-11-01 Thread Andrew Thompson
Author: thompsa Date: Sun Nov 1 21:44:37 2009 New Revision: 198775 URL: http://svn.freebsd.org/changeset/base/198775 Log: Fix a corner case where usbd_transfer_drain() can return too early if the callback has dropped the mutex, leading to a panic. Submitted by: HPS MFC after:3

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

2009-11-01 Thread Andrew Thompson
Author: thompsa Date: Sun Nov 1 21:48:18 2009 New Revision: 198776 URL: http://svn.freebsd.org/changeset/base/198776 Log: - Add usb_fill_bulk_urb() and usb_bulk_msg() linux compat functions [1] - Don't write actual length if the actual length pointer is NULL [2] - correct Linux

Re: svn commit: r198768 - head/sbin/mknod

2009-11-01 Thread Ed Schouten
Hi Dag-Erling, * Dag-Erling Smørgrav d...@des.no wrote: identified an individual device handled by that driver. FreeBSD no longer makes that distinction; each device has a unique system-wide minor number, and the major number is always zero. However, the

Re: svn commit: r198768 - head/sbin/mknod

2009-11-01 Thread Dag-Erling Smørgrav
Ed Schouten e...@80386.nl writes: Dag-Erling Smørgrav d...@des.no writes: identified an individual device handled by that driver. FreeBSD no longer makes that distinction; each device has a unique system-wide minor number, and the major number is always zero. However, the

Re: svn commit: r198768 - head/sbin/mknod

2009-11-01 Thread Ed Schouten
* Dag-Erling Smørgrav d...@des.no wrote: (device numbers are currently unsigned int; is there a reason not to make them explicitly 32 bits wide, i.e. uint32_t?) I think it should explicitly use dev_t or something, right? -- Ed Schouten e...@80386.nl WWW: http://80386.nl/ pgp8LulXpKAXB.pgp

Re: svn commit: r198768 - head/sbin/mknod

2009-11-01 Thread Dag-Erling Smørgrav
Ed Schouten e...@80386.nl writes: Dag-Erling Smørgrav d...@des.no writes: (device numbers are currently unsigned int; is there a reason not to make them explicitly 32 bits wide, i.e. uint32_t?) I think it should explicitly use dev_t or something, right? Ah, I was looking in the wrong

Re: svn commit: r198748 - in head/sys/cam: . ata scsi

2009-11-01 Thread Andrew Thompson
Author: mav Date: Sun Nov 1 11:31:06 2009 New Revision: 198748 URL: http://svn.freebsd.org/changeset/base/198748 Log: MFp4: Fix reference counting bug, when device unreferenced before then invalidated. To do it, do not handle validity flag as another reference, but explicitly

svn commit: r198780 - in releng/8.0/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/usb/input dev/xen/xenpci

2009-11-01 Thread Hiroki Sato
Author: hrs Date: Mon Nov 2 06:36:54 2009 New Revision: 198780 URL: http://svn.freebsd.org/changeset/base/198780 Log: MFC r197999: Fix the 106/109 USB Japanese keyboard underscore issue. Sun Type 6 USB keyboard support (added in rev 1.46) conflicted with some scan codes used in

svn commit: r198781 - head/lib/libc/sys

2009-11-01 Thread Colin Percival
Author: cperciva Date: Mon Nov 2 07:21:13 2009 New Revision: 198781 URL: http://svn.freebsd.org/changeset/base/198781 Log: Attempt to reduce accidental foot-shooting by pointing out that accept(2)ed sockets do not necessarily inherit O_NONBLOCK from listening sockets on non-FreeBSD