Re: svn commit: r186182 - head/sys/dev/ata

2008-12-27 Thread Poul-Henning Kamp
In message <20081228053530.gf18...@elvis.mu.org>, Alfred Perlstein writes: >* Scott Long [081226 18:34] wrote: >> I prefer to do nothing. It's not unsafe or erroneous to access cfg >> registers. But if some kind of message does get added, I insist that >> it drop all pretenses and say, "you

Re: svn commit: r186182 - head/sys/dev/ata

2008-12-27 Thread M. Warner Losh
In message: <20081228053530.gf18...@elvis.mu.org> Alfred Perlstein writes: : * Scott Long [081226 18:34] wrote: : > : > On Dec 26, 2008, at 5:38 PM, Alfred Perlstein : > wrote: : > > : > >Easy enough to stash a "once" varible in the generic device struct : > >and warn when returni

svn commit: r186534 - releng/7.1/share/man/man4

2008-12-27 Thread Xin LI
Author: delphij Date: Sun Dec 28 05:38:49 2008 New Revision: 186534 URL: http://svn.freebsd.org/changeset/base/186534 Log: Revert MFC of 185574 in response of changeset 186533 which removed BCM5709/5716 support. Approved by: re (kensmith) Modified: releng/7.1/share/man/man4/ (props

Re: svn commit: r186182 - head/sys/dev/ata

2008-12-27 Thread Alfred Perlstein
* Scott Long [081226 18:34] wrote: > > On Dec 26, 2008, at 5:38 PM, Alfred Perlstein > wrote: > > > >Easy enough to stash a "once" varible in the generic device struct > >and warn when returning from an isr when INVARIANTS or something is > >turned on. > > > >Then you'd only get one warning pe

svn commit: r186533 - in releng/7.1/sys: . contrib/pf dev/bce dev/cxgb modules/cxgb

2008-12-27 Thread Xin LI
Author: delphij Date: Sun Dec 28 05:32:17 2008 New Revision: 186533 URL: http://svn.freebsd.org/changeset/base/186533 Log: Revert the bce(4) MFC and restore the state of code as of before changeset 184826. Some pending reliability changes needs to be tested throughly and it does not seem

Re: svn commit: r186529 - head/sys/dev/acpi_support

2008-12-27 Thread Andrew Thompson
On Sat, Dec 27, 2008 at 08:48:11PM +, Stanislav Sedov wrote: > Author: stas > Date: Sat Dec 27 20:48:11 2008 > New Revision: 186529 > URL: http://svn.freebsd.org/changeset/base/186529 > > Log: > - Fix incorrect array declaration that was causing the stack overflow > on some (most?) Asus

Re: svn commit: r186519 - head

2008-12-27 Thread Julian Elischer
M. Warner Losh wrote: In message: <26259e4e-6e26-4dae-8046-80c7c46b7...@gmail.com> Garrett Cooper writes: : > - For mips which is not yet part of universe: : > + kernels compile fine after I had fixed one earlier today. : > + world does not build but fails in libpam. : : *paging m

Re: svn commit: r186519 - head

2008-12-27 Thread M. Warner Losh
In message: <26259e4e-6e26-4dae-8046-80c7c46b7...@gmail.com> Garrett Cooper writes: : > - For mips which is not yet part of universe: : > + kernels compile fine after I had fixed one earlier today. : > + world does not build but fails in libpam. : : *paging mr Losh -- mr Losh!* Sti

svn commit: r186532 - head/sys/netipsec

2008-12-27 Thread Bjoern A. Zeeb
Author: bz Date: Sat Dec 27 23:24:59 2008 New Revision: 186532 URL: http://svn.freebsd.org/changeset/base/186532 Log: Like in the rest of the file and the network stack use inp as variable name for the inpcb. For consistency with the other *_hdrsiz functions use 'size' instead of 'siz' as

svn commit: r186531 - head/sys/netipsec

2008-12-27 Thread Bjoern A. Zeeb
Author: bz Date: Sat Dec 27 22:58:16 2008 New Revision: 186531 URL: http://svn.freebsd.org/changeset/base/186531 Log: Non-functional (style) changes: - Always use round brackets with return (). - Add empty line to beginning of functions without local variables. - Comments start with a capi

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

2008-12-27 Thread Garrett Cooper
On Dec 27, 2008, at 13:47, "Antoine Brodin" wrote: On Sat, Dec 27, 2008 at 10:19 PM, wrote: On 27/12/2008, Antoine Brodin wrote: On Wed, Dec 17, 2008 at 8:57 PM, Ivan Voras wrote: Modified: head/sys/kern/subr_param.c [snip] +enum VM_GUEST { VM_GUEST_NO, VM_GUEST_VM, VM_GUEST_XEN }; +

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

2008-12-27 Thread Antoine Brodin
On Sat, Dec 27, 2008 at 10:19 PM, wrote: > On 27/12/2008, Antoine Brodin wrote: >> On Wed, Dec 17, 2008 at 8:57 PM, Ivan Voras wrote: > >> Modified: head/sys/kern/subr_param.c >> [snip] >>> +enum VM_GUEST { VM_GUEST_NO, VM_GUEST_VM, VM_GUEST_XEN }; >>> + >> [snip] >>> - hz = detec

svn commit: r186530 - head/sys/netipsec

2008-12-27 Thread Bjoern A. Zeeb
Author: bz Date: Sat Dec 27 21:20:34 2008 New Revision: 186530 URL: http://svn.freebsd.org/changeset/base/186530 Log: Convert function definitions to constantly use ANSI-style parameter declarations. Reviewed by: rwatson MFC after:4 weeks Modified: head/sys/netipsec/ipsec.c Mod

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

2008-12-27 Thread ivoras
On 27/12/2008, Antoine Brodin wrote: > On Wed, Dec 17, 2008 at 8:57 PM, Ivan Voras wrote: > Modified: head/sys/kern/subr_param.c > [snip] >> +enum VM_GUEST { VM_GUEST_NO, VM_GUEST_VM, VM_GUEST_XEN }; >> + > [snip] >> - hz = detect_virtual() ? HZ_VM : HZ; >> + hz = vm_

svn commit: r186529 - head/sys/dev/acpi_support

2008-12-27 Thread Stanislav Sedov
Author: stas Date: Sat Dec 27 20:48:11 2008 New Revision: 186529 URL: http://svn.freebsd.org/changeset/base/186529 Log: - Fix incorrect array declaration that was causing the stack overflow on some (most?) Asus laptops. Discussed with: rpaulo Approved by: kib (mentor) MFC aft

svn commit: r186528 - head/sys/netipsec

2008-12-27 Thread Bjoern A. Zeeb
Author: bz Date: Sat Dec 27 20:37:53 2008 New Revision: 186528 URL: http://svn.freebsd.org/changeset/base/186528 Log: Rewrite ipsec6_setspidx_inpcb() to match the logic in the (now) equivalent IPv4 counterpart. MFC after:4 weeks Modified: head/sys/netipsec/ipsec.c Modified: head/s

svn commit: r186527 - head/sys/netipsec

2008-12-27 Thread Bjoern A. Zeeb
Author: bz Date: Sat Dec 27 19:42:59 2008 New Revision: 186527 URL: http://svn.freebsd.org/changeset/base/186527 Log: For consistency with ipsec4_setspidx_inpcb() rename file local function ipsec6_setspidx_in6pcb() to ipsec6_setspidx_inpcb(). MFC after:4 weeks Modified: head/sys/ne

svn commit: r186526 - head/sys/netipsec

2008-12-27 Thread Bjoern A. Zeeb
Author: bz Date: Sat Dec 27 19:37:46 2008 New Revision: 186526 URL: http://svn.freebsd.org/changeset/base/186526 Log: Change the in6p variable names to inp to be able to diff the v4 to the v6 implementations. MFC after:4 weeks Modified: head/sys/netipsec/ipsec.c Modified: head/sys

svn commit: r186525 - head/sys/arm/conf

2008-12-27 Thread Bjoern A. Zeeb
Author: bz Date: Sat Dec 27 19:03:57 2008 New Revision: 186525 URL: http://svn.freebsd.org/changeset/base/186525 Log: In additions to the configs from r185478, which also enabled the use of modules for arm, disable them by adding MODULES_OVERRIDE="" here as well. Reviewed by: sam MFC

svn commit: r186524 - head/sys/arm/conf

2008-12-27 Thread Sam Leffler
Author: sam Date: Sat Dec 27 19:02:01 2008 New Revision: 186524 URL: http://svn.freebsd.org/changeset/base/186524 Log: arm is in DEFAULTS; remove dup Submitted by: bz Modified: head/sys/arm/conf/CAMBRIA Modified: head/sys/arm/conf/CAMBRIA

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

2008-12-27 Thread Antoine Brodin
On Wed, Dec 17, 2008 at 8:57 PM, Ivan Voras wrote: > Author: ivoras > Date: Wed Dec 17 19:57:12 2008 > New Revision: 186252 > URL: http://svn.freebsd.org/changeset/base/186252 > > Log: > Introduce a sysctl kern.vm_guest that reflects what the kernel knows about > it running under a virtual envir

svn commit: r186523 - head/sys/arm/conf

2008-12-27 Thread Bjoern A. Zeeb
Author: bz Date: Sat Dec 27 17:22:17 2008 New Revision: 186523 URL: http://svn.freebsd.org/changeset/base/186523 Log: Removed duplicate makeoptionsMODULES_OVERRIDE="" Modified: head/sys/arm/conf/AVILA Modified: head/sys/arm/conf/AVILA =

svn commit: r186522 - head/sys/kern

2008-12-27 Thread Bjoern A. Zeeb
Author: bz Date: Sat Dec 27 17:19:16 2008 New Revision: 186522 URL: http://svn.freebsd.org/changeset/base/186522 Log: Hide detect_virtual() along with the accompanying string arrays under #ifndef XEN to make XEN config compile again. In case of Xen vm_guest is hard coded. Move the list

Re: svn commit: r186519 - head

2008-12-27 Thread Garrett Cooper
for `make universe'. This catches a few more arm and, once enabled, mips configs and permits having local configs named like NOINET6. FYI: current state of `make universe': - Does not complete for a few arm configs. Patch to fix this, is here fore review: http://people.freebsd.org

svn commit: r186521 - head/sys/dev/uart

2008-12-27 Thread Alexander Kabaev
Author: kan Date: Sat Dec 27 16:03:34 2008 New Revision: 186521 URL: http://svn.freebsd.org/changeset/base/186521 Log: Minor style(9) compliance change. Modified: head/sys/dev/uart/uart_tty.c Modified: head/sys/dev/uart/uart_tty.c =

svn commit: r186520 - head/sys/dev/puc

2008-12-27 Thread Roman Kurakin
Author: rik Date: Sat Dec 27 15:22:22 2008 New Revision: 186520 URL: http://svn.freebsd.org/changeset/base/186520 Log: Add support for the Oxford OX16PCI958-based card. Note, that the patch provided with this card for the Linux states that the card uses DEFAULT_RCLK * 2, while in fact it

Re: svn commit: r186519 - head

2008-12-27 Thread Bjoern A. Zeeb
once enabled, mips configs and permits having local configs named like NOINET6. FYI: current state of `make universe': - Does not complete for a few arm configs. Patch to fix this, is here fore review: http://people.freebsd.org/~bz/20081227-01-arm-conf.diff - Does not complete for one i

svn commit: r186519 - head

2008-12-27 Thread Bjoern A. Zeeb
Author: bz Date: Sat Dec 27 15:07:51 2008 New Revision: 186519 URL: http://svn.freebsd.org/changeset/base/186519 Log: Permit digits at the beginning and end of kernel config file names for `make universe'. This catches a few more arm and, once enabled, mips configs and permits having local c

svn commit: r186518 - head/usr.sbin/pkg_install/lib

2008-12-27 Thread Florent Thoumie
Author: flz Date: Sat Dec 27 14:34:33 2008 New Revision: 186518 URL: http://svn.freebsd.org/changeset/base/186518 Log: Fix memory leaks introduced in last commit. Bump version to 20081227. Reported by: gcooper Submitted by: Andrea Barberio MFC after:1 month Modified: head

svn commit: r186517 - head/sys/geom/vinum

2008-12-27 Thread Ulf Lilleengen
Author: lulf Date: Sat Dec 27 14:32:39 2008 New Revision: 186517 URL: http://svn.freebsd.org/changeset/base/186517 Log: - Fix an issue with access permissions to underlying disks used by a gvinum plex. If the plex is a raid5 plex, and is being written to, parity data might have to be re

svn commit: r186516 - head/sbin/geom/misc

2008-12-27 Thread Ulf Lilleengen
Author: lulf Date: Sat Dec 27 14:24:24 2008 New Revision: 186516 URL: http://svn.freebsd.org/changeset/base/186516 Log: - Back out r186038. Rather than changing the intent of the caller, the problem should be handled internally in gvinum. Suggested by: pjd Modified: head/sbin/geom/mi

svn commit: r186515 - head/cddl/contrib/opensolaris/lib/libzfs/common

2008-12-27 Thread Robert Watson
Author: rwatson Date: Sat Dec 27 14:17:15 2008 New Revision: 186515 URL: http://svn.freebsd.org/changeset/base/186515 Log: Including mount.h requires including param.h. MFC after:3 weeks Modified: head/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_sendrecv.c Modified: head/cddl/

svn commit: r186514 - head/sys/modules/usb2

2008-12-27 Thread Weongyo Jeong
Author: weongyo Date: Sat Dec 27 12:23:22 2008 New Revision: 186514 URL: http://svn.freebsd.org/changeset/base/186514 Log: unbreak the build. Decoupled the USB2's NDIS build from the default build. Pointy hat to: me Modified: head/sys/modules/usb2/Makefile Modified: head/sys/modules

svn commit: r186513 - head/sys/dev/cfe

2008-12-27 Thread Bjoern A. Zeeb
Author: bz Date: Sat Dec 27 11:38:41 2008 New Revision: 186513 URL: http://svn.freebsd.org/changeset/base/186513 Log: Remove an unused variable to make the SENTRY5 mips kernel compile (though with some asm warning). Modified: head/sys/dev/cfe/cfe_console.c Modified: head/sys/dev/cfe/cfe_co

svn commit: r186512 - head/lib/libutil

2008-12-27 Thread Robert Watson
Author: rwatson Date: Sat Dec 27 11:12:23 2008 New Revision: 186512 URL: http://svn.freebsd.org/changeset/base/186512 Log: Include param.h instead of types.h when using user.h. Otherwise there is a dependence on ucred.h including audit.h including param.h, which we would like to eliminate.

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

2008-12-27 Thread Alexander Motin
Author: mav Date: Sat Dec 27 11:00:20 2008 New Revision: 186511 URL: http://svn.freebsd.org/changeset/base/186511 Log: Add some found NVidia MCP7x HDA controller IDs. Modified: head/sys/dev/sound/pci/hda/hdac.c Modified: head/sys/dev/sound/pci/hda/hdac.c =

svn commit: r186510 - head/sys/kern

2008-12-27 Thread Peter Holm
Author: pho Date: Sat Dec 27 10:13:43 2008 New Revision: 186510 URL: http://svn.freebsd.org/changeset/base/186510 Log: Prevent overflow of uio_resid. Approved by: kib Modified: head/sys/kern/vfs_syscalls.c Modified: head/sys/kern/vfs_syscalls.c =

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

2008-12-27 Thread Weongyo Jeong
Author: weongyo Date: Sat Dec 27 09:42:17 2008 New Revision: 186509 URL: http://svn.freebsd.org/changeset/base/186509 Log: fix a bug to handling the argument that it passed `device_t' but it's handled as `struct ndis_softc'. It'll cause a panic when the driver is detached. Modified: head

svn commit: r186508 - head/sys/netipsec

2008-12-27 Thread Bjoern A. Zeeb
Author: bz Date: Sat Dec 27 09:36:22 2008 New Revision: 186508 URL: http://svn.freebsd.org/changeset/base/186508 Log: Make ipsec_getpolicybysock() static and no longer export it. It has not been used outside this file since about the FAST_IPSEC -> IPSEC change. MFC after:4 weeks Modi

Re: svn commit: r185982 - head/usr.sbin/sysinstall

2008-12-27 Thread Roman Divacky
On Fri, Dec 26, 2008 at 05:46:12PM -0800, Garrett Cooper wrote: > On Fri, Dec 26, 2008 at 5:10 PM, Alfred Perlstein wrote: > > * Ken Smith [081226 16:13] wrote: > >> On Fri, 2008-12-26 at 15:46 -0800, Alfred Perlstein wrote: > >> > Does this mean that the user has to find the "Linux" package in t

svn commit: r186507 - in head: share/man/man4 sys/compat/ndis sys/dev/if_ndis sys/modules/ndis usr.sbin/ndiscvt

2008-12-27 Thread Weongyo Jeong
Author: weongyo Date: Sat Dec 27 08:03:32 2008 New Revision: 186507 URL: http://svn.freebsd.org/changeset/base/186507 Log: Integrate the NDIS USB support code to CURRENT. Now the NDISulator supports NDIS USB drivers that it've tested with devices as follows: - Anygate XM-142 (Conex