svn commit: r197478 - head/sys/dev/fb

2009-09-24 Thread Xin LI
Author: delphij Date: Fri Sep 25 02:19:57 2009 New Revision: 197478 URL: http://svn.freebsd.org/changeset/base/197478 Log: Fix LINT build. Modified: head/sys/dev/fb/vesa.c Modified: head/sys/dev/fb/vesa.c == --- head

svn commit: r197477 - head/lib/libthr/thread

2009-09-24 Thread David Xu
Author: davidxu Date: Fri Sep 25 00:15:30 2009 New Revision: 197477 URL: http://svn.freebsd.org/changeset/base/197477 Log: don't report error if key was deleted. PR: threads/135462 Modified: head/lib/libthr/thread/thr_spec.c Modified: head/lib/libthr/thread/thr_spec.c

svn commit: r197476 - head/sys/kern

2009-09-24 Thread David Xu
Author: davidxu Date: Fri Sep 25 00:03:13 2009 New Revision: 197476 URL: http://svn.freebsd.org/changeset/base/197476 Log: In function do_rw_wrlock, when a writer got an error and before returning, check if there are readers blocked by us via URWLOCK_WRITE_WAITERS flag, and resume the reader

svn commit: r197475 - head/sys/compat/x86bios

2009-09-24 Thread Jung-uk Kim
Author: jkim Date: Thu Sep 24 22:42:35 2009 New Revision: 197475 URL: http://svn.freebsd.org/changeset/base/197475 Log: Dump real mode registers under bootverbose to help debugging BIOS emulator. Modified: head/sys/compat/x86bios/x86bios.c Modified: head/sys/compat/x86bios/x86bios.c

svn commit: r197474 - stable/8/lib/libkvm

2009-09-24 Thread Brooks Davis
Author: brooks Date: Thu Sep 24 21:35:13 2009 New Revision: 197474 URL: http://svn.freebsd.org/changeset/base/197474 Log: MFC r196990: cr_groups is no longer embedded in struct ucred and is instead stored in a seperate array. As such we need to use kvm_read rather than bcopy to populate t

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

2009-09-24 Thread Brooks Davis
Author: brooks Date: Thu Sep 24 21:32:56 2009 New Revision: 197473 URL: http://svn.freebsd.org/changeset/base/197473 Log: MFC r197269: Allocate space for the group array in a static credential used in the quota code. One case was correctly handled in r194498, but this one was missed.

svn commit: r197472 - stable/8/gnu/usr.bin/patch

2009-09-24 Thread Stephane E. Potvin
Author: sepotvin Date: Thu Sep 24 20:43:08 2009 New Revision: 197472 URL: http://svn.freebsd.org/changeset/base/197472 Log: MFC r197259 The buffer returned by fgetln is not a "C" string and might not be NUL terminated. Make sure that it is before using it. Reviewed by:marck@ Ap

svn commit: r197471 - head/sys/teken

2009-09-24 Thread Ed Schouten
Author: ed Date: Thu Sep 24 20:34:44 2009 New Revision: 197471 URL: http://svn.freebsd.org/changeset/base/197471 Log: Add __unused. It turns out my previous commit does survive a buildkernel, but not compilation of the individual test tools that use WARNS=6. Modified: head/sys/teken/te

svn commit: r197470 - head/sys/teken

2009-09-24 Thread Ed Schouten
Author: ed Date: Thu Sep 24 20:33:14 2009 New Revision: 197470 URL: http://svn.freebsd.org/changeset/base/197470 Log: Make SCS work in 8-bit mode. This means we can finally do things like VT100 box drawing when using Syscons (8-bit characters). As far as I know, the only remaining issue

svn commit: r197469 - head/sys/dev/dpms

2009-09-24 Thread Jung-uk Kim
Author: jkim Date: Thu Sep 24 20:23:24 2009 New Revision: 197469 URL: http://svn.freebsd.org/changeset/base/197469 Log: Initialize registers to zero before calling the interrupt handlers inside emulator as we did in r197424 for vesa. Submitted by: paradox (ddkprog yahoo com) Modified:

svn commit: r197468 - head/sys/dev/fb

2009-09-24 Thread Jung-uk Kim
Author: jkim Date: Thu Sep 24 20:10:00 2009 New Revision: 197468 URL: http://svn.freebsd.org/changeset/base/197468 Log: Some broken VESA BIOSes, e.g., IBM T23, return wrong value from vesa_bios_get_line_length() in graphics mode. Always calculate the value from known video info instead.

svn commit: r197467 - head/sys/conf

2009-09-24 Thread Jung-uk Kim
Author: jkim Date: Thu Sep 24 19:42:56 2009 New Revision: 197467 URL: http://svn.freebsd.org/changeset/base/197467 Log: r197444 unnecessarily changed positions of these files. Re-sort. Modified: head/sys/conf/files.amd64 head/sys/conf/files.i386 Modified: head/sys/conf/files.amd64 ===

svn commit: r197466 - in head/sys: compat/x86bios dev/atkbdc dev/dpms dev/fb

2009-09-24 Thread Jung-uk Kim
Author: jkim Date: Thu Sep 24 19:24:42 2009 New Revision: 197466 URL: http://svn.freebsd.org/changeset/base/197466 Log: - Use FreeBSD function naming convention. - Change x86biosCall() to more appropriate x86bios_intr().[1] Discussed with: delphij, paradox (ddkprog yahoo com) Subm

svn commit: r197465 - head/sys/dev/de

2009-09-24 Thread Pyun YongHyeon
Author: yongari Date: Thu Sep 24 17:53:00 2009 New Revision: 197465 URL: http://svn.freebsd.org/changeset/base/197465 Log: Align Tx/Rx descriptors on 32 bytes boundary instead of PAGE_SIZE. Also align setup descriptor on 32 bytes boundary. Tx buffer have no alignment limitation so create dma

svn commit: r197464 - head/sys/dev/de

2009-09-24 Thread Pyun YongHyeon
Author: yongari Date: Thu Sep 24 17:11:41 2009 New Revision: 197464 URL: http://svn.freebsd.org/changeset/base/197464 Log: Destroy dmamap in dma cleanup. Modified: head/sys/dev/de/if_de.c Modified: head/sys/dev/de/if_de.c ==

svn commit: r197463 - head/sys/dev/de

2009-09-24 Thread Pyun YongHyeon
Author: yongari Date: Thu Sep 24 17:07:04 2009 New Revision: 197463 URL: http://svn.freebsd.org/changeset/base/197463 Log: Consistently use bus_addr_t. Modified: head/sys/dev/de/if_de.c head/sys/dev/de/if_devar.h Modified: head/sys/dev/de/if_de.c ===

svn commit: r197462 - head/sys/kern

2009-09-24 Thread Alexander Motin
Author: mav Date: Thu Sep 24 17:03:32 2009 New Revision: 197462 URL: http://svn.freebsd.org/changeset/base/197462 Log: Do not call BUS_DRIVER_ADDED() for detached buses (attach failed) on driver load. This fixes crash on atapicam module load on systems, where some ata channels (usually ata1)

svn commit: r197461 - head/sys/dev/de

2009-09-24 Thread Pyun YongHyeon
Author: yongari Date: Thu Sep 24 16:57:35 2009 New Revision: 197461 URL: http://svn.freebsd.org/changeset/base/197461 Log: Use __NO_STRICT_ALIGNMENT to determine whether de(4) have to apply alignment fixup code for received frames on strict alignment architectures. Modified: head/sys/dev/

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

2009-09-24 Thread John Baldwin
Author: jhb Date: Thu Sep 24 16:51:56 2009 New Revision: 197460 URL: http://svn.freebsd.org/changeset/base/197460 Log: Remove unnecessary locking from attach(). This fixes a LOR between the acpi_ibm lock and the sysctl lock. MFC after:3 days Modified: head/sys/dev/acpi_support/acp

svn commit: r197459 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2009-09-24 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Sep 24 15:56:26 2009 New Revision: 197459 URL: http://svn.freebsd.org/changeset/base/197459 Log: Before calling vflush(FORCECLOSE) mark file system as unmounted so the following vnops will fail. This is very important, because without this change vnode could be reclaime

svn commit: r197458 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2009-09-24 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Sep 24 15:49:15 2009 New Revision: 197458 URL: http://svn.freebsd.org/changeset/base/197458 Log: Close race in zfs_zget(). We have to increase usecount first and then check for VI_DOOMED flag. Before this change vnode could be reclaimed between checking for the flag and

svn commit: r197457 - stable/8/lib/libdisk

2009-09-24 Thread Takahashi Yoshihiro
Author: nyan Date: Thu Sep 24 15:34:18 2009 New Revision: 197457 URL: http://svn.freebsd.org/changeset/base/197457 Log: MFC: r197322 and r197374 Revision: 197322 Log: Correct BIOS header sanitizing on pc98. Revision: 197374 Log: Disable a check on a disk size be

svn commit: r197456 - stable/7/release/doc/en_US.ISO8859-1/hardware

2009-09-24 Thread John Baldwin
Author: jhb Date: Thu Sep 24 14:30:17 2009 New Revision: 197456 URL: http://svn.freebsd.org/changeset/base/197456 Log: Manually remove mergeinfo from this file. For some reason svn didn't elide this automatically as it should have during the previous revision. Modified: stable/7/release/do

svn commit: r197455 - head/sys/amd64/amd64

2009-09-24 Thread Ed Maste
Author: emaste Date: Thu Sep 24 14:26:42 2009 New Revision: 197455 URL: http://svn.freebsd.org/changeset/base/197455 Log: Add a backtrace to the "fpudna in kernel mode!" case, to help track down where this comes from. Reviewed by: bde Modified: head/sys/amd64/amd64/trap.c Modified: h

svn commit: r197454 - head/tools/tools/mwl/mwlstats

2009-09-24 Thread Rui Paulo
Author: rpaulo Date: Thu Sep 24 11:11:00 2009 New Revision: 197454 URL: http://svn.freebsd.org/changeset/base/197454 Log: Update the includes to two more levels of subdirs. MFC after:1 week Modified: head/tools/tools/mwl/mwlstats/mwlstats.c Modified: head/tools/tools/mwl/mwlstats/mw

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

2009-09-24 Thread Attilio Rao
Author: attilio Date: Thu Sep 24 09:08:22 2009 New Revision: 197453 URL: http://svn.freebsd.org/changeset/base/197453 Log: MFC r197223: Fix a deadlock in sched_switch_migrate given by the runqueues being not locked at once together when doing the switch. Modified: stable/7/sys/ (props c

svn commit: r197452 - in stable/8/lib/libthr: . thread

2009-09-24 Thread Attilio Rao
Author: attilio Date: Thu Sep 24 08:35:17 2009 New Revision: 197452 URL: http://svn.freebsd.org/changeset/base/197452 Log: MFC r197445: Let fall down in the hard path (thus handling shared waiters wakeup correctly) for the shared waiters also in the rwlock held in shared mode as well, fixi

Re: svn commit: r197432 - head/tools/regression/sockets/accf_data_attach

2009-09-24 Thread Pawel Jakub Dawidek
On Wed, Sep 23, 2009 at 02:23:09PM +, John Baldwin wrote: > Author: jhb > Date: Wed Sep 23 14:23:09 2009 > New Revision: 197432 > URL: http://svn.freebsd.org/changeset/base/197432 > > Log: > - Remove a bogus test: setsockopt() doesn't return a length, getsockopt() > does. > - Use %z to

svn commit: r197450 - in head/sys: amd64/pci dev/pci i386/pci

2009-09-24 Thread Andriy Gapon
Author: avg Date: Thu Sep 24 07:11:23 2009 New Revision: 197450 URL: http://svn.freebsd.org/changeset/base/197450 Log: number of cleanups in i386 and amd64 pci md code o introduce PCIE_REGMAX and use it instead of ad-hoc constant o where 'reg' parameter/variable is not already unsigned, c