svn commit: r194637 - head/lib/libkiconv

2009-06-22 Thread Xin LI
Author: delphij Date: Mon Jun 22 17:00:20 2009 New Revision: 194637 URL: http://svn.freebsd.org/changeset/base/194637 Log: Add prototypes when the library is compiled static. Modified: head/lib/libkiconv/quirks.c head/lib/libkiconv/xlat16_sysctl.c Modified: head/lib/libkiconv/quirks.c

svn commit: r194638 - in head: lib/libkiconv sys/libkern sys/sys

2009-06-22 Thread Xin LI
Author: delphij Date: Mon Jun 22 17:09:46 2009 New Revision: 194638 URL: http://svn.freebsd.org/changeset/base/194638 Log: Split tolower/toupper code from usual xlat16 kiconv table, and make it possible to do tolower/toupper independently without code conversion. Submitted by: imura (but

svn commit: r194663 - head/lib/libkiconv

2009-06-22 Thread Xin LI
Author: delphij Date: Mon Jun 22 21:49:55 2009 New Revision: 194663 URL: http://svn.freebsd.org/changeset/base/194663 Log: free(3) won't mess with errno so return it as-is. Submitted by: Jaakko Heinonen jh saunalahti fi Modified: head/lib/libkiconv/kiconv_sysctl.c Modified:

svn commit: r194665 - head/sys/libkern

2009-06-22 Thread Xin LI
Author: delphij Date: Mon Jun 22 22:09:18 2009 New Revision: 194665 URL: http://svn.freebsd.org/changeset/base/194665 Log: done method is supposed to return int. Modified: head/sys/libkern/iconv_converter_if.m Modified: head/sys/libkern/iconv_converter_if.m

svn commit: r194789 - head/usr.bin/usbhidctl

2009-06-23 Thread Xin LI
Author: delphij Date: Tue Jun 23 23:16:00 2009 New Revision: 194789 URL: http://svn.freebsd.org/changeset/base/194789 Log: Use getprogname() instead of referencing __progname. Modified: head/usr.bin/usbhidctl/usbhid.c Modified: head/usr.bin/usbhidctl/usbhid.c

svn commit: r194791 - head/usr.bin/keylogout

2009-06-23 Thread Xin LI
Author: delphij Date: Tue Jun 23 23:17:04 2009 New Revision: 194791 URL: http://svn.freebsd.org/changeset/base/194791 Log: KR - ANSI Modified: head/usr.bin/keylogout/keylogout.c Modified: head/usr.bin/keylogout/keylogout.c

svn commit: r194792 - head/usr.bin/nfsstat

2009-06-23 Thread Xin LI
Author: delphij Date: Tue Jun 23 23:18:19 2009 New Revision: 194792 URL: http://svn.freebsd.org/changeset/base/194792 Log: Use C99 initialization when necessary; apply static to internal rountines. This makes nfsstat WARNS=3 clean. Modified: head/usr.bin/nfsstat/nfsstat.c Modified:

svn commit: r194793 - in head/lib/libcompat: 4.3 4.4

2009-06-23 Thread Xin LI
Author: delphij Date: Tue Jun 23 23:20:09 2009 New Revision: 194793 URL: http://svn.freebsd.org/changeset/base/194793 Log: KR - ANSI Modified: head/lib/libcompat/4.3/cfree.c head/lib/libcompat/4.3/regex.c head/lib/libcompat/4.4/cuserid.c Modified: head/lib/libcompat/4.3/cfree.c

svn commit: r194794 - head/lib/libutil

2009-06-23 Thread Xin LI
Author: delphij Date: Tue Jun 23 23:27:35 2009 New Revision: 194794 URL: http://svn.freebsd.org/changeset/base/194794 Log: Merge NetBSD revision 1.14: humanize_number.c is now 2-clause BSD licensed. (humanize_number.3 intentionally hold back until I make sure why we didn't merged

svn commit: r194795 - in head/bin: chflags chmod df hostname

2009-06-23 Thread Xin LI
Author: delphij Date: Tue Jun 23 23:30:56 2009 New Revision: 194795 URL: http://svn.freebsd.org/changeset/base/194795 Log: Staticify internal routines. Modified: head/bin/chflags/chflags.c head/bin/chmod/chmod.c head/bin/df/df.c head/bin/hostname/hostname.c Modified:

svn commit: r194796 - head/usr.bin/hexdump

2009-06-23 Thread Xin LI
Author: delphij Date: Tue Jun 23 23:32:24 2009 New Revision: 194796 URL: http://svn.freebsd.org/changeset/base/194796 Log: Use strlcpy() instead of explicitly set \0 on the tail of the array. Modified: head/usr.bin/hexdump/parse.c Modified: head/usr.bin/hexdump/parse.c

svn commit: r194797 - head/usr.bin/make

2009-06-23 Thread Xin LI
Author: delphij Date: Tue Jun 23 23:34:46 2009 New Revision: 194797 URL: http://svn.freebsd.org/changeset/base/194797 Log: Use strlcpy() instead of manually setting the last byte of the array to \0. Modified: head/usr.bin/make/arch.c Modified: head/usr.bin/make/arch.c

svn commit: r194798 - head/usr.bin/makewhatis

2009-06-23 Thread Xin LI
Author: delphij Date: Tue Jun 23 23:37:25 2009 New Revision: 194798 URL: http://svn.freebsd.org/changeset/base/194798 Log: %.s expects an int as the length specifier, so cast properly. Modified: head/usr.bin/makewhatis/makewhatis.c Modified: head/usr.bin/makewhatis/makewhatis.c

svn commit: r194799 - head/sbin/ifconfig

2009-06-23 Thread Xin LI
Author: delphij Date: Tue Jun 23 23:49:52 2009 New Revision: 194799 URL: http://svn.freebsd.org/changeset/base/194799 Log: - Use size_t instead of int when appropriate; - Use C99 sparse initialization. With these changes ifconfig(8) is WARNS=2 clean. Modified:

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

2009-06-23 Thread Xin LI
Author: delphij Date: Tue Jun 23 23:52:12 2009 New Revision: 194800 URL: http://svn.freebsd.org/changeset/base/194800 Log: Use const instead of __const, and merge the license change from NetBSD. Obtained from:NetBSD Modified: head/lib/libc/gen/fmtcheck.c Modified:

svn commit: r194801 - head/include

2009-06-23 Thread Xin LI
Author: delphij Date: Tue Jun 23 23:53:35 2009 New Revision: 194801 URL: http://svn.freebsd.org/changeset/base/194801 Log: Merge fmtcheck() prototype change. Obtained from:NetBSD Modified: head/include/stdio.h Modified: head/include/stdio.h

svn commit: r194802 - head/sbin/kldload

2009-06-23 Thread Xin LI
Author: delphij Date: Tue Jun 23 23:56:56 2009 New Revision: 194802 URL: http://svn.freebsd.org/changeset/base/194802 Log: Add a note about the implication of secure level setting against kldload, and cross reference security(7). Modified: head/sbin/kldload/kldload.8 Modified:

svn commit: r194803 - head/lib/libc/db/btree

2009-06-23 Thread Xin LI
Author: delphij Date: Wed Jun 24 01:14:17 2009 New Revision: 194803 URL: http://svn.freebsd.org/changeset/base/194803 Log: style: operators should appear at the line end if we have to wrap. Modified: head/lib/libc/db/btree/bt_split.c Modified: head/lib/libc/db/btree/bt_split.c

svn commit: r194916 - head/usr.bin/gzip

2009-06-24 Thread Xin LI
Author: delphij Date: Wed Jun 24 21:51:02 2009 New Revision: 194916 URL: http://svn.freebsd.org/changeset/base/194916 Log: Sync with NetBSD: - gzip -n does not store timestamp; [1] - Reduce diff against NetBSD by moving some casts in our local versions. PR: bin/134955

svn commit: r194932 - head/lib/libc/rpc

2009-06-24 Thread Xin LI
Author: delphij Date: Wed Jun 24 23:17:16 2009 New Revision: 194932 URL: http://svn.freebsd.org/changeset/base/194932 Log: Lock around access to nc_file and netconfig_info (ni). The RPC part of libc is still not thread safe but this would at least reduce the problems we have. PR:

Re: svn commit: r194789 - head/usr.bin/usbhidctl

2009-06-25 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Bruce, Bruce Evans wrote: On Tue, 23 Jun 2009, Xin LI wrote: Log: Use getprogname() instead of referencing __progname. Neither is permitted in FreeBSD in usage(). I didn't see references about this? If this is discouraged, perhaps we

svn commit: r195012 - head/usr.sbin/sysinstall/help

2009-06-25 Thread Xin LI
Author: delphij Date: Thu Jun 25 23:10:59 2009 New Revision: 195012 URL: http://svn.freebsd.org/changeset/base/195012 Log: Correct a typo (which you can use to in order - which you can use in order to). PR: bin/136040 Submitted by: Vikentii L. Karabin kvl tomsksoft com MFC

svn commit: r195015 - head/lib/libc/stdtime

2009-06-25 Thread Xin LI
Author: delphij Date: Thu Jun 25 23:59:23 2009 New Revision: 195015 URL: http://svn.freebsd.org/changeset/base/195015 Log: Implement %z for strptime. PR: kern/63064 Submitted by: Stefan `Sec` Zehl sec 42 org (with some small changes) MFC after:1 month Modified:

svn commit: r195080 - in head/sys/dev/usb: . storage

2009-06-26 Thread Xin LI
Author: delphij Date: Fri Jun 26 21:47:37 2009 New Revision: 195080 URL: http://svn.freebsd.org/changeset/base/195080 Log: Add quirks for Actions MP4 player. Submitted by: John Hixson john ixsystems com Approved by: re (kib) MFC after:2 weeks Modified:

svn commit: r195272 - in stable/7/usr.sbin/sysinstall: . help

2009-07-01 Thread Xin LI
Author: delphij Date: Thu Jul 2 00:36:00 2009 New Revision: 195272 URL: http://svn.freebsd.org/changeset/base/195272 Log: MFC r180208 (peter): Set magic fbsd:nokeywords property that allows files to bypass keyword expansion. (file-specific replacement for CVSROOT/exclude) Modified:

svn commit: r195276 - in stable/6/usr.sbin/sysinstall: . help

2009-07-01 Thread Xin LI
Author: delphij Date: Thu Jul 2 00:44:21 2009 New Revision: 195276 URL: http://svn.freebsd.org/changeset/base/195276 Log: MFC r180208 (peter): Set magic fbsd:nokeywords property that allows files to bypass keyword expansion. (file-specific replacement for CVSROOT/exclude) Modified:

svn commit: r195277 - in stable/6/usr.sbin/sysinstall: . help

2009-07-01 Thread Xin LI
Author: delphij Date: Thu Jul 2 00:45:28 2009 New Revision: 195277 URL: http://svn.freebsd.org/changeset/base/195277 Log: MFC r195012: Correct a typo (which you can use to in order - which you can use in order to). PR: bin/136040 Submitted by: Vikentii L. Karabin kvl

svn commit: r195273 - in stable/7/usr.sbin/sysinstall: . help

2009-07-01 Thread Xin LI
Author: delphij Date: Thu Jul 2 00:39:25 2009 New Revision: 195273 URL: http://svn.freebsd.org/changeset/base/195273 Log: MFC r195012: Correct a typo (which you can use to in order - which you can use in order to). PR: bin/136040 Submitted by: Vikentii L. Karabin kvl

svn commit: r195274 - head/sys/dev/mpt

2009-07-01 Thread Xin LI
Author: delphij Date: Thu Jul 2 00:41:37 2009 New Revision: 195274 URL: http://svn.freebsd.org/changeset/base/195274 Log: Change explicit maximium numbers to the defined macro MPT_MAX_LUNS. Approved by: re (kensmith) Modified: head/sys/dev/mpt/mpt_cam.c Modified:

svn commit: r195275 - head/sys/dev/mpt

2009-07-01 Thread Xin LI
Author: delphij Date: Thu Jul 2 00:43:10 2009 New Revision: 195275 URL: http://svn.freebsd.org/changeset/base/195275 Log: Use MPT_MAX_LUNS as maximium number of LUNs, not 7, for SAS and FC cases. This matches Linux driver behavior. Discussed with: scottl Approved by: re

svn commit: r195432 - in stable/6/lib/libc: . rpc

2009-07-07 Thread Xin LI
Author: delphij Date: Wed Jul 8 01:43:47 2009 New Revision: 195432 URL: http://svn.freebsd.org/changeset/base/195432 Log: MFC r194932 Lock around access to nc_file and netconfig_info (ni). The RPC part of libc is still not thread safe but this would at least reduce the problems we

svn commit: r195528 - in stable/7/sys: . contrib/pf dev/usb

2009-07-10 Thread Xin LI
Author: delphij Date: Fri Jul 10 06:55:30 2009 New Revision: 195528 URL: http://svn.freebsd.org/changeset/base/195528 Log: MFC r195080 (technically this is not really a MFC but an new implementation of the original patch to apply against 7-STABLE). Add quirks for Actions MP4 player.

svn commit: r195529 - in stable/7/sys: . contrib/pf i386/isa

2009-07-10 Thread Xin LI
Author: delphij Date: Fri Jul 10 06:57:00 2009 New Revision: 195529 URL: http://svn.freebsd.org/changeset/base/195529 Log: MFC r193790: Add line width calculations for 15/16 and 24/32 bit modes in case the Get Scan Line Length function fails, as it does in Parallels (in Version 2.2,

svn commit: r195796 - stable/7/usr.bin/gzip

2009-07-20 Thread Xin LI
Tue Jul 21 04:04:35 2009 (r195796, copy of r195795, head/usr.bin/gzip/unpack.c) @@ -0,0 +1,322 @@ +/*- + * Copyright (c) 2009 Xin LI delp...@freebsd.org + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided

svn commit: r195797 - stable/6/usr.bin/gzip

2009-07-20 Thread Xin LI
Tue Jul 21 04:25:03 2009 (r195797, copy of r194579, head/usr.bin/gzip/unpack.c) @@ -0,0 +1,322 @@ +/*- + * Copyright (c) 2009 Xin LI delp...@freebsd.org + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided

svn commit: r195888 - in stable/7/lib/libc: . stdtime

2009-07-26 Thread Xin LI
Author: delphij Date: Sun Jul 26 09:00:37 2009 New Revision: 195888 URL: http://svn.freebsd.org/changeset/base/195888 Log: Implement %z for strptime. PR: kern/63064 Submitted by: Stefan `Sec` Zehl sec 42 org (with some small changes) Modified: stable/7/lib/libc/ (props

svn commit: r195902 - vendor/less/dist

2009-07-27 Thread Xin LI
Author: delphij Date: Mon Jul 27 07:05:08 2009 New Revision: 195902 URL: http://svn.freebsd.org/changeset/base/195902 Log: Vendor import of less v436. Added: vendor/less/dist/cvt.c vendor/less/dist/pattern.c vendor/less/dist/pattern.h Modified: vendor/less/dist/LICENSE

svn commit: r195903 - vendor/less/v436

2009-07-27 Thread Xin LI
Author: delphij Date: Mon Jul 27 07:07:56 2009 New Revision: 195903 URL: http://svn.freebsd.org/changeset/base/195903 Log: Tag for less v436. Added: vendor/less/v436/ - copied from r195902, vendor/less/dist/ ___ svn-src-all@freebsd.org mailing

svn commit: r195941 - in head: contrib/less usr.bin/less

2009-07-29 Thread Xin LI
Author: delphij Date: Wed Jul 29 09:20:32 2009 New Revision: 195941 URL: http://svn.freebsd.org/changeset/base/195941 Log: Update less to v436. This is considered as a bugfix release from vendor. Major changes from v429: * Don't pass - to non-pipe LESSOPEN unless it starts with -. *

Re: svn commit: r195921 - head/sys/net

2009-07-29 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks for taking time analyzing the problem, and thanks bz@ for pointing out the problem with my original patch! Cheers, - -- Xin LI delp...@delphij.nethttp://www.delphij.net/ FreeBSD - The Power to Serve! -BEGIN PGP SIGNATURE- Version

svn commit: r195976 - head/sys/netinet

2009-07-30 Thread Xin LI
Author: delphij Date: Thu Jul 30 17:40:47 2009 New Revision: 195976 URL: http://svn.freebsd.org/changeset/base/195976 Log: Show interface name which received short CARP packet (e.g. a VRRP packet), in order to match other codepaths nearby. This makes troubleshooting easier. Approved

svn commit: r195988 - head/usr.bin/gzip

2009-07-31 Thread Xin LI
Author: delphij Date: Fri Jul 31 08:37:27 2009 New Revision: 195988 URL: http://svn.freebsd.org/changeset/base/195988 Log: Correct a stack underflow in gzip: - Limit suffix to be no more than 30 bytes long. This matches GNU behavior. - Correct usage of memcpy(). Note that

svn commit: r196032 - in stable/7/sys: . contrib/pf dev/mpt

2009-08-02 Thread Xin LI
Author: delphij Date: Sun Aug 2 10:48:25 2009 New Revision: 196032 URL: http://svn.freebsd.org/changeset/base/196032 Log: MFC r195275: Use MPT_MAX_LUNS as maximium number of LUNs, not 7, for SAS and FC cases. This matches Linux driver behavior (except SPI case). Modified:

svn commit: r196051 - stable/7/contrib/netcat

2009-08-03 Thread Xin LI
Author: delphij Date: Mon Aug 3 18:43:26 2009 New Revision: 196051 URL: http://svn.freebsd.org/changeset/base/196051 Log: MFC r193021: Add an EXIT STATUS section to the manual page. Currently, nc(1) does not follow sysexits(3), and returns 1 for all error cases. PR: docs/126451

svn commit: r196052 - stable/6/contrib/netcat

2009-08-03 Thread Xin LI
Author: delphij Date: Mon Aug 3 18:44:42 2009 New Revision: 196052 URL: http://svn.freebsd.org/changeset/base/196052 Log: MFC r193021: Add an EXIT STATUS section to the manual page. Currently, nc(1) does not follow sysexits(3), and returns 1 for all error cases. PR: docs/126451

Re: svn commit: r189117 - head/sys/dev/bce

2009-08-12 Thread Xin LI
it was for reliability or data corruption), but I think I have lost the mail archive (at least I couldn't find it at this moment :-/ I'm not very sure if that was fixed by my busdma_sync fix, though, can anyone confirm that? Cheers, - -- Xin LI delp...@delphij.nethttp://www.delphij.net/ FreeBSD

svn commit: r196386 - head/sys/dev/e1000

2009-08-19 Thread Xin LI
Author: delphij Date: Wed Aug 19 17:59:41 2009 New Revision: 196386 URL: http://svn.freebsd.org/changeset/base/196386 Log: Temporarily enhance em(4) and igb(4) hack to take account for IFF_NOARP. Without this changeset there will be no way to prevent these NICs from sending ARP, which is

svn commit: r196387 - in stable/8/sys: . dev/e1000

2009-08-19 Thread Xin LI
Author: delphij Date: Wed Aug 19 18:08:50 2009 New Revision: 196387 URL: http://svn.freebsd.org/changeset/base/196387 Log: MFC r196386: Temporarily enhance em(4) and igb(4) hack to take account for IFF_NOARP. Without this changeset there will be no way to prevent these NICs from

svn commit: r196524 - in head/sys: dev/syscons i386/isa

2009-08-24 Thread Xin LI
Author: delphij Date: Mon Aug 24 22:35:53 2009 New Revision: 196524 URL: http://svn.freebsd.org/changeset/base/196524 Log: Fix VESA modes and allow 8bit depth modes. PR: i386/124902 Submitted by: paradox ddkprog yahoo com MFC after:2 months Modified:

Re: svn commit: r196543 - head/sys/i386/isa

2009-08-25 Thread Xin LI
-clean code checkout :-/ Cheers, - -- Xin LI delp...@delphij.nethttp://www.delphij.net/ FreeBSD - The Power to Serve! -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkqUMdEACgkQi+vbBBjt66Ca2gCggvZisOLrhp6rrsoCsyNNSJcC xz0AmgP3tz6HbGSO64nDx0x0eYvJO4xQ =f7m5 -END PGP

svn commit: r196550 - in head: etc/defaults etc/rc.d share/man/man5

2009-08-25 Thread Xin LI
file is newly added) +++ head/etc/rc.d/static_arpTue Aug 25 19:07:26 2009(r196550) @@ -0,0 +1,71 @@ +#!/bin/sh +# +# Copyright (c) 2009 Xin LI delp...@freebsd.org +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification

Re: svn commit: r196550 - in head: etc/defaults etc/rc.d share/man/man5

2009-08-27 Thread Xin LI
bin feature? I'll post a proposed patch for review at freebsd-rc@ shortly. Cheers, - -- Xin LI delp...@delphij.nethttp://www.delphij.net/ FreeBSD - The Power to Serve! -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkqW4vMACgkQi+vbBBjt66A0owCgqlALKjf/nUAjWAwzTZ54vjbv

Re: svn commit: r196550 - in head: etc/defaults etc/rc.d share/man/man5

2009-08-27 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Doug, Doug Barton wrote: Xin LI wrote: Doug Barton wrote: Pawel Jakub Dawidek wrote: But giving multiple tools to accomplish the same thing might confuse our users, so its probably not worth it. The proposed solution is good enough

Re: svn commit: r196550 - in head: etc/defaults etc/rc.d share/man/man5

2009-08-28 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Doug Barton wrote: Xin LI wrote: I think /etc/rc.d/static_arp stop should revert what was done by static_arp start by removing entries from the ARP table. I agree with you. Gleb has kindly worked out a patch that adds '-d -f

svn commit: r196704 - head/sys/i386/isa

2009-08-31 Thread Xin LI
Author: delphij Date: Mon Aug 31 17:34:11 2009 New Revision: 196704 URL: http://svn.freebsd.org/changeset/base/196704 Log: Partially revert 196524: this part of change should not be committed as part of the changeset - it's an unrelated one. Reported by: danfe Modified:

svn commit: r196956 - head/usr.bin/w

2009-09-07 Thread Xin LI
Author: delphij Date: Tue Sep 8 01:11:23 2009 New Revision: 196956 URL: http://svn.freebsd.org/changeset/base/196956 Log: Constify format string pointer, otherwise this would trigger warning when higher warning level is enabled. Modified: head/usr.bin/w/pr_time.c Modified:

svn commit: r197006 - svnadmin/conf

2009-09-08 Thread Xin LI
Author: delphij Date: Wed Sep 9 01:14:09 2009 New Revision: 197006 URL: http://svn.freebsd.org/changeset/base/197006 Log: Add vendor-sys/x86emu to allow list so that I will be able to import it. Modified: svnadmin/conf/paths Modified: svnadmin/conf/paths

svn commit: r197008 - vendor-sys/x86emu/4.6

2009-09-08 Thread Xin LI
Author: delphij Date: Wed Sep 9 01:16:50 2009 New Revision: 197008 URL: http://svn.freebsd.org/changeset/base/197008 Log: Tag for 4.6 as the code was checked out from OPENBSD_4_6. Added: vendor-sys/x86emu/4.6/ - copied from r197007, vendor-sys/x86emu/dist/

svn commit: r197009 - head/sys/contrib/x86emu

2009-09-08 Thread Xin LI
Author: delphij Date: Wed Sep 9 01:19:26 2009 New Revision: 197009 URL: http://svn.freebsd.org/changeset/base/197009 Log: Import x86emu from OpenBSD as of OPENBSD_4_6. Added: head/sys/contrib/x86emu/ - copied from r197008, vendor-sys/x86emu/dist/

svn commit: r197019 - in head/sys: conf contrib/x86emu modules modules/x86emu sys

2009-09-08 Thread Xin LI
Author: delphij Date: Wed Sep 9 05:53:26 2009 New Revision: 197019 URL: http://svn.freebsd.org/changeset/base/197019 Log: - Port x86emu to FreeBSD. - Connect x86emu to build. Tested with: make universe Submitted by: swell.k at gmail com Added: head/sys/modules/x86emu/

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

2009-09-09 Thread Xin LI
Author: delphij Date: Wed Sep 9 07:42:04 2009 New Revision: 197021 URL: http://svn.freebsd.org/changeset/base/197021 Log: Add a directory to hold dpms stuff separated from i386/isa/. Added: head/sys/dev/dpms/ ___ svn-src-all@freebsd.org mailing

svn commit: r197022 - in head/sys/dev: dpms fb

2009-09-09 Thread Xin LI
Author: delphij Date: Wed Sep 9 07:45:08 2009 New Revision: 197022 URL: http://svn.freebsd.org/changeset/base/197022 Log: Copy the following files to new places, a subsequent commit would remove them from the old place. This commit necessary so that the tree would not enter a broken

svn commit: r197025 - in head: lib share/man/man4 share/man/man4/man4.i386 sys/amd64/conf sys/conf sys/dev/dpms sys/dev/fb sys/dev/syscons sys/i386/conf sys/i386/include/pc sys/i386/isa sys/modules...

2009-09-09 Thread Xin LI
Author: delphij Date: Wed Sep 9 09:50:31 2009 New Revision: 197025 URL: http://svn.freebsd.org/changeset/base/197025 Log: - Teach vesa(4) and dpms(4) about x86emu. [1] - Add vesa kernel options for amd64. - Connect libvgl library and splash kernel modules to amd64 build. - Connect

svn commit: r197081 - head

2009-09-10 Thread Xin LI
Author: delphij Date: Thu Sep 10 21:42:00 2009 New Revision: 197081 URL: http://svn.freebsd.org/changeset/base/197081 Log: Add entries for moved files during vesa/dpms promotion. Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc

svn commit: r197085 - in head: share/man/man4 sys/dev/syscons

2009-09-10 Thread Xin LI
Author: delphij Date: Fri Sep 11 02:07:24 2009 New Revision: 197085 URL: http://svn.freebsd.org/changeset/base/197085 Log: Extend the usage of sc(4)'s hint variable 'flag'. Bit 0x80 now means set vesa mode and higher 16bits of the flag would be the desired mode. One can now set, for

svn commit: r197109 - in head: share/man/man4 sys/dev/syscons

2009-09-11 Thread Xin LI
Author: delphij Date: Sat Sep 12 00:12:47 2009 New Revision: 197109 URL: http://svn.freebsd.org/changeset/base/197109 Log: Make use of the more flexable device hints by adding a new field, vesa_mode to specify VESA mode, as suggested by j...@. Modified: head/share/man/man4/syscons.4

Re: svn commit: r197085 - in head: share/man/man4 sys/dev/syscons

2009-09-11 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John Baldwin wrote: On Thursday 10 September 2009 10:07:25 pm Xin LI wrote: Author: delphij Date: Fri Sep 11 02:07:24 2009 New Revision: 197085 URL: http://svn.freebsd.org/changeset/base/197085 Log: Extend the usage of sc(4)'s hint variable

svn commit: r197110 - head/share/man/man5

2009-09-11 Thread Xin LI
Author: delphij Date: Sat Sep 12 00:28:05 2009 New Revision: 197110 URL: http://svn.freebsd.org/changeset/base/197110 Log: Mention that individual device driver can accept other flags through resource_int_value(9). MFC after:1 month Modified: head/share/man/man5/device.hints.5

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

2009-09-13 Thread Xin LI
Author: delphij Date: Mon Sep 14 05:38:03 2009 New Revision: 197185 URL: http://svn.freebsd.org/changeset/base/197185 Log: Enable BIOS modes on amd64. Submitted by: paradox ddkprog at yahoo com Modified: head/sys/dev/fb/vga.c Modified: head/sys/dev/fb/vga.c

Re: svn commit: r197323 - head/sys/dev/fb

2009-09-19 Thread Xin LI
speed for high resolution graphics mode console. Cool! Thanks! Cheers, - -- Xin LI delp...@delphij.nethttp://www.delphij.net/ FreeBSD - The Power to Serve! -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkq0kc0ACgkQi+vbBBjt66DYqQCgjMdM4fkXpMHun+ok6b71mRs3

svn commit: r197379 - in head/sys: amd64/conf conf dev/fb i386/conf modules

2009-09-21 Thread Xin LI
Author: delphij Date: Mon Sep 21 07:05:48 2009 New Revision: 197379 URL: http://svn.freebsd.org/changeset/base/197379 Log: Enable s3pci on amd64 which works on top of VESA, and allow static building it into kernel on i386 and amd64. Submitted by: swell.k at gmail.com Modified:

svn commit: r197380 - in head/sys: amd64/conf conf i386/conf

2009-09-21 Thread Xin LI
Author: delphij Date: Mon Sep 21 07:08:20 2009 New Revision: 197380 URL: http://svn.freebsd.org/changeset/base/197380 Log: Automatically depend on x86emu when vesa or dpms is being built into kernel. With this change the user no longer need to remember building this option. Submitted

svn commit: r197381 - head/sys/conf

2009-09-21 Thread Xin LI
Author: delphij Date: Mon Sep 21 07:38:50 2009 New Revision: 197381 URL: http://svn.freebsd.org/changeset/base/197381 Log: Revert part that should not be in my previous commit. Pointy hat to:delphij Modified: head/sys/conf/files Modified: head/sys/conf/files

Re: svn commit: r197380 - in head/sys: amd64/conf conf i386/conf

2009-09-21 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Anonymous wrote: [...] Above change (nouveaudrm) was not in my diff. Where did you pick that from? Sorry, I have committed on the wrong tree. Cheers, - -- Xin LI delp...@delphij.nethttp://www.delphij.net/ FreeBSD - The Power to Serve

svn commit: r197383 - in head/sys: conf contrib/x86emu dev/dpms dev/fb dev/x86bios modules modules/x86bios modules/x86emu

2009-09-21 Thread Xin LI
Author: delphij Date: Mon Sep 21 08:17:57 2009 New Revision: 197383 URL: http://svn.freebsd.org/changeset/base/197383 Log: Collapase interrupt supporting functions to a new module, and switch from x86emu to this new module. This changeset also brings a fix for bugs introduced with the

svn commit: r197384 - in head/sys: conf dev/atkbdc

2009-09-21 Thread Xin LI
Author: delphij Date: Mon Sep 21 08:24:22 2009 New Revision: 197384 URL: http://svn.freebsd.org/changeset/base/197384 Log: Allow atkbd to obtain keyboard repeat rate from BIOS on amd64. Submitted by: swell.k at gmail.com Modified: head/sys/conf/files head/sys/dev/atkbdc/atkbd.c

svn commit: r197386 - head/sys/contrib/x86emu

2009-09-21 Thread Xin LI
Author: delphij Date: Mon Sep 21 08:37:57 2009 New Revision: 197386 URL: http://svn.freebsd.org/changeset/base/197386 Log: Use __FBSDID to embed RCS ID. Modified: head/sys/contrib/x86emu/x86emu.c head/sys/contrib/x86emu/x86emu_util.c Modified: head/sys/contrib/x86emu/x86emu.c

svn commit: r197387 - in head/sys/dev: fb x86bios

2009-09-21 Thread Xin LI
Author: delphij Date: Mon Sep 21 08:53:26 2009 New Revision: 197387 URL: http://svn.freebsd.org/changeset/base/197387 Log: Style(9) fixes. Submitted by: swell.k at gmail.com Modified: head/sys/dev/fb/vesa.c head/sys/dev/x86bios/x86bios.c head/sys/dev/x86bios/x86bios_alloc.c

svn commit: r197388 - head/sys/dev/x86bios

2009-09-21 Thread Xin LI
Author: delphij Date: Mon Sep 21 09:09:55 2009 New Revision: 197388 URL: http://svn.freebsd.org/changeset/base/197388 Log: To be safe, make this module initialize earlier by specifying SI_SUB_CPU instead of SI_SUB_KLD. Note that we don't believe that there is any consumers of x86bios that

svn commit: r197397 - in head/sys: amd64/conf conf i386/conf modules

2009-09-21 Thread Xin LI
Author: delphij Date: Mon Sep 21 23:58:29 2009 New Revision: 197397 URL: http://svn.freebsd.org/changeset/base/197397 Log: Build x86bios only for i386/amd64 for now. More work is required to make these functional on other architectures, and the current code breaks sparc64 and powerpc.

svn commit: r197399 - head/sys/conf

2009-09-22 Thread Xin LI
Author: delphij Date: Tue Sep 22 07:10:23 2009 New Revision: 197399 URL: http://svn.freebsd.org/changeset/base/197399 Log: Hide x86bios stuff in i386/amd64 specific files as atkbdc would get these stuff into build. Modified: head/sys/conf/files head/sys/conf/files.amd64

svn commit: r197411 - head/sys/modules/x86emu

2009-09-22 Thread Xin LI
Author: delphij Date: Tue Sep 22 16:59:15 2009 New Revision: 197411 URL: http://svn.freebsd.org/changeset/base/197411 Log: Removed unused empty directory. Submitted by: b. f. bf1783 googlemail com Deleted: head/sys/modules/x86emu/ ___

svn commit: r197416 - head/sys/dev/atkbdc

2009-09-22 Thread Xin LI
Author: delphij Date: Tue Sep 22 20:12:10 2009 New Revision: 197416 URL: http://svn.freebsd.org/changeset/base/197416 Log: Temporarily disable typematic retrieving code until we get a real fix, which currently causes hangs in some configurations. Reported by: joel Submitted by:

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

2009-09-22 Thread Xin LI
Author: delphij Date: Wed Sep 23 02:45:02 2009 New Revision: 197424 URL: http://svn.freebsd.org/changeset/base/197424 Log: Initialize registers to zero before calling the interrupt handlers inside emulator. This fixes VESA related freeze observed on some systems. Submitted by: paradox

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 == ---

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

2009-09-28 Thread Xin LI
Author: delphij Date: Mon Sep 28 08:14:15 2009 New Revision: 197571 URL: http://svn.freebsd.org/changeset/base/197571 Log: Use a 2 clause BSD-style license instead of stating the code as public domain, as requested by core@ and reviewed by the author. Modified:

svn commit: r197575 - head/sys/kern

2009-09-28 Thread Xin LI
Author: delphij Date: Mon Sep 28 10:22:46 2009 New Revision: 197575 URL: http://svn.freebsd.org/changeset/base/197575 Log: Use correct sizeof() object for klist 'list'. Currently, struct klist contained only SLIST_HEAD as its member, thus sizeof(struct klist) would equal to sizeof(struct

svn commit: r197579 - in head: lib/libc/sys sys/kern sys/sys

2009-09-28 Thread Xin LI
Author: delphij Date: Mon Sep 28 16:59:47 2009 New Revision: 197579 URL: http://svn.freebsd.org/changeset/base/197579 Log: Add two new fcntls to enable/disable read-ahead: - F_READAHEAD: specify the amount for sequential access. The amount is specified in bytes and is rounded up to

svn commit: r197601 - in stable/7/lib/libc: . net resolv

2009-09-28 Thread Xin LI
Author: delphij Date: Mon Sep 28 22:29:28 2009 New Revision: 197601 URL: http://svn.freebsd.org/changeset/base/197601 Log: MFC 193023+193024: Add an option to enforce strict RFC 1034 compliance. Document how to enable strict RFC 1034 enforcements. PR: kern/129477

svn commit: r197602 - in stable/6/lib/libc: . net resolv

2009-09-28 Thread Xin LI
Author: delphij Date: Mon Sep 28 22:31:29 2009 New Revision: 197602 URL: http://svn.freebsd.org/changeset/base/197602 Log: MFC 193023+193024: Add an option to enforce strict RFC 1034 compliance. Document how to enable strict RFC 1034 enforcements. PR: kern/129477

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

2009-10-01 Thread Xin LI
Author: delphij Date: Thu Oct 1 18:58:26 2009 New Revision: 197683 URL: http://svn.freebsd.org/changeset/base/197683 Log: Return EOPNOTSUPP instead of EINVAL when doing chflags(2) over an old format ZFS, as defined in the manual page. Submitted by: pjd (response of my original patch but

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

2009-10-01 Thread Xin LI
); VM_OBJECT_LOCK(obj); vm_page_io_finish(pg); - -- Xin LI delp...@delphij.nethttp://www.delphij.net/ FreeBSD - The Power to Serve! -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkrFTIAACgkQi

svn commit: r197738 - in stable/8/sys: . cddl/contrib/opensolaris/uts/common/fs/zfs

2009-10-04 Thread Xin LI
Author: delphij Date: Sun Oct 4 09:07:29 2009 New Revision: 197738 URL: http://svn.freebsd.org/changeset/base/197738 Log: MFC revision 197683: Return EOPNOTSUPP instead of EINVAL when doing chflags(2) over an old format ZFS, as defined in the manual page. Submitted by: pjd

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

2009-10-04 Thread Xin LI
Author: delphij Date: Sun Oct 4 09:57:39 2009 New Revision: 197739 URL: http://svn.freebsd.org/changeset/base/197739 Log: This commit adds subdirectory mergeinfo which was intentionally ommitted from previous changeset. Requested by: kib Approved by: re (kib) Modified:

svn commit: r197740 - head/sys/fs/tmpfs

2009-10-04 Thread Xin LI
Author: delphij Date: Sun Oct 4 10:38:04 2009 New Revision: 197740 URL: http://svn.freebsd.org/changeset/base/197740 Log: Fix a bug that causes the fsx test case of mmap'ed page being out of sync of read/write, inspired by ZFS's counterpart. PR: kern/139312 Submitted by: gk@

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

2009-10-05 Thread Xin LI
Author: delphij Date: Mon Oct 5 21:11:04 2009 New Revision: 197793 URL: http://svn.freebsd.org/changeset/base/197793 Log: fts_open() requires that the list passed as argument to contain at least one path. When the list is empty (contain only a NULL pointer), return EINVAL instead of

svn commit: r197849 - head/tools/regression/tmpfs

2009-10-07 Thread Xin LI
Author: delphij Date: Wed Oct 7 23:01:31 2009 New Revision: 197849 URL: http://svn.freebsd.org/changeset/base/197849 Log: Fix build on amd64. PR: misc/139409 Submitted by: gk Modified: head/tools/regression/tmpfs/h_tools.c Modified: head/tools/regression/tmpfs/h_tools.c

svn commit: r197850 - head/sys/fs/tmpfs

2009-10-07 Thread Xin LI
Author: delphij Date: Wed Oct 7 23:17:15 2009 New Revision: 197850 URL: http://svn.freebsd.org/changeset/base/197850 Log: Add a special workaround to handle UIO_NOCOPY case. This fixes data corruption observed when sendfile() is being used. PR: kern/127213 Submitted by: gk

svn commit: r197953 - head/sys/fs/tmpfs

2009-10-11 Thread Xin LI
Author: delphij Date: Sun Oct 11 07:03:56 2009 New Revision: 197953 URL: http://svn.freebsd.org/changeset/base/197953 Log: Add locking around access to parent node, and bail out when the parent node is already freed rather than panicking the system. PR: kern/122038 Submitted

svn commit: r198846 - head/usr.sbin/crashinfo

2009-11-03 Thread Xin LI
Author: delphij Date: Tue Nov 3 09:17:23 2009 New Revision: 198846 URL: http://svn.freebsd.org/changeset/base/198846 Log: Set umask to 0x077 instead of the default. This prevents non-root user from reading crashinfo output, which could contain some sensitive information. Reviewed by:

  1   2   3   4   5   6   7   8   9   10   >