Re: svn commit: r227963 - head/sbin/camcontrol

2011-11-25 Thread Ed Maste
On Fri, Nov 25, 2011 at 07:11:03AM +, Xin LI wrote:

 Author: delphij
 Date: Fri Nov 25 07:11:02 2011
 New Revision: 227963
 URL: http://svn.freebsd.org/changeset/base/227963
 
 Log:
   Fix build.

Pointy-hat-to:  emaste

Sorry, thanks for fixing.
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


Re: svn commit: r227953 - head/gnu/lib/libodialog

2011-11-25 Thread Max Khon
Doug,

On Fri, Nov 25, 2011 at 4:12 AM, Doug Barton do...@freebsd.org wrote:

 Author: fjoe
  Date: Thu Nov 24 20:34:50 2011
  New Revision: 227953
  URL: http://svn.freebsd.org/changeset/base/227953
 
  Log:
libodialog: Remove no longer used library.
 
  Deleted:
head/gnu/lib/libodialog/

 I'm curious ... I asked Nathan to please bring back sysinstall until we
 have a suitable replacement for the post-install configuration role that
 it plays. Is your change here going to make that more difficult?


I did not know about that. If we ever would want to resurrect it
1) I would insist on removing (or merging in) sade functionality
2) I would remove all installation and scripting functionality, leaving
only post-configuration
3) Given 1) and 2) I can help porting it to the new libdialog

Aside from that, I'd better implement new post-install configuration tool.

Max
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r227980 - head/sys/sparc64/conf

2011-11-25 Thread Marius Strobl
Author: marius
Date: Fri Nov 25 17:40:01 2011
New Revision: 227980
URL: http://svn.freebsd.org/changeset/base/227980

Log:
  Move to SCHED_ULE by default. Since r226057 SCHED_ULE and sparc64 are
  compatible with each other and since r227539 the last issue seen when
  using SCHED_ULE is fixed. At least on UP and 2-way machines SCHED_4BSD
  still performs better than SCHED_ULE, however, the optimizations done
  in r225889 pretty much compensate that so there's at least no net
  regression.
  Thanks go to Peter Jeremy for extensive testing.

Modified:
  head/sys/sparc64/conf/GENERIC

Modified: head/sys/sparc64/conf/GENERIC
==
--- head/sys/sparc64/conf/GENERIC   Fri Nov 25 17:08:39 2011
(r227979)
+++ head/sys/sparc64/conf/GENERIC   Fri Nov 25 17:40:01 2011
(r227980)
@@ -26,7 +26,7 @@ makeoptions   DEBUG=-g# Build kernel wit
 # Platforms supported
 #  At this time all platforms are supported, as-is.
 
-optionsSCHED_4BSD  # 4BSD scheduler
+optionsSCHED_ULE   # ULE scheduler
 #options   PREEMPTION  # Enable kernel thread preemption
 optionsINET# InterNETworking
 optionsINET6   # IPv6 communications protocols
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r227981 - head/usr.sbin/cron/crontab

2011-11-25 Thread Warren Block
Author: wblock (doc committer)
Date: Fri Nov 25 17:41:12 2011
New Revision: 227981
URL: http://svn.freebsd.org/changeset/base/227981

Log:
  Point out that @reboot runs at every cron startup, not just system
  startup.
  
  Discussed on: hackers@
  
  Approved by:  gjb (mentor)
  MFC after:1 week

Modified:
  head/usr.sbin/cron/crontab/crontab.5

Modified: head/usr.sbin/cron/crontab/crontab.5
==
--- head/usr.sbin/cron/crontab/crontab.5Fri Nov 25 17:40:01 2011
(r227980)
+++ head/usr.sbin/cron/crontab/crontab.5Fri Nov 25 17:41:12 2011
(r227981)
@@ -224,7 +224,7 @@ one of eight special strings may appear:
 .Bd -literal -offset indent
 string meaning
 -- ---
-@rebootRun once, at startup.
+@rebootRun once, at startup of cron.
 @yearlyRun once a year, 0 0 1 1 *.
 @annually  (same as @yearly)
 @monthly   Run once a month, 0 0 1 * *.
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r227982 - in head: . release/doc/en_US.ISO8859-1/hardware share/man/man4 sys/conf sys/dev/amd sys/modules sys/modules/amd

2011-11-25 Thread Marius Strobl
Author: marius
Date: Fri Nov 25 19:29:21 2011
New Revision: 227982
URL: http://svn.freebsd.org/changeset/base/227982

Log:
  Deorbit the broken amd(4) (see PR 124667), which was superseded by esp(4)
  as of r227006.

Deleted:
  head/share/man/man4/amd.4
  head/sys/dev/amd/
  head/sys/modules/amd/
Modified:
  head/ObsoleteFiles.inc
  head/release/doc/en_US.ISO8859-1/hardware/article.sgml
  head/share/man/man4/Makefile
  head/sys/conf/NOTES
  head/sys/conf/files
  head/sys/modules/Makefile

Modified: head/ObsoleteFiles.inc
==
--- head/ObsoleteFiles.inc  Fri Nov 25 17:41:12 2011(r227981)
+++ head/ObsoleteFiles.inc  Fri Nov 25 19:29:21 2011(r227982)
@@ -38,6 +38,8 @@
 #   xargs -n1 | sort | uniq -d;
 # done
 
+# 2025: amd(4) removed
+OLD_FILES+=usr/share/man/man4/amd.4.gz
 # 2025: libodialog removed
 OLD_FILES+=usr/lib/libodialog.a
 OLD_FILES+=usr/lib/libodialog.so

Modified: head/release/doc/en_US.ISO8859-1/hardware/article.sgml
==
--- head/release/doc/en_US.ISO8859-1/hardware/article.sgml  Fri Nov 25 
17:41:12 2011(r227981)
+++ head/release/doc/en_US.ISO8859-1/hardware/article.sgml  Fri Nov 25 
19:29:21 2011(r227982)
@@ -750,8 +750,6 @@
 
   hwlist.aic;
 
-  hwlist.amd;
-
   hwlist.amr;
 
   hwlist.arcmsr;

Modified: head/share/man/man4/Makefile
==
--- head/share/man/man4/MakefileFri Nov 25 17:41:12 2011
(r227981)
+++ head/share/man/man4/MakefileFri Nov 25 19:29:21 2011
(r227982)
@@ -32,7 +32,6 @@ MAN=  aac.4 \
ale.4 \
alpm.4 \
altq.4 \
-   amd.4 \
amdpm.4 \
${_amdsbwd.4} \
${_amdsmb.4} \

Modified: head/sys/conf/NOTES
==
--- head/sys/conf/NOTES Fri Nov 25 17:41:12 2011(r227981)
+++ head/sys/conf/NOTES Fri Nov 25 19:29:21 2011(r227982)
@@ -1471,8 +1471,6 @@ options   TEKEN_UTF8  # UTF-8 output hand
 #  19160x/29160x, aic7770/aic78xx
 # ahd: Adaptec 29320/39320 Controllers.
 # aic: Adaptec 6260/6360, APA-1460 (PC Card), NEC PC9801-100 (C-BUS)
-# amd: Support for the AMD 53C974 SCSI host adapter chip as found on devices
-#  such as the Tekram DC-390(T).
 # bt:  Most Buslogic controllers: including BT-445, BT-54x, BT-64x, BT-74x,
 #  BT-75x, BT-946, BT-948, BT-956, BT-958, SDC3211B, SDC3211F, SDC3222F
 # esp: Emulex ESP, NCR 53C9x and QLogic FAS families based controllers

Modified: head/sys/conf/files
==
--- head/sys/conf/files Fri Nov 25 17:41:12 2011(r227981)
+++ head/sys/conf/files Fri Nov 25 19:29:21 2011(r227982)
@@ -517,7 +517,6 @@ dev/aic7xxx/aic7xxx_osm.c   optional ahc
 dev/aic7xxx/aic7xxx_pci.c  optional ahc pci
 dev/alc/if_alc.c   optional alc pci
 dev/ale/if_ale.c   optional ale pci
-dev/amd/amd.c  optional amd
 dev/amr/amr.c  optional amr
 dev/amr/amr_cam.c  optional amrp amr
 dev/amr/amr_disk.c optional amr

Modified: head/sys/modules/Makefile
==
--- head/sys/modules/Makefile   Fri Nov 25 17:41:12 2011(r227981)
+++ head/sys/modules/Makefile   Fri Nov 25 19:29:21 2011(r227982)
@@ -22,7 +22,6 @@ SUBDIR=   ${_3dfx} \
alc \
ale \
alq \
-   ${_amd} \
${_amdsbwd} \
${_amdtemp} \
amr \
@@ -405,7 +404,6 @@ _3dfx=  3dfx
 _3dfx_linux=   3dfx_linux
 _agp=  agp
 _aic=  aic
-_amd=  amd
 _an=   an
 _aout= aout
 _apm=  apm
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r227983 - in head: . contrib/libc++ contrib/libc++/include contrib/libc++/include/ext contrib/libc++/src contrib/libc++/src/support contrib/libcxxrt etc/mtree lib lib/libc++ lib/libcxxr...

2011-11-25 Thread David Chisnall
Author: theraven
Date: Fri Nov 25 20:59:04 2011
New Revision: 227983
URL: http://svn.freebsd.org/changeset/base/227983

Log:
  Import libc++ / libcxxrt into base.  Not build by default yet (use
  MK_LIBCPLUSPLUS=yes to enable).  This is a work-in-progress.  It works for
  me, but is not guaranteed to work for anyone else and may eat your dog.
  
  To build C++ using libc++, add -stdlib=libc++ to your CXX and LD flags.
  
  Bug reports welcome, bug fixes even more welcome...
  
  Approved by:  dim (mentor)

Added:
  head/contrib/libc++/
  head/contrib/libc++/FREEBSD-upgrade
  head/contrib/libc++/include/
  head/contrib/libc++/include/__bit_reference
 - copied unchanged from r227828, vendor/libc++/dist/include/__bit_reference
  head/contrib/libc++/include/__config
 - copied unchanged from r227828, vendor/libc++/dist/include/__config
  head/contrib/libc++/include/__debug
 - copied unchanged from r227828, vendor/libc++/dist/include/__debug
  head/contrib/libc++/include/__functional_03
 - copied unchanged from r227828, vendor/libc++/dist/include/__functional_03
  head/contrib/libc++/include/__functional_base
 - copied unchanged from r227828, 
vendor/libc++/dist/include/__functional_base
  head/contrib/libc++/include/__functional_base_03
 - copied unchanged from r227828, 
vendor/libc++/dist/include/__functional_base_03
  head/contrib/libc++/include/__hash_table
 - copied unchanged from r227828, vendor/libc++/dist/include/__hash_table
  head/contrib/libc++/include/__locale
 - copied unchanged from r227828, vendor/libc++/dist/include/__locale
  head/contrib/libc++/include/__mutex_base
 - copied unchanged from r227828, vendor/libc++/dist/include/__mutex_base
  head/contrib/libc++/include/__split_buffer
 - copied unchanged from r227828, vendor/libc++/dist/include/__split_buffer
  head/contrib/libc++/include/__sso_allocator
 - copied unchanged from r227828, vendor/libc++/dist/include/__sso_allocator
  head/contrib/libc++/include/__std_stream
 - copied unchanged from r227828, vendor/libc++/dist/include/__std_stream
  head/contrib/libc++/include/__tree
 - copied unchanged from r227828, vendor/libc++/dist/include/__tree
  head/contrib/libc++/include/__tuple
 - copied unchanged from r227828, vendor/libc++/dist/include/__tuple
  head/contrib/libc++/include/__tuple_03
 - copied unchanged from r227828, vendor/libc++/dist/include/__tuple_03
  head/contrib/libc++/include/algorithm
 - copied unchanged from r227828, vendor/libc++/dist/include/algorithm
  head/contrib/libc++/include/array
 - copied unchanged from r227828, vendor/libc++/dist/include/array
  head/contrib/libc++/include/atomic
 - copied unchanged from r227828, vendor/libc++/dist/include/atomic
  head/contrib/libc++/include/bitset
 - copied unchanged from r227828, vendor/libc++/dist/include/bitset
  head/contrib/libc++/include/cassert
 - copied unchanged from r227828, vendor/libc++/dist/include/cassert
  head/contrib/libc++/include/ccomplex
 - copied unchanged from r227828, vendor/libc++/dist/include/ccomplex
  head/contrib/libc++/include/cctype
 - copied unchanged from r227828, vendor/libc++/dist/include/cctype
  head/contrib/libc++/include/cerrno
 - copied unchanged from r227828, vendor/libc++/dist/include/cerrno
  head/contrib/libc++/include/cfenv
 - copied unchanged from r227828, vendor/libc++/dist/include/cfenv
  head/contrib/libc++/include/cfloat
 - copied unchanged from r227828, vendor/libc++/dist/include/cfloat
  head/contrib/libc++/include/chrono
 - copied unchanged from r227828, vendor/libc++/dist/include/chrono
  head/contrib/libc++/include/cinttypes
 - copied unchanged from r227828, vendor/libc++/dist/include/cinttypes
  head/contrib/libc++/include/ciso646
 - copied unchanged from r227828, vendor/libc++/dist/include/ciso646
  head/contrib/libc++/include/climits
 - copied unchanged from r227828, vendor/libc++/dist/include/climits
  head/contrib/libc++/include/clocale
 - copied unchanged from r227828, vendor/libc++/dist/include/clocale
  head/contrib/libc++/include/cmath
 - copied unchanged from r227828, vendor/libc++/dist/include/cmath
  head/contrib/libc++/include/codecvt
 - copied unchanged from r227828, vendor/libc++/dist/include/codecvt
  head/contrib/libc++/include/complex
 - copied unchanged from r227828, vendor/libc++/dist/include/complex
  head/contrib/libc++/include/complex.h
 - copied unchanged from r227828, vendor/libc++/dist/include/complex.h
  head/contrib/libc++/include/condition_variable
 - copied unchanged from r227828, 
vendor/libc++/dist/include/condition_variable
  head/contrib/libc++/include/csetjmp
 - copied unchanged from r227828, vendor/libc++/dist/include/csetjmp
  head/contrib/libc++/include/csignal
 - copied unchanged from r227828, vendor/libc++/dist/include/csignal
  head/contrib/libc++/include/cstdarg
 - copied unchanged from r227828, vendor/libc++/dist/include/cstdarg
  

svn commit: r227984 - head/bin/test

2011-11-25 Thread Jilles Tjoelker
Author: jilles
Date: Fri Nov 25 23:45:29 2011
New Revision: 227984
URL: http://svn.freebsd.org/changeset/base/227984

Log:
  test: Reduce code size of ops table.

Modified:
  head/bin/test/test.c

Modified: head/bin/test/test.c
==
--- head/bin/test/test.cFri Nov 25 20:59:04 2011(r227983)
+++ head/bin/test/test.cFri Nov 25 23:45:29 2011(r227984)
@@ -119,7 +119,7 @@ enum token_types {
 };
 
 static struct t_op {
-   const char *op_text;
+   char op_text[4];
short op_num, op_type;
 } const ops [] = {
{-r,  FILRD,  UNOP},
@@ -162,7 +162,7 @@ static struct t_op {
{-o,  BOR,BBINOP},
{(,   LPAREN, PAREN},
{),   RPAREN, PAREN},
-   {0, 0,  0}
+   {,0,  0}
 };
 
 static struct t_op const *t_wp_op;
@@ -427,7 +427,7 @@ t_lex(char *s)
t_wp_op = NULL;
return EOI;
}
-   while (op-op_text) {
+   while (*op-op_text) {
if (strcmp(s, op-op_text) == 0) {
if (((op-op_type == UNOP || op-op_type == BUNOP)
 isunopoperand()) ||
@@ -456,7 +456,7 @@ isunopoperand(void)
if (nargc == 2)
return parenlevel == 1  strcmp(s, )) == 0;
t = *(t_wp + 2);
-   while (op-op_text) {
+   while (*op-op_text) {
if (strcmp(s, op-op_text) == 0)
return op-op_type == BINOP 
(parenlevel == 0 || t[0] != ')' || t[1] != '\0');
@@ -478,7 +478,7 @@ islparenoperand(void)
return parenlevel == 1  strcmp(s, )) == 0;
if (nargc != 3)
return 0;
-   while (op-op_text) {
+   while (*op-op_text) {
if (strcmp(s, op-op_text) == 0)
return op-op_type == BINOP;
op++;
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r227985 - head

2011-11-25 Thread Oleksandr Tymoshenko
Author: gonzo
Date: Sat Nov 26 00:30:39 2011
New Revision: 227985
URL: http://svn.freebsd.org/changeset/base/227985

Log:
  Provide proper error message when trying to build xdev, xdev-build or
  xdev-install targets without either XDEV or XDEV_ARCH defined.

Modified:
  head/Makefile.inc1

Modified: head/Makefile.inc1
==
--- head/Makefile.inc1  Fri Nov 25 23:45:29 2011(r227984)
+++ head/Makefile.inc1  Sat Nov 26 00:30:39 2011(r227985)
@@ -1639,4 +1639,7 @@ _xi-links:
ln -sf ../../${XDTP}/usr/bin/$$i \
../../../../usr/bin/${XDDIR}${OSREL}-$$i; \
done
+.else
+xdev xdev-buil xdev-install:
+   @echo *** Error: Both XDEV and XDEV_ARCH must be defined for 
\${.TARGET}\ target
 .endif
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r227986 - head/sys/kern

2011-11-25 Thread Lawrence Stewart
Author: lstewart
Date: Sat Nov 26 01:44:37 2011
New Revision: 227986
URL: http://svn.freebsd.org/changeset/base/227986

Log:
  Export the ffclock feature for kernels compiled with feed-forward clock
  support.
  
  Suggested by: netchild
  Reviewed by:  netchild

Modified:
  head/sys/kern/kern_ffclock.c

Modified: head/sys/kern/kern_ffclock.c
==
--- head/sys/kern/kern_ffclock.cSat Nov 26 00:30:39 2011
(r227985)
+++ head/sys/kern/kern_ffclock.cSat Nov 26 01:44:37 2011
(r227986)
@@ -49,6 +49,8 @@ __FBSDID($FreeBSD$);
 
 #ifdef FFCLOCK
 
+FEATURE(ffclock, Feed-forward clock support);
+
 extern struct ffclock_estimate ffclock_estimate;
 extern struct bintime ffclock_boottime;
 extern int8_t ffclock_updated;
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r227987 - in head: . lib share/mk

2011-11-25 Thread Dimitry Andric
Author: dim
Date: Sat Nov 26 03:26:06 2011
New Revision: 227987
URL: http://svn.freebsd.org/changeset/base/227987

Log:
  Fix breakage after r227983; lib/libcxxrt still got built, because it was
  not disabled in the usual way (by adding it to __DEFAULT_NO_OPTIONS in
  share/mk/bsd.own.mk), and because the test for MK_LIBCPLUSPLUS in
  Makefile.inc1 was incorrect.
  
  Pointy hat to:dim

Modified:
  head/Makefile.inc1
  head/lib/Makefile
  head/share/mk/bsd.own.mk

Modified: head/Makefile.inc1
==
--- head/Makefile.inc1  Sat Nov 26 01:44:37 2011(r227986)
+++ head/Makefile.inc1  Sat Nov 26 03:26:06 2011(r227987)
@@ -1218,7 +1218,7 @@ _startup_libs+=   lib/csu/${MACHINE_CPUARC
 _startup_libs+=gnu/lib/libgcc
 _startup_libs+=lib/libcompiler_rt
 _startup_libs+=lib/libc
-.if defined(MK_LIBCPLUSPLUS)
+.if ${MK_LIBCPLUSPLUS} != no
 _startup_libs+=lib/libcxxrt
 .endif
 

Modified: head/lib/Makefile
==
--- head/lib/Makefile   Sat Nov 26 01:44:37 2011(r227986)
+++ head/lib/Makefile   Sat Nov 26 03:26:06 2011(r227987)
@@ -48,13 +48,9 @@ SUBDIR_ORDERED=  ${_csu} \
libsbuf \
libtacplus \
libutil \
-   ${_libypclnt}
-
-.if ${MK_LIBCPLUSPLUS} != no
-SUBDIR_ORDERED+=libcxxrt\
-   libc++
-.endif
-
+   ${_libypclnt} \
+   ${_libcxxrt} \
+   ${_libcplusplus}
 
 SUBDIR=${SUBDIR_ORDERED} \
libalias \
@@ -209,6 +205,11 @@ _libsmb=   libsmb
 _libmp=libmp
 .endif
 
+.if ${MK_LIBCPLUSPLUS} != no
+_libcxxrt= libcxxrt
+_libcplusplus= libc++
+.endif
+
 .if ${MK_PMC} != no
 _libpmc=   libpmc
 .endif

Modified: head/share/mk/bsd.own.mk
==
--- head/share/mk/bsd.own.mkSat Nov 26 01:44:37 2011(r227986)
+++ head/share/mk/bsd.own.mkSat Nov 26 03:26:06 2011(r227987)
@@ -413,6 +413,7 @@ __DEFAULT_NO_OPTIONS = \
 HESIOD \
 ICONV \
 IDEA \
+LIBCPLUSPLUS \
 OFED
 
 #
@@ -553,8 +554,6 @@ MK_GCC:=no
 MK_GDB:=   no
 .endif
 
-MK_LIBCPLUSPLUS?= no
-
 #
 # Set defaults for the MK_*_SUPPORT variables.
 #
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


Re: svn commit: r227987 - in head: . lib share/mk

2011-11-25 Thread Garrett Cooper
On Fri, Nov 25, 2011 at 7:26 PM, Dimitry Andric d...@freebsd.org wrote:
 Author: dim
 Date: Sat Nov 26 03:26:06 2011
 New Revision: 227987
 URL: http://svn.freebsd.org/changeset/base/227987

 Log:
  Fix breakage after r227983; lib/libcxxrt still got built, because it was
  not disabled in the usual way (by adding it to __DEFAULT_NO_OPTIONS in
  share/mk/bsd.own.mk), and because the test for MK_LIBCPLUSPLUS in
  Makefile.inc1 was incorrect.

Thanks!
-Garrett
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org