svn commit: r199696 - in stable/8/sys: arm/mv dev/ata dev/ata/chipsets

2009-11-23 Thread Alexander Motin
Author: mav Date: Mon Nov 23 08:45:17 2009 New Revision: 199696 URL: http://svn.freebsd.org/changeset/base/199696 Log: MFC r198717: - Remove most of direct relations between ATA(4) peripherial and controller levels. It makes logic more transparent and is a mandatory step to wrap ATA(4) con

svn commit: r199697 - stable/8/sys/dev/ata/chipsets

2009-11-23 Thread Alexander Motin
Author: mav Date: Mon Nov 23 08:46:26 2009 New Revision: 199697 URL: http://svn.freebsd.org/changeset/base/199697 Log: MFC r198752: 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

svn commit: r199698 - in stable/8/sys/dev: ahci ata ata/chipsets

2009-11-23 Thread Alexander Motin
Author: mav Date: Mon Nov 23 08:56:17 2009 New Revision: 199698 URL: http://svn.freebsd.org/changeset/base/199698 Log: MFC r199259, r199262, r199322: Change the way in which AHCI+PATA combined controllers, such as JMicron are handled. Instead of trying to attach two different drivers to si

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

2009-11-23 Thread Alexander Motin
Author: mav Date: Mon Nov 23 09:02:08 2009 New Revision: 199699 URL: http://svn.freebsd.org/changeset/base/199699 Log: Refer more recently added Marvell chips. Modified: head/share/man/man4/ata.4 Modified: head/share/man/man4/ata.4

svn commit: r199700 - stable/8/lib/libc/posix1e

2009-11-23 Thread Christian Brueffer
Author: brueffer Date: Mon Nov 23 09:10:08 2009 New Revision: 199700 URL: http://svn.freebsd.org/changeset/base/199700 Log: MFC: r199317 Fix a memory leak in acl_from_text() in case the conversion succeeded. Modified: stable/8/lib/libc/posix1e/acl_from_text.c Directory Properties: stab

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

2009-11-23 Thread Alexander Motin
Author: mav Date: Mon Nov 23 09:13:32 2009 New Revision: 199701 URL: http://svn.freebsd.org/changeset/base/199701 Log: MFC 199699: Refer more recently added Marvell chips. Modified: stable/8/share/man/man4/ata.4 Directory Properties: stable/8/share/man/man4/ (props changed) Modified: s

svn commit: r199702 - stable/7/lib/libc/posix1e

2009-11-23 Thread Christian Brueffer
Author: brueffer Date: Mon Nov 23 09:15:16 2009 New Revision: 199702 URL: http://svn.freebsd.org/changeset/base/199702 Log: MFC: r199317 Fix a memory leak in acl_from_text() in case the conversion succeeded. Modified: stable/7/lib/libc/posix1e/acl_from_text.c Directory Properties: stab

svn commit: r199703 - stable/6/lib/libc/posix1e

2009-11-23 Thread Christian Brueffer
Author: brueffer Date: Mon Nov 23 09:16:39 2009 New Revision: 199703 URL: http://svn.freebsd.org/changeset/base/199703 Log: MFC: r199317 Fix a memory leak in acl_from_text() in case the conversion succeeded. Modified: stable/6/lib/libc/posix1e/acl_from_text.c Directory Properties: stab

svn commit: r199704 - stable/8/sys/dev/sound/pci/hda

2009-11-23 Thread Alexander Motin
Author: mav Date: Mon Nov 23 09:20:33 2009 New Revision: 199704 URL: http://svn.freebsd.org/changeset/base/199704 Log: MFC r196762: Improve HDA controller capabilities logging. Modified: stable/8/sys/dev/sound/pci/hda/hdac.c stable/8/sys/dev/sound/pci/hda/hdac_private.h stable/8/sys/dev

svn commit: r199705 - stable/8/sys/dev/sound/pci/hda

2009-11-23 Thread Alexander Motin
Author: mav Date: Mon Nov 23 09:21:35 2009 New Revision: 199705 URL: http://svn.freebsd.org/changeset/base/199705 Log: MFC r197017: Add Intel 82801JD (one more ICH10) HDA controller ID. Modified: stable/8/sys/dev/sound/pci/hda/hdac.c Directory Properties: stable/8/sys/ (props changed)

svn commit: r199706 - stable/8/sys/dev/sound/pci/hda

2009-11-23 Thread Alexander Motin
Author: mav Date: Mon Nov 23 09:22:38 2009 New Revision: 199706 URL: http://svn.freebsd.org/changeset/base/199706 Log: MFC r197018: Add NVidia MCP89 HDA controller IDs. Modified: stable/8/sys/dev/sound/pci/hda/hdac.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd

svn commit: r199707 - stable/8/sys/dev/sound/pci/hda

2009-11-23 Thread Alexander Motin
Author: mav Date: Mon Nov 23 09:26:30 2009 New Revision: 199707 URL: http://svn.freebsd.org/changeset/base/199707 Log: MFC r197611, r197640: - Add some bits of HDMI/DisplayPort support from later specification updates. It may be not enough to make them work, but at least should give some i

svn commit: r199708 - stable/8/sys/dev/sound/pci/hda

2009-11-23 Thread Alexander Motin
Author: mav Date: Mon Nov 23 09:28:16 2009 New Revision: 199708 URL: http://svn.freebsd.org/changeset/base/199708 Log: MFC r199258: Add more codec IDs. Modified: stable/8/sys/dev/sound/pci/hda/hdac.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/

svn commit: r199709 - stable/8/lib/libc/locale

2009-11-23 Thread Christian Brueffer
Author: brueffer Date: Mon Nov 23 09:44:08 2009 New Revision: 199709 URL: http://svn.freebsd.org/changeset/base/199709 Log: MFC: r199320 Fix grammar. Modified: stable/8/lib/libc/locale/nl_langinfo.3 Directory Properties: stable/8/lib/libc/ (props changed) stable/8/lib/libc/stdtime/

svn commit: r199710 - stable/7/lib/libc/locale

2009-11-23 Thread Christian Brueffer
Author: brueffer Date: Mon Nov 23 09:45:11 2009 New Revision: 199710 URL: http://svn.freebsd.org/changeset/base/199710 Log: MFC: r199320 Fix grammar. Modified: stable/7/lib/libc/locale/nl_langinfo.3 Directory Properties: stable/7/lib/libc/ (props changed) Modified: stable/7/lib/libc

svn commit: r199711 - stable/6/lib/libc/locale

2009-11-23 Thread Christian Brueffer
Author: brueffer Date: Mon Nov 23 09:45:59 2009 New Revision: 199711 URL: http://svn.freebsd.org/changeset/base/199711 Log: MFC: r199320 Fix grammar. Modified: stable/6/lib/libc/locale/nl_langinfo.3 Directory Properties: stable/6/lib/libc/ (props changed) Modified: stable/6/lib/libc

svn commit: r199712 - stable/6/sys/compat/pecoff

2009-11-23 Thread Bjoern A. Zeeb
Author: bz Date: Mon Nov 23 11:52:20 2009 New Revision: 199712 URL: http://svn.freebsd.org/changeset/base/199712 Log: MF7 r199330: Note: this change was never in head; thus directly merged from stable/7. As we pass the 'offset' unvalidated to vn_rdwr() make sure that it is unsigne

Re: svn commit: r199670 - head/sys/dev/bge

2009-11-23 Thread John Baldwin
On Sunday 22 November 2009 6:48:18 pm Scott Long wrote: > By definition, PCIe can't transfer across 4GB boundaries. It's not a > bug specific to Broadcom. If you're loading dynamic buffers (i.e. > mbufs), setting an appropriate boundary value in the tag will allow > busdma to take care of t

Re: svn commit: r199621 - head

2009-11-23 Thread Attilio Rao
2009/11/23 M. Warner Losh : > In message: <200911210143.nal1hmx3062...@svn.freebsd.org> >Doug Barton writes: > : Author: dougb > : Date: Sat Nov 21 01:43:22 2009 > : New Revision: 199621 > : URL: http://svn.freebsd.org/changeset/base/199621 > : > : Log: > : Add a note that wpa_suppli

Re: svn commit: r199670 - head/sys/dev/bge

2009-11-23 Thread Scott Long
On Nov 23, 2009, at 6:38 AM, John Baldwin wrote: On Sunday 22 November 2009 6:48:18 pm Scott Long wrote: By definition, PCIe can't transfer across 4GB boundaries. It's not a bug specific to Broadcom. If you're loading dynamic buffers (i.e. mbufs), setting an appropriate boundary value in the

Re: svn commit: r199670 - head/sys/dev/bge

2009-11-23 Thread John Baldwin
On Monday 23 November 2009 10:06:08 am Scott Long wrote: > > On Nov 23, 2009, at 6:38 AM, John Baldwin wrote: > > > On Sunday 22 November 2009 6:48:18 pm Scott Long wrote: > >> By definition, PCIe can't transfer across 4GB boundaries. It's not a > >> bug specific to Broadcom. If you're loading

svn commit: r199714 - in head/sys/boot: . i386 i386/loader i386/zfsboot i386/zfsloader

2009-11-23 Thread Robert Noland
Author: rnoland Date: Mon Nov 23 16:00:16 2009 New Revision: 199714 URL: http://svn.freebsd.org/changeset/base/199714 Log: Create a seperate ZFS enabled loader. This adds zfsloader which will be called by zfsboot/gptzfsboot code rather than the tradional loader. This eliminates the need

svn commit: r199715 - head/sys/fs/nfsserver

2009-11-23 Thread Rick Macklem
Author: rmacklem Date: Mon Nov 23 16:08:15 2009 New Revision: 199715 URL: http://svn.freebsd.org/changeset/base/199715 Log: Modify the experimental nfs server so that it falls back to using VOP_LOOKUP() when VFS_VGET() returns EOPNOTSUPP in the ReaddirPlus RPC. This patch is based upon one b

Re: svn commit: r199670 - head/sys/dev/bge

2009-11-23 Thread Julian Elischer
On Sunday 22 November 2009 6:48:18 pm Scott Long wrote: By definition, PCIe can't transfer across 4GB boundaries. It's not a bug specific to Broadcom. That is a limitation I was not aware of.. Not having the specs, can you tell us why it is "by definition" broken in this way? I.E. What do

Re: svn commit: r199615 - in head/sys: amd64/amd64 i386/i386 net

2009-11-23 Thread Jung-uk Kim
On Saturday 21 November 2009 05:21 am, Ed Schouten wrote: > Hi, > > * Jung-uk Kim wrote: > > #ifdef _KERNEL > > - stream.refs = malloc((nins + 1) * sizeof(u_int), M_BPFJIT, > > M_NOWAIT); +stream.refs = malloc((nins + 1) * sizeof(u_int), > > M_BPFJIT, + M_NOWAIT | M_ZERO); > > #els

svn commit: r199716 - stable/8/sys/cam/ata

2009-11-23 Thread Alexander Motin
Author: mav Date: Mon Nov 23 17:54:57 2009 New Revision: 199716 URL: http://svn.freebsd.org/changeset/base/199716 Log: MFC r199321: Disable PortMultiplier Async Notifications for time of ports reset. They are useless at that time, but confuse Marvell AHCI. Add quirk for SiI57XX Port Mul

svn commit: r199717 - head/sys/dev/ahci

2009-11-23 Thread Alexander Motin
Author: mav Date: Mon Nov 23 18:07:28 2009 New Revision: 199717 URL: http://svn.freebsd.org/changeset/base/199717 Log: Do not attach JMicrons with single PCI function. They are not working as AHCI for some reason, even when declaring so. Let atajmicron configure them for us and provide PATA

svn commit: r199718 - head/sys/dev/usb/controller

2009-11-23 Thread Andrew Thompson
Author: thompsa Date: Mon Nov 23 18:12:09 2009 New Revision: 199718 URL: http://svn.freebsd.org/changeset/base/199718 Log: Actually disable interrupts in ehci_detach(). Reviewed by: HPS Modified: head/sys/dev/usb/controller/ehci.c Modified: head/sys/dev/usb/controller/ehci.c ==

Re: svn commit: r199670 - head/sys/dev/bge

2009-11-23 Thread Pyun YongHyeon
On Sun, Nov 22, 2009 at 04:48:18PM -0700, Scott Long wrote: > By definition, PCIe can't transfer across 4GB boundaries. It's not a > bug specific to Broadcom. If you're loading dynamic buffers (i.e. > mbufs), setting an appropriate boundary value in the tag will allow > busdma to take care

Re: svn commit: r199670 - head/sys/dev/bge

2009-11-23 Thread Pyun YongHyeon
On Mon, Nov 23, 2009 at 02:05:11AM +0100, Joerg Sonnenberger wrote: > On Sun, Nov 22, 2009 at 08:50:27PM +, Pyun YongHyeon wrote: > > Log: > > Fix two long standing bugs on bge(4). Most pre BCM5755 controllers > > have a DMA bug when buffer address crosses a multiple of the 4GB > > bounda

Re: svn commit: r199670 - head/sys/dev/bge

2009-11-23 Thread Joerg Sonnenberger
On Mon, Nov 23, 2009 at 12:53:24PM -0800, Pyun YongHyeon wrote: > On Mon, Nov 23, 2009 at 02:05:11AM +0100, Joerg Sonnenberger wrote: > > On Sun, Nov 22, 2009 at 08:50:27PM +, Pyun YongHyeon wrote: > > > Log: > > > Fix two long standing bugs on bge(4). Most pre BCM5755 controllers > > > hav

svn commit: r199719 - head/sys/ia64/include

2009-11-23 Thread Marcel Moolenaar
Author: marcel Date: Mon Nov 23 21:09:23 2009 New Revision: 199719 URL: http://svn.freebsd.org/changeset/base/199719 Log: Revert previous commit. The problem was not related to overrunning the kernel stack at all. The new USB stack simply caused a change in timing that triggered a firmware b

svn commit: r199721 - in head/sys: amd64/amd64 i386/i386

2009-11-23 Thread Jung-uk Kim
Author: jkim Date: Mon Nov 23 22:23:19 2009 New Revision: 199721 URL: http://svn.freebsd.org/changeset/base/199721 Log: - Add more aggressive BPF JIT optimization. This is in more favor of i386 while the previous commit was more amd64-centric. - Use calloc(3) instead of malloc(3)/memset(3)

svn commit: r199722 - head/tools/regression/bpf/bpf_filter/tests

2009-11-23 Thread Jung-uk Kim
Author: jkim Date: Mon Nov 23 22:28:15 2009 New Revision: 199722 URL: http://svn.freebsd.org/changeset/base/199722 Log: Make this test case little bit more interesting. Modified: head/tools/regression/bpf/bpf_filter/tests/test0084.h Modified: head/tools/regression/bpf/bpf_filter/tests/test00

svn commit: r199723 - head/sys/sys

2009-11-23 Thread Marcel Moolenaar
Author: marcel Date: Mon Nov 23 23:23:05 2009 New Revision: 199723 URL: http://svn.freebsd.org/changeset/base/199723 Log: Don't make MJUMPAGESIZE equal to PAGE_SIZE unconditionally. When PAGE_SIZE is 16K, MJUMPAGESIZE equals MJUM16BYTES and causes build breakages. For PAGE_SIZE < 2K, defin

Re: svn commit: r199670 - head/sys/dev/bge

2009-11-23 Thread Maxim Sobolev
Joerg Sonnenberger wrote: On Sun, Nov 22, 2009 at 08:50:27PM +, Pyun YongHyeon wrote: Log: Fix two long standing bugs on bge(4). Most pre BCM5755 controllers have a DMA bug when buffer address crosses a multiple of the 4GB boundary(e.g. 4GB, 8GB, 12GB etc). Does this only affect tran

svn commit: r199727 - head/sys/ia64/ia64

2009-11-23 Thread Marcel Moolenaar
Author: marcel Date: Tue Nov 24 01:35:21 2009 New Revision: 199727 URL: http://svn.freebsd.org/changeset/base/199727 Log: Improve upon revision 196196 by removing the newly added comment in the wrong place and instead add a KASSERT in the right place. Modified: head/sys/ia64/ia64/interrupt.

svn commit: r199729 - stable/8/sys/ia64/include

2009-11-23 Thread Marcel Moolenaar
Author: marcel Date: Tue Nov 24 03:17:00 2009 New Revision: 199729 URL: http://svn.freebsd.org/changeset/base/199729 Log: MFC r198338: o Align function on a 32-byte boundary so that the core's front-end can deliver 2 bundles per cycle to the back-end. o Mark syscall stubs with a sp

svn commit: r199730 - in stable/8/lib/libthr/arch/ia64: . ia64 include

2009-11-23 Thread Marcel Moolenaar
Author: marcel Date: Tue Nov 24 03:23:40 2009 New Revision: 199730 URL: http://svn.freebsd.org/changeset/base/199730 Log: MFC r198450: Implement _umtx_op_err() for ia64. Added: stable/8/lib/libthr/arch/ia64/ia64/_umtx_op_err.S - copied unchanged from r198450, head/lib/libthr/arch/ia64

svn commit: r199731 - stable/8/sys/ia64/conf

2009-11-23 Thread Marcel Moolenaar
Author: marcel Date: Tue Nov 24 03:28:35 2009 New Revision: 199731 URL: http://svn.freebsd.org/changeset/base/199731 Log: MFC r198452: Add PRINTF_BUFR_SIZE=128, since we have SMP by default. While here, fix tabulation. Modified: stable/8/sys/ia64/conf/GENERIC Directory Properties: stabl

svn commit: r199732 - in stable/8/sys: conf ia64/ia64 ia64/include

2009-11-23 Thread Marcel Moolenaar
Author: marcel Date: Tue Nov 24 03:32:42 2009 New Revision: 199732 URL: http://svn.freebsd.org/changeset/base/199732 Log: MFC r198733: Reimplement the lazy FP context switching... ...This change fixes the high FP inconsistency panics. Added: stable/8/sys/ia64/ia64/highfp.c - copied u

svn commit: r199733 - stable/8/sys/nfsserver

2009-11-23 Thread Marcel Moolenaar
Author: marcel Date: Tue Nov 24 03:38:42 2009 New Revision: 199733 URL: http://svn.freebsd.org/changeset/base/199733 Log: MFC r199274, r199284: Fix an obvious panic by not casting from a pointer that is 4-bytes alignment to a type that needs 8-byte alignment, and thus causing misaligned me

Re: svn commit: r199729 - stable/8/sys/ia64/include

2009-11-23 Thread Max Laier
On Tuesday 24 November 2009 04:17:00 Marcel Moolenaar wrote: > Author: marcel > Date: Tue Nov 24 03:17:00 2009 > New Revision: 199729 > URL: http://svn.freebsd.org/changeset/base/199729 > > Log: > MFC r198338: > o Align function on a 32-byte boundary so that the core's front-end > can

Re: svn commit: r199729 - stable/8/sys/ia64/include

2009-11-23 Thread Marcel Moolenaar
On Nov 23, 2009, at 7:51 PM, Max Laier wrote: >> Modified: >> stable/8/sys/ia64/include/asm.h >> Directory Properties: >> stable/8/sys/ (props changed) > > These MFCs seem to be missing mergeinfo for the contrib directories. I pruned them. We don't seem to get rid of merge into in the wrong

svn commit: r199734 - in head/sys: dev/xen/blkfront i386/xen

2009-11-23 Thread Kip Macy
Author: kmacy Date: Tue Nov 24 07:17:51 2009 New Revision: 199734 URL: http://svn.freebsd.org/changeset/base/199734 Log: fixup kernel core dumps on paravirtual guests Modified: head/sys/dev/xen/blkfront/blkfront.c head/sys/i386/xen/pmap.c Modified: head/sys/dev/xen/blkfront/blkfront.c

svn commit: r199735 - head/sys/dev/xen/console

2009-11-23 Thread Kip Macy
Author: kmacy Date: Tue Nov 24 07:18:38 2009 New Revision: 199735 URL: http://svn.freebsd.org/changeset/base/199735 Log: remove annoying printf that cripples kdb on PV guests Modified: head/sys/dev/xen/console/console.c Modified: head/sys/dev/xen/console/console.c ===