svn commit: r184584 - head/sys/dev/cardbus

2008-11-02 Thread Warner Losh
Author: imp Date: Mon Nov 3 06:37:59 2008 New Revision: 184584 URL: http://svn.freebsd.org/changeset/base/184584 Log: Turns out this isn't even used at all... The bogon that I was tracing was in code from my p4 tree, not -current. Delete it here. Modified: head/sys/dev/cardbus/cardbusreg

svn commit: r184581 - head/sys/dev/cardbus

2008-11-02 Thread Warner Losh
Author: imp Date: Mon Nov 3 06:06:22 2008 New Revision: 184581 URL: http://svn.freebsd.org/changeset/base/184581 Log: Use child (the card) in preference to cbdev (the bridge) when allocating resources to read the CIS. I'm not sure when this changed, but it is totally wrong. Also, add a mi

svn commit: r184579 - head/sys/dev/cardbus

2008-11-02 Thread Warner Losh
Author: imp Date: Mon Nov 3 05:52:43 2008 New Revision: 184579 URL: http://svn.freebsd.org/changeset/base/184579 Log: We can't mask out the higher order bits and have the size come out right... Good thing the size was ignored... Where this macro is used, there's no reason to do it anywa

svn commit: r184578 - head/lib/libc/gen

2008-11-02 Thread Xin LI
Author: delphij Date: Mon Nov 3 05:19:45 2008 New Revision: 184578 URL: http://svn.freebsd.org/changeset/base/184578 Log: Sync with OpenBSD's dirname(3) - license change, avoid strcpy() over string constant, use memcpy() instead of strncpy() and improve code readibility. No functional chan

svn commit: r184577 - in head/sys/modules/amr: . amr_cam

2008-11-02 Thread Scott Long
Author: scottl Date: Mon Nov 3 04:13:27 2008 New Revision: 184577 URL: http://svn.freebsd.org/changeset/base/184577 Log: Add amr_cam module directory that was missed in the previous commit. Added: head/sys/modules/amr/amr_cam/ head/sys/modules/amr/amr_cam/Makefile (contents, props change

svn commit: r184573 - in head/sys: conf dev/amr i386/conf modules/amr

2008-11-02 Thread Scott Long
Author: scottl Date: Mon Nov 3 00:53:54 2008 New Revision: 184573 URL: http://svn.freebsd.org/changeset/base/184573 Log: Move the CAM passthrough code into a true module so that it doesn't have to be compiled into the main AMR driver. It's code that is nice to have but not required for nor

Re: svn commit: r184471 - in head/bin: cat cp

2008-11-02 Thread Ivan Voras
2008/11/2 Ulrich Spoerlein <[EMAIL PROTECTED]>: > On Thu, 30.10.2008 at 14:05:58 +, Ivan Voras wrote: >> Author: ivoras >> Date: Thu Oct 30 14:05:57 2008 >> New Revision: 184471 >> URL: http://svn.freebsd.org/changeset/base/184471 >> >> Log: >> Teach cat(1) and cp(1) to use a larger buffer if

Re: svn commit: r184471 - in head/bin: cat cp

2008-11-02 Thread Ivan Voras
2008/10/31 Giorgos Keramidas <[EMAIL PROTECTED]>: > Nice :) > > I didn't notice this in -hackers, but it may be worth letting the buffer > size grow above 1 MB when we have more than, say, 512 MB of memory. By > running dd(1) with buffer sizes of 1, 2, 4, 6, 8, 10, 12, 14, and 16 MB > there are l

svn commit: r184572 - in head/sys: fs/smbfs netsmb

2008-11-02 Thread Robert Watson
Author: rwatson Date: Sun Nov 2 23:20:27 2008 New Revision: 184572 URL: http://svn.freebsd.org/changeset/base/184572 Log: Catch up with netsmb locking: explicit thread arguments no longer required. Modified: head/sys/fs/smbfs/smbfs_vfsops.c head/sys/netsmb/smb_dev.c Modified: head/sys/fs/

svn commit: r184571 - head/sys/netsmb

2008-11-02 Thread Robert Watson
Author: rwatson Date: Sun Nov 2 23:15:32 2008 New Revision: 184571 URL: http://svn.freebsd.org/changeset/base/184571 Log: Catch up internal locking routines in netsmb with lockmgr changes -- explicit thread arguments are no longer required in many places. Modified: head/sys/netsmb/smb_conn

svn commit: r184570 - head/sys/kern

2008-11-02 Thread Ivan Voras
Author: ivoras Date: Sun Nov 2 23:11:20 2008 New Revision: 184570 URL: http://svn.freebsd.org/changeset/base/184570 Log: Increase the initial sbuf size for CPU topology dump to something more usable for newer CPUs. The new value allows 2 x quad core configuration dumps to fit within the ini

svn commit: r184569 - in stable/7/sys: . dev/aac

2008-11-02 Thread Xin LI
Author: delphij Date: Sun Nov 2 22:43:37 2008 New Revision: 184569 URL: http://svn.freebsd.org/changeset/base/184569 Log: MFC revisions 180072 and 182967 by emaste: Add explicit PCI IDs for the following Adaptec RAID Series 2 adapters: Adaptec RAID 2045 Adaptec RAID 2405 Ada

svn commit: r184565 - head/sys/dev/adb

2008-11-02 Thread Ed Schouten
Author: ed Date: Sun Nov 2 19:08:10 2008 New Revision: 184565 URL: http://svn.freebsd.org/changeset/base/184565 Log: Make the touch pad on my PowerBook G4 12" a little more usable. For an unknown reason the touch pad of my PowerBook generates button 5 events when you operate it. This cau

svn commit: r184568 - head/sys/netsmb

2008-11-02 Thread Robert Watson
Author: rwatson Date: Sun Nov 2 20:22:24 2008 New Revision: 184568 URL: http://svn.freebsd.org/changeset/base/184568 Log: smb_vc_put() requires that the passed vcp be locked, so lock it before dropping the connection when the requested service isn't available, or we may try to release a loc

Re: svn commit: r184471 - in head/bin: cat cp

2008-11-02 Thread Ulrich Spoerlein
On Thu, 30.10.2008 at 14:05:58 +, Ivan Voras wrote: > Author: ivoras > Date: Thu Oct 30 14:05:57 2008 > New Revision: 184471 > URL: http://svn.freebsd.org/changeset/base/184471 > > Log: > Teach cat(1) and cp(1) to use a larger buffer if enough memory is present > in the system. A simple he

svn commit: r184566 - head/sys/conf

2008-11-02 Thread Konstantin Belousov
Author: kib Date: Sun Nov 2 19:40:24 2008 New Revision: 184566 URL: http://svn.freebsd.org/changeset/base/184566 Log: Revert r184516. Option RL_TWISTER_ENABLE is no more after it became loader tunable. Pointy hat to:me Modified: head/sys/conf/NOTES Modified: head/sys/conf/NOT

svn commit: r184567 - head/contrib/smbfs/lib/smb

2008-11-02 Thread Robert Watson
Author: rwatson Date: Sun Nov 2 19:48:15 2008 New Revision: 184567 URL: http://svn.freebsd.org/changeset/base/184567 Log: When encoding an smb name, truncate one byte earlier in order than we did previously in order to ensure it fit properly in the bufer when encoded. This prevents a debugg

svn commit: r184564 - in head/sys: i386/i386 isa

2008-11-02 Thread Warner Losh
Author: imp Date: Sun Nov 2 18:48:54 2008 New Revision: 184564 URL: http://svn.freebsd.org/changeset/base/184564 Log: MFp4: Make the ISA bus keep track of more PNP details. Plus a minor style fix while I'm here. More could be done here, but except for some SBCs that don't have ACPI,

svn commit: r184563 - head/sys/dev/acpica

2008-11-02 Thread Warner Losh
Author: imp Date: Sun Nov 2 17:35:15 2008 New Revision: 184563 URL: http://svn.freebsd.org/changeset/base/184563 Log: Make the no driver stuff an ifdef. Modified: head/sys/dev/acpica/acpi.c Modified: head/sys/dev/acpica/acpi.c

svn commit: r184562 - in head/sys: conf dev/mn pci

2008-11-02 Thread Warner Losh
Author: imp Date: Sun Nov 2 17:04:54 2008 New Revision: 184562 URL: http://svn.freebsd.org/changeset/base/184562 Log: Move mn over. One of the last stragglers in sys/pci. There's no module built for this hardware, so no changes needed. Added: head/sys/dev/mn/ head/sys/dev/mn/if_mn.c

svn commit: r184561 - in head/sys: nfsclient nfsserver

2008-11-02 Thread Tom Rhodes
Author: trhodes Date: Sun Nov 2 17:00:23 2008 New Revision: 184561 URL: http://svn.freebsd.org/changeset/base/184561 Log: Document a few sysctls in the NFS client and server code. Minor style(9) where applicable. Approved by: alfred (slightly older version) Modified: head/sys/nfsclie

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

2008-11-02 Thread Warner Losh
Author: imp Date: Sun Nov 2 16:51:57 2008 New Revision: 184560 URL: http://svn.freebsd.org/changeset/base/184560 Log: Document dev.rl.%unit.twister_enable sysctl/tunable. Submitted by: Kostik Belousov Modified: head/share/man/man4/rl.4 Modified: head/share/man/man4/rl.4 ===

svn commit: r184559 - in head/sys: conf modules/rl pci

2008-11-02 Thread Warner Losh
Author: imp Date: Sun Nov 2 16:50:57 2008 New Revision: 184559 URL: http://svn.freebsd.org/changeset/base/184559 Log: Make RL_TWISTER_ENABLE a tunable/sysctl. Eliminate it as an option. Fix module build. Submitted by: Kostik Belousov Modified: head/sys/conf/options head/sys/modules

svn commit: r184558 - head/sys/dev/acpica/Osd

2008-11-02 Thread Alexander Motin
Author: mav Date: Sun Nov 2 12:50:16 2008 New Revision: 184558 URL: http://svn.freebsd.org/changeset/base/184558 Log: As soon as we have several threads per process now, it is not correct to use process ID as ACPI thread ID. Concurrent requests with equal thread IDs broke ACPI mutexes opera

svn commit: r184557 - head/sys/fs/ntfs

2008-11-02 Thread Edward Tomasz Napierala
Author: trasz Date: Sun Nov 2 11:49:19 2008 New Revision: 184557 URL: http://svn.freebsd.org/changeset/base/184557 Log: Remove the call to getinoquota() from ntfs_access. How did it get there?! Approved by: rwatson (mentor) Modified: head/sys/fs/ntfs/ntfs_vnops.c Modified: head/sys/f

Re: svn commit: r184554 - in head/sys: geom/journal gnu/fs/ext2fs kern nfsclient sys ufs/ffs ufs/ufs

2008-11-02 Thread Attilio Rao
2008/11/2, Bjoern A. Zeeb <[EMAIL PROTECTED]>: > On Sun, 2 Nov 2008, Attilio Rao wrote: > > > > > > > > > > > This patch modifies VFS ABI and breaks KPI for vfs_busy() so manpages > and > > > > __FreeBSD_version will be modified accordingly. > > > > > > > > > > > > > > So why didn't you update _

svn commit: r184554 - in head/sys: geom/journal gnu/fs/ext2fs kern nfsclient sys ufs/ffs ufs/ufs

2008-11-02 Thread Attilio Rao
Author: attilio Date: Sun Nov 2 10:15:42 2008 New Revision: 184554 URL: http://svn.freebsd.org/changeset/base/184554 Log: Improve VFS locking: - Implement real draining for vfs consumers by not relying on the mnt_lock and using instead a refcount in order to keep track of lock request

Re: svn commit: r184554 - in head/sys: geom/journal gnu/fs/ext2fs kern nfsclient sys ufs/ffs ufs/ufs

2008-11-02 Thread Bjoern A. Zeeb
On Sun, 2 Nov 2008, Attilio Rao wrote: Author: attilio Date: Sun Nov 2 10:15:42 2008 New Revision: 184554 URL: http://svn.freebsd.org/changeset/base/184554 Log: Improve VFS locking: - Implement real draining for vfs consumers by not relying on the mnt_lock and using instead a refcount in

Re: svn commit: r184554 - in head/sys: geom/journal gnu/fs/ext2fs kern nfsclient sys ufs/ffs ufs/ufs

2008-11-02 Thread Bjoern A. Zeeb
On Sun, 2 Nov 2008, Attilio Rao wrote: This patch modifies VFS ABI and breaks KPI for vfs_busy() so manpages and __FreeBSD_version will be modified accordingly. So why didn't you update __FreeBSD_version with the same commit that changed the KPI? I just prefer to split "managing" stuff

Re: svn commit: r184554 - in head/sys: geom/journal gnu/fs/ext2fs kern nfsclient sys ufs/ffs ufs/ufs

2008-11-02 Thread Attilio Rao
2008/11/2, Bjoern A. Zeeb <[EMAIL PROTECTED]>: > On Sun, 2 Nov 2008, Attilio Rao wrote: > > > > Author: attilio > > Date: Sun Nov 2 10:15:42 2008 > > New Revision: 184554 > > URL: http://svn.freebsd.org/changeset/base/184554 > > > > Log: > > Improve VFS locking: > > - Implement real draining for

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

2008-11-02 Thread Attilio Rao
Author: attilio Date: Sun Nov 2 10:33:57 2008 New Revision: 184556 URL: http://svn.freebsd.org/changeset/base/184556 Log: Reflect changes for the vfs_busy() prototype. Modified: head/share/man/man9/vfs_busy.9 Modified: head/share/man/man9/vfs_busy.9 =

svn commit: r184555 - head/sys/sys

2008-11-02 Thread Attilio Rao
Author: attilio Date: Sun Nov 2 10:20:18 2008 New Revision: 184555 URL: http://svn.freebsd.org/changeset/base/184555 Log: Bump __FreeBSD_version in order to reflect vfs_busy() prototype changing and its flags (MBF_NOWAIT, MBF_MNTLSTLOCK) introduction. Modified: head/sys/sys/param.h Modifi