This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Net stack updates


As presaged on the ecos-maintainers list, this patch renames the new_net template to net, and net to old_net. I've also clarified the SNMP docs a bit and put a CDL requires in.

I've also removed the elix template as over time it has now converged to be essentially the same as the net template! Besides elix is dead as a standard anyway.

Finally since I was there, I've updated the inferred values in all the templates which should remove most of the reports of inferred value outputs for e.g. "ecosconfig new blah net" etc. This will hopefully confuse newbie GUI tool users less too.

Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine
Index: templates/all/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/templates/all/ChangeLog,v
retrieving revision 1.14
diff -u -5 -p -r1.14 ChangeLog
--- templates/all/ChangeLog	19 Aug 2002 14:34:27 -0000	1.14
+++ templates/all/ChangeLog	14 Feb 2003 18:22:09 -0000
@@ -1,5 +1,9 @@
+2003-02-14  Jonathan Larmour  <jifl@eCosCentric.com>
+
+	* current.ect: Update inferred values and add SNMP stack.
+
 2002-08-15  Andrew Lunn  <andrew.lunn@ascom.ch>
 
 	* current.ect: Added the cpuload package.
 
 2002-08-09  Andrew Lunn  <andrew.lunn@ascom.ch>
Index: templates/all/current.ect
===================================================================
RCS file: /cvs/ecos/ecos/packages/templates/all/current.ect,v
retrieving revision 1.12
diff -u -5 -p -r1.12 current.ect
--- templates/all/current.ect	19 Aug 2002 14:34:27 -0000	1.12
+++ templates/all/current.ect	14 Feb 2003 18:22:09 -0000
@@ -32,10 +32,12 @@ cdl_configuration template_all {
     package     CYGPKG_IO_WALLCLOCK current ;
     package     CYGPKG_ERROR current ;
     package     CYGPKG_IO_FILEIO current ;
     package     CYGPKG_NET current ;
     package     CYGPKG_NET_OPENBSD_STACK current ;
+    package     CYGPKG_SNMPAGENT current ;
+    package     CYGPKG_SNMPLIB current ;
     package     CYGPKG_NS_DNS current ;
     package     CYGPKG_IO_ETH_DRIVERS current ;
     package     CYGPKG_CRC current ;
     package     CYGPKG_CPULOAD current ;
 };
@@ -189,6 +191,46 @@ cdl_option CYGBLD_ISO_PMUTEXTYPES_HEADER
 };
 
 
 cdl_option CYGBLD_ISO_STRING_BSD_FUNCS_HEADER {
     inferred_value 1 <cyg/libc/string/bsdstring.h>
+};
+
+cdl_component CYGPKG_KERNEL_THREADS_DESTRUCTORS {
+    inferred_value 1
+};
+
+cdl_option CYGBLD_ISO_POSIX_CLOCK_TYPES_HEADER {
+    inferred_value 1 <cyg/posix/time.h>
+};
+
+cdl_option CYGBLD_ISO_POSIX_CLOCKS_HEADER {
+    inferred_value 1 <cyg/posix/time.h>
+};
+
+cdl_option CYGBLD_ISO_BSDTYPES_HEADER {
+    inferred_value 1 <sys/bsdtypes.h>
+};
+
+cdl_option CYGBLD_ISO_DIRENT_HEADER {
+    inferred_value 1 <cyg/fileio/dirent.h>
+};
+
+cdl_option CYGBLD_ISO_PTHREAD_MUTEX_HEADER {
+    inferred_value 1 <cyg/posix/mutex.h>
+};
+
+cdl_option CYGBLD_ISO_NETDB_PROTO_HEADER {
+    inferred_value 1 <net/netdb.h>
+};
+
+cdl_option CYGBLD_ISO_NETDB_SERV_HEADER {
+    inferred_value 1 <net/netdb.h>
+};
+
+cdl_option CYGBLD_ISO_OPEN_MAX_HEADER {
+    inferred_value 1 <cyg/fileio/limits.h>
+};
+
+cdl_option CYGBLD_ISO_NAME_MAX_HEADER {
+    inferred_value 1 <cyg/fileio/limits.h>
 };
Index: templates/cygmon/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/templates/cygmon/ChangeLog,v
retrieving revision 1.6
diff -u -5 -p -r1.6 ChangeLog
--- templates/cygmon/ChangeLog	23 May 2002 23:08:47 -0000	1.6
+++ templates/cygmon/ChangeLog	14 Feb 2003 18:22:09 -0000
@@ -1,5 +1,9 @@
+2003-02-14  Jonathan Larmour  <jifl@eCosCentric.com>
+
+	* current.ect: Update inferred values.
+
 2001-11-27  Jonathan Larmour  <jlarmour@redhat.com>
 
 	 current.ect: Provide default for CYGBLD_ISO_STRING_BSD_FUNCS_HEADER
 
 2000-07-24  Jonathan Larmour  <jlarmour@redhat.co.uk>
Index: templates/cygmon/current.ect
===================================================================
RCS file: /cvs/ecos/ecos/packages/templates/cygmon/current.ect,v
retrieving revision 1.4
diff -u -5 -p -r1.4 current.ect
--- templates/cygmon/current.ect	30 Nov 2001 13:09:30 -0000	1.4
+++ templates/cygmon/current.ect	14 Feb 2003 18:22:09 -0000
@@ -27,10 +27,14 @@ This is the eCos CygMon configuration. I
 
 cdl_option CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS {
     user_value 1
 };
 
+cdl_option CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT {
+    user_value 0
+};
+
 cdl_option CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT {
     user_value 0
 };
 
 cdl_option CYGDBG_HAL_DEBUG_GDB_THREAD_SUPPORT {
Index: templates/cygmon_no_kernel/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/templates/cygmon_no_kernel/ChangeLog,v
retrieving revision 1.4
diff -u -5 -p -r1.4 ChangeLog
--- templates/cygmon_no_kernel/ChangeLog	23 May 2002 23:08:47 -0000	1.4
+++ templates/cygmon_no_kernel/ChangeLog	14 Feb 2003 18:22:09 -0000
@@ -1,5 +1,9 @@
+2003-02-14  Jonathan Larmour  <jifl@eCosCentric.com>
+
+	* current.ect: Update inferred values.
+
 2001-11-27  Jonathan Larmour  <jlarmour@redhat.com>
 
 	 current.ect: Provide default for CYGBLD_ISO_STRING_BSD_FUNCS_HEADER
 
 2000-08-14  Drew Moseley  <dmoseley@redhat.com>
Index: templates/cygmon_no_kernel/current.ect
===================================================================
RCS file: /cvs/ecos/ecos/packages/templates/cygmon_no_kernel/current.ect,v
retrieving revision 1.2
diff -u -5 -p -r1.2 current.ect
--- templates/cygmon_no_kernel/current.ect	30 Nov 2001 13:09:30 -0000	1.2
+++ templates/cygmon_no_kernel/current.ect	14 Feb 2003 18:22:09 -0000
@@ -26,10 +26,14 @@ This is the eCos CygMon configuration. I
 
 cdl_option CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS {
     user_value 1
 };
 
+cdl_option CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT {
+    user_value 0
+};
+
 cdl_option CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT {
     user_value 0
 };
 
 cdl_option CYGDBG_HAL_DEBUG_GDB_THREAD_SUPPORT {
@@ -84,6 +88,10 @@ cdl_option CYGBLD_ISO_SETJMP_HEADER {
     user_value 1 <cyg/libc/setjmp/setjmp.h>
 };
 
 cdl_option CYGBLD_ISO_STRING_BSD_FUNCS_HEADER {
     inferred_value 1 <cyg/libc/string/bsdstring.h>
+};
+
+cdl_option CYGSEM_ERROR_PER_THREAD_ERRNO {
+    inferred_value 0
 };
Index: templates/elix/ChangeLog
===================================================================
RCS file: templates/elix/ChangeLog
diff -N templates/elix/ChangeLog
--- templates/elix/ChangeLog	23 May 2002 23:08:48 -0000	1.7
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,78 +0,0 @@
-2002-01-29  Jesper Skov  <jskov@redhat.com>
-
-	* current.ect: Added CYGPKG_NET_OPENBSD_STACK.
-
-2001-11-27  Jonathan Larmour  <jlarmour@redhat.com>
-
-	 current.ect: Provide default for CYGBLD_ISO_STRING_BSD_FUNCS_HEADER
-
-2001-08-21  Jonathan Larmour  <jlarmour@redhat.com>
-
-	* current.ect: Pre-infer CYGBLD_ISO_PMUTEXTYPES_HEADER.
-
-2000-11-03  Jonathan Larmour  <jlarmour@redhat.com>
-
-	* current.ect: Update values for current CDL
-
-2000-10-11  Jonathan Larmour  <jlarmour@redhat.com>
-
-	* current.ect: CYGPKG_NET_ETH_DRIVERS has been renamed to
-	CYGPKG_IO_ETH_DRIVERS
-
-2000-07-24  Jonathan Larmour  <jlarmour@redhat.co.uk>
-
-	* current.ect: Include net package
-
-2000-07-13  Nick Garnett  <nickg@cygnus.co.uk>
-
-	* current.ect: Added FILEIO package.
-
-2000-07-04  Jonathan Larmour  <jlarmour@redhat.co.uk>
-
-	* current.ect: Add memalloc package
-
-2000-05-20  Jonathan Larmour  <jlarmour@redhat.co.uk>
-
-	* current.ect: Update inferred values
-
-2000-05-02  Jonathan Larmour  <jlarmour@redhat.co.uk>
-
-	* templates/elix directory created
-	
-
-//===========================================================================
-//####ECOSGPLCOPYRIGHTBEGIN####
-// -------------------------------------------
-// This file is part of eCos, the Embedded Configurable Operating System.
-// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
-//
-// eCos is free software; you can redistribute it and/or modify it under
-// the terms of the GNU General Public License as published by the Free
-// Software Foundation; either version 2 or (at your option) any later version.
-//
-// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
-// WARRANTY; without even the implied warranty of MERCHANTABILITY or
-// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-// for more details.
-//
-// You should have received a copy of the GNU General Public License along
-// with eCos; if not, write to the Free Software Foundation, Inc.,
-// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
-//
-// As a special exception, if other files instantiate templates or use macros
-// or inline functions from this file, or you compile this file and link it
-// with other works to produce a work based on this file, this file does not
-// by itself cause the resulting work to be covered by the GNU General Public
-// License. However the source code for this file must still be made available
-// in accordance with section (3) of the GNU General Public License.
-//
-// This exception does not invalidate any other reasons why a work based on
-// this file might be covered by the GNU General Public License.
-//
-// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
-// at http://sources.redhat.com/ecos/ecos-license/
-// -------------------------------------------
-//####ECOSGPLCOPYRIGHTEND####
-//===========================================================================
-
-
Index: templates/elix/current.ect
===================================================================
RCS file: templates/elix/current.ect
diff -N templates/elix/current.ect
--- templates/elix/current.ect	20 May 2002 22:25:54 -0000	1.6
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,196 +0,0 @@
-cdl_savefile_version 1;
-cdl_savefile_command cdl_savefile_version {};
-cdl_savefile_command cdl_savefile_command {};
-cdl_savefile_command cdl_configuration { description hardware template package };
-cdl_savefile_command cdl_package { value_source user_value wizard_value inferred_value };
-cdl_savefile_command cdl_component { value_source user_value wizard_value inferred_value };
-cdl_savefile_command cdl_option { value_source user_value wizard_value inferred_value };
-cdl_savefile_command cdl_interface { value_source user_value wizard_value inferred_value };
-
-cdl_configuration template_elix {
-    description "
-This is the configuration to build eCos with EL/IX API compatibility." ;
-    package     CYGPKG_HAL current ;
-    package     CYGPKG_IO current ;
-    package     CYGPKG_IO_SERIAL current ;
-    package     CYGPKG_INFRA current ;
-    package     CYGPKG_KERNEL current ;
-    package     CYGPKG_MEMALLOC current ;    
-    package     CYGPKG_ISOINFRA current ;
-    package     CYGPKG_LIBC current ;
-    package     CYGPKG_LIBC_I18N current ;
-    package     CYGPKG_LIBC_SETJMP current ;
-    package     CYGPKG_LIBC_STARTUP current ;
-    package     CYGPKG_LIBC_STDIO current ;
-    package     CYGPKG_LIBC_STDLIB current ;
-    package     CYGPKG_LIBC_STRING current ;
-    package     CYGPKG_LIBC_TIME current ;
-    package     CYGPKG_LIBM current ;
-    package     CYGPKG_POSIX current ;
-    package     CYGPKG_IO_FILEIO current ;
-    package     CYGPKG_IO_WALLCLOCK current ;
-    package     CYGPKG_ERROR current ;
-    package     CYGPKG_NET current ;
-    package     CYGPKG_NET_OPENBSD_STACK current ;
-    package     CYGPKG_IO_ETH_DRIVERS current ;
-};
-
-cdl_option CYGIMP_KERNEL_SCHED_SORTED_QUEUES {
-    inferred_value 1
-};
-
-cdl_option CYGSEM_KERNEL_SCHED_TIMESLICE_ENABLE {
-    inferred_value 1
-};
-
-cdl_component CYGSEM_KERNEL_SCHED_ASR_SUPPORT {
-    inferred_value 1
-};
-
-cdl_option CYGSEM_KERNEL_SCHED_ASR_GLOBAL {
-    inferred_value 1
-};
-
-cdl_option CYGBLD_ISO_CTYPE_HEADER {
-    inferred_value 1 <cyg/libc/i18n/ctype.inl>
-};
-
-cdl_option CYGBLD_ISO_ERRNO_CODES_HEADER {
-    inferred_value 1 <cyg/error/codes.h>
-};
-
-cdl_option CYGBLD_ISO_ERRNO_HEADER {
-    inferred_value 1 <cyg/error/errno.h>
-};
-
-cdl_option CYGBLD_ISO_STDIO_FILETYPES_HEADER {
-    inferred_value 1 <cyg/libc/stdio/stdio.h>
-};
-
-cdl_option CYGBLD_ISO_STDIO_FILEACCESS_HEADER {
-    inferred_value 1 <cyg/libc/stdio/stdio.h>
-};
-
-cdl_option CYGBLD_ISO_STDIO_FORMATTED_IO_HEADER {
-    inferred_value 1 <cyg/libc/stdio/stdio.h>
-};
-
-cdl_option CYGBLD_ISO_STDIO_CHAR_IO_HEADER {
-    inferred_value 1 <cyg/libc/stdio/stdio.h>
-};
-
-cdl_option CYGBLD_ISO_STDIO_DIRECT_IO_HEADER {
-    inferred_value 1 <cyg/libc/stdio/stdio.h>
-};
-
-cdl_option CYGBLD_ISO_STDIO_ERROR_HEADER {
-    inferred_value 1 <cyg/libc/stdio/stdio.h>
-};
-
-cdl_option CYGBLD_ISO_STDLIB_STRCONV_HEADER {
-    inferred_value 1 <cyg/libc/stdlib/atox.inl>
-};
-
-cdl_option CYGBLD_ISO_STDLIB_ABS_HEADER {
-    inferred_value 1 <cyg/libc/stdlib/abs.inl>
-};
-
-cdl_option CYGBLD_ISO_STDLIB_DIV_HEADER {
-    inferred_value 1 <cyg/libc/stdlib/div.inl>
-};
-
-cdl_option CYGBLD_ISO_STRERROR_HEADER {
-    inferred_value 1 <cyg/error/strerror.h>
-};
-
-cdl_option CYGBLD_ISO_STRTOK_R_HEADER {
-    inferred_value 1 <cyg/libc/string/string.h>
-};
-
-cdl_option CYGBLD_ISO_STRING_LOCALE_FUNCS_HEADER {
-    inferred_value 1 <cyg/libc/string/string.h>
-};
-
-cdl_option CYGBLD_ISO_STRING_MEMFUNCS_HEADER {
-    inferred_value 1 <cyg/libc/string/string.h>
-};
-
-cdl_option CYGBLD_ISO_STRING_STRFUNCS_HEADER {
-    inferred_value 1 <cyg/libc/string/string.h>
-};
-
-cdl_option CYGBLD_ISO_POSIX_TIMER_TYPES_HEADER {
-    inferred_value 1 <cyg/posix/time.h>
-};
-
-cdl_option CYGBLD_ISO_C_TIME_TYPES_HEADER {
-    inferred_value 1 <cyg/libc/time/time.h>
-};
-
-cdl_option CYGBLD_ISO_POSIX_TIMERS_HEADER {
-    inferred_value 1 <cyg/posix/time.h>
-};
-
-cdl_option CYGBLD_ISO_C_CLOCK_FUNCS_HEADER {
-    inferred_value 1 <cyg/libc/time/time.h>
-};
-
-cdl_option CYGBLD_ISO_SIGNAL_NUMBERS_HEADER {
-    inferred_value 1 <cyg/posix/signal.h>
-};
-
-cdl_option CYGBLD_ISO_SIGNAL_IMPL_HEADER {
-    inferred_value 1 <cyg/posix/signal.h>
-};
-
-cdl_option CYGBLD_ISO_SETJMP_HEADER {
-    inferred_value 1 <cyg/libc/setjmp/setjmp.h>
-};
-
-cdl_option CYGBLD_ISO_DIRENT_HEADER {
-    inferred_value 1 <cyg/fileio/dirent.h>
-};
-
-cdl_option CYGBLD_ISO_PTHREADTYPES_HEADER {
-    inferred_value 1 <cyg/posix/types.h>
-};
-
-cdl_option CYGBLD_ISO_BSDTYPES_HEADER {
-    inferred_value 1 <sys/bsdtypes.h>
-};
-
-cdl_option CYGBLD_ISO_UTSNAME_HEADER {
-    inferred_value 1 <cyg/posix/utsname.h>
-};
-
-cdl_option CYGBLD_ISO_SEMAPHORES_HEADER {
-    inferred_value 1 <cyg/posix/semaphore.h>
-};
-
-cdl_option CYGBLD_ISO_PTHREAD_IMPL_HEADER {
-    inferred_value 1 <cyg/posix/pthread.h>
-};
-
-cdl_option CYGBLD_ISO_POSIX_LIMITS_HEADER {
-    inferred_value 1 <cyg/posix/limits.h>
-};
-
-cdl_option CYGBLD_ISO_STDIO_STREAMS_HEADER {
-    inferred_value 1 <cyg/libc/stdio/stdio.h>
-};
-
-cdl_option CYGBLD_ISO_SIGSETJMP_HEADER {
-    inferred_value 1 <cyg/posix/sigsetjmp.h>
-};
-
-cdl_option CYGBLD_ISO_OPEN_MAX_HEADER {
-    inferred_value 1 <cyg/fileio/limits.h>
-};
-
-cdl_option CYGBLD_ISO_PMUTEXTYPES_HEADER {
-    inferred_value 1 <cyg/posix/muttypes.h>
-};
-
-cdl_option CYGBLD_ISO_STRING_BSD_FUNCS_HEADER {
-    inferred_value 1 <cyg/libc/string/bsdstring.h>
-};
Index: templates/net/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos-opt/net/templates/net/ChangeLog,v
retrieving revision 1.8
diff -u -5 -p -r1.8 ChangeLog
--- templates/net/ChangeLog	23 May 2002 23:08:48 -0000	1.8
+++ templates/net/ChangeLog	14 Feb 2003 18:22:09 -0000
@@ -1,97 +1,14 @@
-2001-11-27  Jonathan Larmour  <jlarmour@redhat.com>
+2003-02-14  Jonathan Larmour  <jifl@eCosCentric.com>
 
-	 current.ect: Provide default for CYGBLD_ISO_STRING_BSD_FUNCS_HEADER
+	* Move files from templates/new_net/ to templates/net/
 
-2001-09-27  Jonathan Larmour  <jlarmour@redhat.com>
+	* current.ect: Update inferred values.
 
-	* current.ect: Don't include uitron. Not appropriate for base net
-	template.
+2002-01-28  Gary Thomas  <gthomas@redhat.com>
 
-2001-09-26  Jesper Skov  <jskov@redhat.com>
-
-	* current.ect: DNS header moved.
-
-2001-09-24  Jesper Skov  <jskov@redhat.com>
-
-	* current.ect: Added DNS package.
-
-2001-08-21  Jonathan Larmour  <jlarmour@redhat.com>
-
-	* current.ect: Pre-infer CYGBLD_ISO_PMUTEXTYPES_HEADER.
-
-2000-11-03  Jonathan Larmour  <jlarmour@redhat.com>
-
-	* current.ect: Update inferred values for current CDL
-
-2000-08-03  Gary Thomas  <gthomas@redhat.com>
-
-	* current.ect: Ethernet drivers have moved.
-
-2000-07-04  Jonathan Larmour  <jlarmour@redhat.co.uk>
-
-	* current.ect: Add memalloc package
-
-2000-06-07  Nick Garnett  <nickg@cygnus.co.uk>
-
-	* current.ect: Modified to work with ISOINFRA package, divided
-	LIBC and fileio package.
-
-2000-05-31  Jesper Skov  <jskov@redhat.com>
-
-	* current.ect: renamed watchdog package.
-
-2000-04-07  Hugo Tyson  <hmt@cygnus.co.uk>
-
-	* ecos.db: Re-organize device packages.  This is a massive change
-	involving deleting all the sources for serial and ethernet drivers
-	from where they used to live in
-	    packages/io/serial/current/src/ARCH/PLATFORM.[ch]
-	    packages/net/drivers/eth/PLATFORM/current/src/...
-	and reinstating them in
-	    packages/devs/serial/ARCH/PLATFORM/current/src/...
-	    packages/devs/eth/ARCH/PLATFORM/current/src/...
-
-	All these new packages are properly defined in ecos.db, and are
-	all of type "hardware" so that a "target" can grab them.
-	
-	This directory layout is descriptive of the devices we have right
-	now, arch and platform are separate levels just to make it easier
-	to navigate in the filesystem and similar to the HAL structure in
-	the filesystem.
-
-	It is *not* prescriptive of future work; for example, the mythical
-	common highly-portable 16550 serial driver which works on many
-	targets would be called "devs/serial/s16550/current", or a serial
-	device for a particular board (cogent springs to mind) that can
-	work with different CPUs fitted is "devs/serial/cogent/current".
-
-	Changelogs have been preserved and replicated over all the new
-	packages, so that no history is lost.
-
-	The contents of individual source files are unchanged; they build
-	in just the same emvironment except for a very few cases where the
-	config file name changed in this movement.
-
-	Targets in ecos.db have been redefined to bring in all relevant
-	hardware packages including net and serial drivers (but the newly
-	included packages are only active if their desired parent is
-	available.)
-	
-	The names of CDL options (and their #defines of course) stay the
-	same for the serial drivers, for backward compatibility.
-
-	* templates/*/current.ect: these have had CYGPKG_IO_SERIAL added
-	rather than it being in (almost) all target definitions.
-	
-2000-04-05  Jesper Skov  <jskov@redhat.com>
-
-	* current.ect: Wallclock moved.
-
-2000-02-08  Gary Thomas  <gthomas@cygnus.co.uk>
-
-	* templates/net: New template with optional network package.
+	* current.ect: New configuration, using new FreeBSD based stack.
 
 //===========================================================================
 //####ECOSGPLCOPYRIGHTBEGIN####
 // -------------------------------------------
 // This file is part of eCos, the Embedded Configurable Operating System.
Index: templates/net/current.ect
===================================================================
RCS file: /cvs/ecos/ecos-opt/net/templates/net/current.ect,v
retrieving revision 1.7
diff -u -5 -p -r1.7 current.ect
--- templates/net/current.ect	20 May 2002 22:25:55 -0000	1.7
+++ templates/net/current.ect	14 Feb 2003 18:22:09 -0000
@@ -29,11 +29,11 @@ cdl_configuration template_net {
     package     CYGPKG_IO_WATCHDOG current ;
     package     CYGPKG_IO_WALLCLOCK current ;
     package     CYGPKG_ERROR current ;
     package     CYGPKG_IO_FILEIO current ;
     package     CYGPKG_NET current ;
-    package     CYGPKG_NET_OPENBSD_STACK current ;
+    package     CYGPKG_NET_FREEBSD_STACK current ;
     package     CYGPKG_NS_DNS current ;
     package     CYGPKG_IO_ETH_DRIVERS current ;
 };
 
 cdl_option CYGBLD_ISO_CTYPE_HEADER {
@@ -196,6 +196,34 @@ cdl_option CYGBLD_ISO_PMUTEXTYPES_HEADER
     inferred_value 1 <cyg/posix/muttypes.h>
 };
 
 cdl_option CYGBLD_ISO_STRING_BSD_FUNCS_HEADER {
     inferred_value 1 <cyg/libc/string/bsdstring.h>
+};
+
+cdl_option CYGBLD_ISO_POSIX_CLOCK_TYPES_HEADER {
+    inferred_value 1 <cyg/posix/time.h>
+};
+
+cdl_option CYGBLD_ISO_POSIX_CLOCKS_HEADER {
+    inferred_value 1 <cyg/posix/time.h>
+};
+
+cdl_option CYGBLD_ISO_PTHREAD_MUTEX_HEADER {
+    inferred_value 1 <cyg/posix/mutex.h>
+};
+
+cdl_option CYGBLD_ISO_NAME_MAX_HEADER {
+    inferred_value 1 <cyg/fileio/limits.h>
+};
+
+cdl_option CYGBLD_ISO_NETDB_PROTO_HEADER {
+    inferred_value 1 <net/netdb.h>
+};
+
+cdl_option CYGBLD_ISO_NETDB_SERV_HEADER {
+    inferred_value 1 <net/netdb.h>
+};
+
+cdl_component CYGPKG_KERNEL_THREADS_DESTRUCTORS {
+    inferred_value 1
 };
Index: templates/new_net/ChangeLog
===================================================================
RCS file: templates/new_net/ChangeLog
diff -N templates/new_net/ChangeLog
--- templates/new_net/ChangeLog	23 May 2002 23:08:48 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,38 +0,0 @@
-2002-01-28  Gary Thomas  <gthomas@redhat.com>
-
-	* current.ect: New configuration, using new FreeBSD based stack.
-
-//===========================================================================
-//####ECOSGPLCOPYRIGHTBEGIN####
-// -------------------------------------------
-// This file is part of eCos, the Embedded Configurable Operating System.
-// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
-//
-// eCos is free software; you can redistribute it and/or modify it under
-// the terms of the GNU General Public License as published by the Free
-// Software Foundation; either version 2 or (at your option) any later version.
-//
-// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
-// WARRANTY; without even the implied warranty of MERCHANTABILITY or
-// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-// for more details.
-//
-// You should have received a copy of the GNU General Public License along
-// with eCos; if not, write to the Free Software Foundation, Inc.,
-// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
-//
-// As a special exception, if other files instantiate templates or use macros
-// or inline functions from this file, or you compile this file and link it
-// with other works to produce a work based on this file, this file does not
-// by itself cause the resulting work to be covered by the GNU General Public
-// License. However the source code for this file must still be made available
-// in accordance with section (3) of the GNU General Public License.
-//
-// This exception does not invalidate any other reasons why a work based on
-// this file might be covered by the GNU General Public License.
-//
-// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
-// at http://sources.redhat.com/ecos/ecos-license/
-// -------------------------------------------
-//####ECOSGPLCOPYRIGHTEND####
-//===========================================================================
Index: templates/new_net/current.ect
===================================================================
RCS file: templates/new_net/current.ect
diff -N templates/new_net/current.ect
--- templates/new_net/current.ect	20 May 2002 22:25:55 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,201 +0,0 @@
-cdl_savefile_version 1;
-cdl_savefile_command cdl_savefile_version {};
-cdl_savefile_command cdl_savefile_command {};
-cdl_savefile_command cdl_configuration { description hardware template package };
-cdl_savefile_command cdl_package { value_source user_value wizard_value inferred_value };
-cdl_savefile_command cdl_component { value_source user_value wizard_value inferred_value };
-cdl_savefile_command cdl_option { value_source user_value wizard_value inferred_value };
-cdl_savefile_command cdl_interface { value_source user_value wizard_value inferred_value };
-
-cdl_configuration template_net {
-    description "This configuration includes the TCP/IP stack." ;
-    package     CYGPKG_HAL current ;
-    package     CYGPKG_IO current ;
-    package     CYGPKG_IO_SERIAL current ;
-    package     CYGPKG_INFRA current ;
-    package     CYGPKG_ISOINFRA current ;
-    package     CYGPKG_KERNEL current ;
-    package     CYGPKG_MEMALLOC current ;    
-    package     CYGPKG_LIBC current ;
-    package     CYGPKG_LIBC_TIME current ;
-    package     CYGPKG_LIBC_STDLIB current ;
-    package     CYGPKG_LIBC_STRING current ;
-    package     CYGPKG_LIBC_I18N current ;
-    package     CYGPKG_LIBC_SETJMP current ;
-    package     CYGPKG_LIBC_STARTUP current ;
-    package     CYGPKG_LIBC_STDIO current ;
-    package     CYGPKG_LIBM current ;
-    package     CYGPKG_POSIX current ;
-    package     CYGPKG_IO_WATCHDOG current ;
-    package     CYGPKG_IO_WALLCLOCK current ;
-    package     CYGPKG_ERROR current ;
-    package     CYGPKG_IO_FILEIO current ;
-    package     CYGPKG_NET current ;
-    package     CYGPKG_NET_FREEBSD_STACK current ;
-    package     CYGPKG_NS_DNS current ;
-    package     CYGPKG_IO_ETH_DRIVERS current ;
-};
-
-cdl_option CYGBLD_ISO_CTYPE_HEADER {
-    inferred_value 1 <cyg/libc/i18n/ctype.inl>
-};
-
-cdl_option CYGBLD_ISO_ERRNO_CODES_HEADER {
-    inferred_value 1 <cyg/error/codes.h>
-};
-
-cdl_option CYGBLD_ISO_ERRNO_HEADER {
-    inferred_value 1 <cyg/error/errno.h>
-};
-
-cdl_option CYGBLD_ISO_STDIO_FILETYPES_HEADER {
-    inferred_value 1 <cyg/libc/stdio/stdio.h>
-};
-
-cdl_option CYGBLD_ISO_STDIO_FILEACCESS_HEADER {
-    inferred_value 1 <cyg/libc/stdio/stdio.h>
-};
-
-cdl_option CYGBLD_ISO_STDIO_FORMATTED_IO_HEADER {
-    inferred_value 1 <cyg/libc/stdio/stdio.h>
-};
-
-cdl_option CYGBLD_ISO_STDIO_CHAR_IO_HEADER {
-    inferred_value 1 <cyg/libc/stdio/stdio.h>
-};
-
-cdl_option CYGBLD_ISO_STDIO_DIRECT_IO_HEADER {
-    inferred_value 1 <cyg/libc/stdio/stdio.h>
-};
-
-cdl_option CYGBLD_ISO_STDIO_ERROR_HEADER {
-    inferred_value 1 <cyg/libc/stdio/stdio.h>
-};
-
-cdl_option CYGBLD_ISO_STDLIB_STRCONV_HEADER {
-    inferred_value 1 <cyg/libc/stdlib/atox.inl>
-};
-
-cdl_option CYGBLD_ISO_STDLIB_ABS_HEADER {
-    inferred_value 1 <cyg/libc/stdlib/abs.inl>
-};
-
-cdl_option CYGBLD_ISO_STDLIB_DIV_HEADER {
-    inferred_value 1 <cyg/libc/stdlib/div.inl>
-};
-
-cdl_option CYGBLD_ISO_DNS_HEADER {
-    inferred_value 1 <cyg/ns/dns/dns.h>
-};
-
-cdl_option CYGBLD_ISO_STRERROR_HEADER {
-    inferred_value 1 <cyg/error/strerror.h>
-};
-
-cdl_option CYGBLD_ISO_STRTOK_R_HEADER {
-    inferred_value 1 <cyg/libc/string/string.h>
-};
-
-cdl_option CYGBLD_ISO_STRING_LOCALE_FUNCS_HEADER {
-    inferred_value 1 <cyg/libc/string/string.h>
-};
-
-cdl_option CYGBLD_ISO_STRING_MEMFUNCS_HEADER {
-    inferred_value 1 <cyg/libc/string/string.h>
-};
-
-cdl_option CYGBLD_ISO_STRING_STRFUNCS_HEADER {
-    inferred_value 1 <cyg/libc/string/string.h>
-};
-
-cdl_option CYGBLD_ISO_POSIX_TIMER_TYPES_HEADER {
-    inferred_value 1 <cyg/posix/time.h>
-};
-
-cdl_option CYGBLD_ISO_C_TIME_TYPES_HEADER {
-    inferred_value 1 <cyg/libc/time/time.h>
-};
-
-cdl_option CYGBLD_ISO_POSIX_TIMERS_HEADER {
-    inferred_value 1 <cyg/posix/time.h>
-};
-
-cdl_option CYGBLD_ISO_C_CLOCK_FUNCS_HEADER {
-    inferred_value 1 <cyg/libc/time/time.h>
-};
-
-cdl_option CYGBLD_ISO_SIGNAL_NUMBERS_HEADER {
-    inferred_value 1 <cyg/posix/signal.h>
-};
-
-cdl_option CYGBLD_ISO_SIGNAL_IMPL_HEADER {
-    inferred_value 1 <cyg/posix/signal.h>
-};
-
-cdl_option CYGBLD_ISO_SETJMP_HEADER {
-    inferred_value 1 <cyg/libc/setjmp/setjmp.h>
-};
-
-cdl_option CYGBLD_ISO_DIRENT_HEADER {
-    inferred_value 1 <cyg/fileio/dirent.h>
-};
-
-cdl_option CYGBLD_ISO_PTHREADTYPES_HEADER {
-    inferred_value 1 <cyg/posix/types.h>
-};
-
-cdl_option CYGBLD_ISO_BSDTYPES_HEADER {
-    inferred_value 1 <sys/bsdtypes.h>
-};
-
-cdl_option CYGBLD_ISO_UTSNAME_HEADER {
-    inferred_value 1 <cyg/posix/utsname.h>
-};
-
-cdl_option CYGBLD_ISO_SEMAPHORES_HEADER {
-    inferred_value 1 <cyg/posix/semaphore.h>
-};
-
-cdl_option CYGBLD_ISO_PTHREAD_IMPL_HEADER {
-    inferred_value 1 <cyg/posix/pthread.h>
-};
-
-cdl_option CYGBLD_ISO_POSIX_LIMITS_HEADER {
-    inferred_value 1 <cyg/posix/limits.h>
-};
-
-cdl_option CYGIMP_KERNEL_SCHED_SORTED_QUEUES {
-    inferred_value 1
-};
-
-cdl_option CYGSEM_KERNEL_SCHED_TIMESLICE_ENABLE {
-    inferred_value 1
-};
-
-cdl_component CYGSEM_KERNEL_SCHED_ASR_SUPPORT {
-    inferred_value 1
-};
-
-cdl_option CYGSEM_KERNEL_SCHED_ASR_GLOBAL {
-    inferred_value 1
-};
-
-cdl_option CYGBLD_ISO_STDIO_STREAMS_HEADER {
-    inferred_value 1 <cyg/libc/stdio/stdio.h>
-};
-
-cdl_option CYGBLD_ISO_SIGSETJMP_HEADER {
-    inferred_value 1 <cyg/posix/sigsetjmp.h>
-};
-
-cdl_option CYGBLD_ISO_OPEN_MAX_HEADER {
-    inferred_value 1 <cyg/fileio/limits.h>
-};
-
-cdl_option CYGBLD_ISO_PMUTEXTYPES_HEADER {
-    inferred_value 1 <cyg/posix/muttypes.h>
-};
-
-cdl_option CYGBLD_ISO_STRING_BSD_FUNCS_HEADER {
-    inferred_value 1 <cyg/libc/string/bsdstring.h>
-};
Index: templates/old_net/ChangeLog
===================================================================
RCS file: templates/old_net/ChangeLog
diff -N templates/old_net/ChangeLog
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ templates/old_net/ChangeLog	14 Feb 2003 18:22:09 -0000
@@ -0,0 +1,133 @@
+2003-02-14  Jonathan Larmour  <jifl@eCosCentric.com>
+
+	* Move files from templates/net/ to templates/old_net/
+
+	* current.ect: Update inferred values.
+
+2001-11-27  Jonathan Larmour  <jlarmour@redhat.com>
+
+	 current.ect: Provide default for CYGBLD_ISO_STRING_BSD_FUNCS_HEADER
+
+2001-09-27  Jonathan Larmour  <jlarmour@redhat.com>
+
+	* current.ect: Don't include uitron. Not appropriate for base net
+	template.
+
+2001-09-26  Jesper Skov  <jskov@redhat.com>
+
+	* current.ect: DNS header moved.
+
+2001-09-24  Jesper Skov  <jskov@redhat.com>
+
+	* current.ect: Added DNS package.
+
+2001-08-21  Jonathan Larmour  <jlarmour@redhat.com>
+
+	* current.ect: Pre-infer CYGBLD_ISO_PMUTEXTYPES_HEADER.
+
+2000-11-03  Jonathan Larmour  <jlarmour@redhat.com>
+
+	* current.ect: Update inferred values for current CDL
+
+2000-08-03  Gary Thomas  <gthomas@redhat.com>
+
+	* current.ect: Ethernet drivers have moved.
+
+2000-07-04  Jonathan Larmour  <jlarmour@redhat.co.uk>
+
+	* current.ect: Add memalloc package
+
+2000-06-07  Nick Garnett  <nickg@cygnus.co.uk>
+
+	* current.ect: Modified to work with ISOINFRA package, divided
+	LIBC and fileio package.
+
+2000-05-31  Jesper Skov  <jskov@redhat.com>
+
+	* current.ect: renamed watchdog package.
+
+2000-04-07  Hugo Tyson  <hmt@cygnus.co.uk>
+
+	* ecos.db: Re-organize device packages.  This is a massive change
+	involving deleting all the sources for serial and ethernet drivers
+	from where they used to live in
+	    packages/io/serial/current/src/ARCH/PLATFORM.[ch]
+	    packages/net/drivers/eth/PLATFORM/current/src/...
+	and reinstating them in
+	    packages/devs/serial/ARCH/PLATFORM/current/src/...
+	    packages/devs/eth/ARCH/PLATFORM/current/src/...
+
+	All these new packages are properly defined in ecos.db, and are
+	all of type "hardware" so that a "target" can grab them.
+	
+	This directory layout is descriptive of the devices we have right
+	now, arch and platform are separate levels just to make it easier
+	to navigate in the filesystem and similar to the HAL structure in
+	the filesystem.
+
+	It is *not* prescriptive of future work; for example, the mythical
+	common highly-portable 16550 serial driver which works on many
+	targets would be called "devs/serial/s16550/current", or a serial
+	device for a particular board (cogent springs to mind) that can
+	work with different CPUs fitted is "devs/serial/cogent/current".
+
+	Changelogs have been preserved and replicated over all the new
+	packages, so that no history is lost.
+
+	The contents of individual source files are unchanged; they build
+	in just the same emvironment except for a very few cases where the
+	config file name changed in this movement.
+
+	Targets in ecos.db have been redefined to bring in all relevant
+	hardware packages including net and serial drivers (but the newly
+	included packages are only active if their desired parent is
+	available.)
+	
+	The names of CDL options (and their #defines of course) stay the
+	same for the serial drivers, for backward compatibility.
+
+	* templates/*/current.ect: these have had CYGPKG_IO_SERIAL added
+	rather than it being in (almost) all target definitions.
+	
+2000-04-05  Jesper Skov  <jskov@redhat.com>
+
+	* current.ect: Wallclock moved.
+
+2000-02-08  Gary Thomas  <gthomas@cygnus.co.uk>
+
+	* templates/net: New template with optional network package.
+
+//===========================================================================
+//####ECOSGPLCOPYRIGHTBEGIN####
+// -------------------------------------------
+// This file is part of eCos, the Embedded Configurable Operating System.
+// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
+//
+// eCos is free software; you can redistribute it and/or modify it under
+// the terms of the GNU General Public License as published by the Free
+// Software Foundation; either version 2 or (at your option) any later version.
+//
+// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or
+// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+// for more details.
+//
+// You should have received a copy of the GNU General Public License along
+// with eCos; if not, write to the Free Software Foundation, Inc.,
+// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+//
+// As a special exception, if other files instantiate templates or use macros
+// or inline functions from this file, or you compile this file and link it
+// with other works to produce a work based on this file, this file does not
+// by itself cause the resulting work to be covered by the GNU General Public
+// License. However the source code for this file must still be made available
+// in accordance with section (3) of the GNU General Public License.
+//
+// This exception does not invalidate any other reasons why a work based on
+// this file might be covered by the GNU General Public License.
+//
+// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
+// at http://sources.redhat.com/ecos/ecos-license/
+// -------------------------------------------
+//####ECOSGPLCOPYRIGHTEND####
+//===========================================================================
Index: templates/old_net/current.ect
===================================================================
RCS file: templates/old_net/current.ect
diff -N templates/old_net/current.ect
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ templates/old_net/current.ect	14 Feb 2003 18:22:09 -0000
@@ -0,0 +1,230 @@
+cdl_savefile_version 1;
+cdl_savefile_command cdl_savefile_version {};
+cdl_savefile_command cdl_savefile_command {};
+cdl_savefile_command cdl_configuration { description hardware template package };
+cdl_savefile_command cdl_package { value_source user_value wizard_value inferred_value };
+cdl_savefile_command cdl_component { value_source user_value wizard_value inferred_value };
+cdl_savefile_command cdl_option { value_source user_value wizard_value inferred_value };
+cdl_savefile_command cdl_interface { value_source user_value wizard_value inferred_value };
+
+cdl_configuration template_net {
+    description "This configuration includes the TCP/IP stack." ;
+    package     CYGPKG_HAL current ;
+    package     CYGPKG_IO current ;
+    package     CYGPKG_IO_SERIAL current ;
+    package     CYGPKG_INFRA current ;
+    package     CYGPKG_ISOINFRA current ;
+    package     CYGPKG_KERNEL current ;
+    package     CYGPKG_MEMALLOC current ;    
+    package     CYGPKG_LIBC current ;
+    package     CYGPKG_LIBC_TIME current ;
+    package     CYGPKG_LIBC_STDLIB current ;
+    package     CYGPKG_LIBC_STRING current ;
+    package     CYGPKG_LIBC_I18N current ;
+    package     CYGPKG_LIBC_SETJMP current ;
+    package     CYGPKG_LIBC_STARTUP current ;
+    package     CYGPKG_LIBC_STDIO current ;
+    package     CYGPKG_LIBM current ;
+    package     CYGPKG_POSIX current ;
+    package     CYGPKG_IO_WATCHDOG current ;
+    package     CYGPKG_IO_WALLCLOCK current ;
+    package     CYGPKG_ERROR current ;
+    package     CYGPKG_IO_FILEIO current ;
+    package     CYGPKG_NET current ;
+    package     CYGPKG_NET_OPENBSD_STACK current ;
+    package     CYGPKG_NS_DNS current ;
+    package     CYGPKG_IO_ETH_DRIVERS current ;
+};
+
+cdl_option CYGBLD_ISO_CTYPE_HEADER {
+    inferred_value 1 <cyg/libc/i18n/ctype.inl>
+};
+
+cdl_option CYGBLD_ISO_ERRNO_CODES_HEADER {
+    inferred_value 1 <cyg/error/codes.h>
+};
+
+cdl_option CYGBLD_ISO_ERRNO_HEADER {
+    inferred_value 1 <cyg/error/errno.h>
+};
+
+cdl_option CYGBLD_ISO_STDIO_FILETYPES_HEADER {
+    inferred_value 1 <cyg/libc/stdio/stdio.h>
+};
+
+cdl_option CYGBLD_ISO_STDIO_FILEACCESS_HEADER {
+    inferred_value 1 <cyg/libc/stdio/stdio.h>
+};
+
+cdl_option CYGBLD_ISO_STDIO_FORMATTED_IO_HEADER {
+    inferred_value 1 <cyg/libc/stdio/stdio.h>
+};
+
+cdl_option CYGBLD_ISO_STDIO_CHAR_IO_HEADER {
+    inferred_value 1 <cyg/libc/stdio/stdio.h>
+};
+
+cdl_option CYGBLD_ISO_STDIO_DIRECT_IO_HEADER {
+    inferred_value 1 <cyg/libc/stdio/stdio.h>
+};
+
+cdl_option CYGBLD_ISO_STDIO_ERROR_HEADER {
+    inferred_value 1 <cyg/libc/stdio/stdio.h>
+};
+
+cdl_option CYGBLD_ISO_STDLIB_STRCONV_HEADER {
+    inferred_value 1 <cyg/libc/stdlib/atox.inl>
+};
+
+cdl_option CYGBLD_ISO_STDLIB_ABS_HEADER {
+    inferred_value 1 <cyg/libc/stdlib/abs.inl>
+};
+
+cdl_option CYGBLD_ISO_STDLIB_DIV_HEADER {
+    inferred_value 1 <cyg/libc/stdlib/div.inl>
+};
+
+cdl_option CYGBLD_ISO_DNS_HEADER {
+    inferred_value 1 <cyg/ns/dns/dns.h>
+};
+
+cdl_option CYGBLD_ISO_STRERROR_HEADER {
+    inferred_value 1 <cyg/error/strerror.h>
+};
+
+cdl_option CYGBLD_ISO_STRTOK_R_HEADER {
+    inferred_value 1 <cyg/libc/string/string.h>
+};
+
+cdl_option CYGBLD_ISO_STRING_LOCALE_FUNCS_HEADER {
+    inferred_value 1 <cyg/libc/string/string.h>
+};
+
+cdl_option CYGBLD_ISO_STRING_MEMFUNCS_HEADER {
+    inferred_value 1 <cyg/libc/string/string.h>
+};
+
+cdl_option CYGBLD_ISO_STRING_STRFUNCS_HEADER {
+    inferred_value 1 <cyg/libc/string/string.h>
+};
+
+cdl_option CYGBLD_ISO_POSIX_TIMER_TYPES_HEADER {
+    inferred_value 1 <cyg/posix/time.h>
+};
+
+cdl_option CYGBLD_ISO_C_TIME_TYPES_HEADER {
+    inferred_value 1 <cyg/libc/time/time.h>
+};
+
+cdl_option CYGBLD_ISO_POSIX_TIMERS_HEADER {
+    inferred_value 1 <cyg/posix/time.h>
+};
+
+cdl_option CYGBLD_ISO_C_CLOCK_FUNCS_HEADER {
+    inferred_value 1 <cyg/libc/time/time.h>
+};
+
+cdl_option CYGBLD_ISO_SIGNAL_NUMBERS_HEADER {
+    inferred_value 1 <cyg/posix/signal.h>
+};
+
+cdl_option CYGBLD_ISO_SIGNAL_IMPL_HEADER {
+    inferred_value 1 <cyg/posix/signal.h>
+};
+
+cdl_option CYGBLD_ISO_SETJMP_HEADER {
+    inferred_value 1 <cyg/libc/setjmp/setjmp.h>
+};
+
+cdl_option CYGBLD_ISO_DIRENT_HEADER {
+    inferred_value 1 <cyg/fileio/dirent.h>
+};
+
+cdl_option CYGBLD_ISO_PTHREADTYPES_HEADER {
+    inferred_value 1 <cyg/posix/types.h>
+};
+
+cdl_option CYGBLD_ISO_BSDTYPES_HEADER {
+    inferred_value 1 <sys/bsdtypes.h>
+};
+
+cdl_option CYGBLD_ISO_UTSNAME_HEADER {
+    inferred_value 1 <cyg/posix/utsname.h>
+};
+
+cdl_option CYGBLD_ISO_SEMAPHORES_HEADER {
+    inferred_value 1 <cyg/posix/semaphore.h>
+};
+
+cdl_option CYGBLD_ISO_PTHREAD_IMPL_HEADER {
+    inferred_value 1 <cyg/posix/pthread.h>
+};
+
+cdl_option CYGBLD_ISO_POSIX_LIMITS_HEADER {
+    inferred_value 1 <cyg/posix/limits.h>
+};
+
+cdl_option CYGIMP_KERNEL_SCHED_SORTED_QUEUES {
+    inferred_value 1
+};
+
+cdl_option CYGSEM_KERNEL_SCHED_TIMESLICE_ENABLE {
+    inferred_value 1
+};
+
+cdl_component CYGSEM_KERNEL_SCHED_ASR_SUPPORT {
+    inferred_value 1
+};
+
+cdl_option CYGSEM_KERNEL_SCHED_ASR_GLOBAL {
+    inferred_value 1
+};
+
+cdl_option CYGBLD_ISO_STDIO_STREAMS_HEADER {
+    inferred_value 1 <cyg/libc/stdio/stdio.h>
+};
+
+cdl_option CYGBLD_ISO_SIGSETJMP_HEADER {
+    inferred_value 1 <cyg/posix/sigsetjmp.h>
+};
+
+cdl_option CYGBLD_ISO_OPEN_MAX_HEADER {
+    inferred_value 1 <cyg/fileio/limits.h>
+};
+
+cdl_option CYGBLD_ISO_PMUTEXTYPES_HEADER {
+    inferred_value 1 <cyg/posix/muttypes.h>
+};
+
+cdl_option CYGBLD_ISO_STRING_BSD_FUNCS_HEADER {
+    inferred_value 1 <cyg/libc/string/bsdstring.h>
+};
+
+cdl_option CYGBLD_ISO_POSIX_CLOCK_TYPES_HEADER {
+    inferred_value 1 <cyg/posix/time.h>
+};
+
+cdl_option CYGBLD_ISO_POSIX_CLOCKS_HEADER {
+    inferred_value 1 <cyg/posix/time.h>
+};
+
+cdl_option CYGBLD_ISO_PTHREAD_MUTEX_HEADER {
+    inferred_value 1 <cyg/posix/mutex.h>
+};
+
+cdl_option CYGBLD_ISO_NAME_MAX_HEADER {
+    inferred_value 1 <cyg/fileio/limits.h>
+};
+
+cdl_option CYGBLD_ISO_NETDB_PROTO_HEADER {
+    inferred_value 1 <net/netdb.h>
+};
+
+cdl_option CYGBLD_ISO_NETDB_SERV_HEADER {
+    inferred_value 1 <net/netdb.h>
+};
+
+cdl_component CYGPKG_KERNEL_THREADS_DESTRUCTORS {
+    inferred_value 1
+};
+
Index: templates/posix/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/templates/posix/ChangeLog,v
retrieving revision 1.6
diff -u -5 -p -r1.6 ChangeLog
--- templates/posix/ChangeLog	23 May 2002 23:08:48 -0000	1.6
+++ templates/posix/ChangeLog	14 Feb 2003 18:22:09 -0000
@@ -1,5 +1,9 @@
+2003-02-14  Jonathan Larmour  <jifl@eCosCentric.com>
+
+	* current.ect: Update inferred values.
+
 2001-11-27  Jonathan Larmour  <jlarmour@redhat.com>
 
 	 current.ect: Provide default for CYGBLD_ISO_STRING_BSD_FUNCS_HEADER
 
 2001-08-21  Jonathan Larmour  <jlarmour@redhat.com>
Index: templates/posix/current.ect
===================================================================
RCS file: /cvs/ecos/ecos/packages/templates/posix/current.ect,v
retrieving revision 1.4
diff -u -5 -p -r1.4 current.ect
--- templates/posix/current.ect	30 Nov 2001 13:09:30 -0000	1.4
+++ templates/posix/current.ect	14 Feb 2003 18:22:09 -0000
@@ -125,5 +125,25 @@ cdl_option CYGBLD_ISO_PMUTEXTYPES_HEADER
 };
 
 cdl_option CYGBLD_ISO_STRING_BSD_FUNCS_HEADER {
     inferred_value 1 <cyg/libc/string/bsdstring.h>
 };
+
+cdl_option CYGBLD_ISO_POSIX_CLOCK_TYPES_HEADER {
+    inferred_value 1 <cyg/posix/time.h>
+};
+
+cdl_option CYGBLD_ISO_POSIX_CLOCKS_HEADER {
+    inferred_value 1 <cyg/posix/time.h>
+};
+
+cdl_option CYGBLD_ISO_PTHREAD_MUTEX_HEADER {
+    inferred_value 1 <cyg/posix/mutex.h>
+};
+
+cdl_option CYGBLD_ISO_NAME_MAX_HEADER {
+    inferred_value 1 <cyg/fileio/limits.h>
+};
+
+cdl_option CYGFUN_LIBC_STRING_BSD_FUNCS {
+    inferred_value 0
+};
Index: templates/redboot/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/templates/redboot/ChangeLog,v
retrieving revision 1.10
diff -u -5 -p -r1.10 ChangeLog
--- templates/redboot/ChangeLog	12 Aug 2002 07:56:00 -0000	1.10
+++ templates/redboot/ChangeLog	14 Feb 2003 18:22:09 -0000
@@ -1,5 +1,9 @@
+2003-02-14  Jonathan Larmour  <jifl@eCosCentric.com>
+
+	* current.ect: Update inferred values.
+
 2002-08-09  Andrew Lunn  <andrew.lunn@ascom.ch>
 
 	* current.ect: Added CYGPKG_CRC
 
 2001-11-27  Jonathan Larmour  <jlarmour@redhat.com>
Index: templates/redboot/current.ect
===================================================================
RCS file: /cvs/ecos/ecos/packages/templates/redboot/current.ect,v
retrieving revision 1.9
diff -u -5 -p -r1.9 current.ect
--- templates/redboot/current.ect	12 Aug 2002 07:56:00 -0000	1.9
+++ templates/redboot/current.ect	14 Feb 2003 18:22:09 -0000
@@ -52,5 +52,21 @@ cdl_option CYGBLD_ISO_DNS_HEADER {
 };
 
 cdl_option CYGBLD_ISO_STRING_BSD_FUNCS_HEADER {
     inferred_value 1 <cyg/libc/string/bsdstring.h>
 };
+
+cdl_option CYGDBG_HAL_COMMON_CONTEXT_SAVE_MINIMUM {
+    inferred_value 0
+};
+
+cdl_option CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS {
+    inferred_value 1
+};
+
+cdl_option CYGPKG_NS_DNS_BUILD {
+    inferred_value 0
+};
+
+cdl_option CYGFUN_LIBC_STRING_BSD_FUNCS {
+    inferred_value 0
+};
Index: templates/stubs/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/templates/stubs/ChangeLog,v
retrieving revision 1.6
diff -u -5 -p -r1.6 ChangeLog
--- templates/stubs/ChangeLog	23 May 2002 23:08:48 -0000	1.6
+++ templates/stubs/ChangeLog	14 Feb 2003 18:22:09 -0000
@@ -1,5 +1,9 @@
+2003-02-14  Jonathan Larmour  <jifl@eCosCentric.com>
+
+	* current.ect: Update inferred values.
+
 2002-03-13  Jesper Skov  <jskov@redhat.com>
 
 	* current.ect: Fix _GDB_STUBS option name.
 
 2000-11-03  Jonathan Larmour  <jlarmour@redhat.com>
Index: templates/stubs/current.ect
===================================================================
RCS file: /cvs/ecos/ecos/packages/templates/stubs/current.ect,v
retrieving revision 1.5
diff -u -5 -p -r1.5 current.ect
--- templates/stubs/current.ect	20 May 2002 22:25:56 -0000	1.5
+++ templates/stubs/current.ect	14 Feb 2003 18:22:09 -0000
@@ -36,5 +36,8 @@ cdl_option CYGBLD_ISO_STRERROR_HEADER {
 
 cdl_option CYGSEM_ERROR_PER_THREAD_ERRNO {
     inferred_value 0
 };
 
+cdl_option CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS {
+    inferred_value 1
+};
Index: net/bsd_tcpip/current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos-opt/net/net/bsd_tcpip/current/ChangeLog,v
retrieving revision 1.14
diff -u -5 -p -r1.14 ChangeLog
--- net/bsd_tcpip/current/ChangeLog	12 Feb 2003 15:29:52 -0000	1.14
+++ net/bsd_tcpip/current/ChangeLog	14 Feb 2003 18:22:09 -0000
@@ -1,5 +1,9 @@
+2003-02-14  Jonathan Larmour  <jifl@eCosCentric.com>
+
+	* doc/freebsd.sgml: new_net template is now just "net".
+
 2003-02-12  Jani Monoses  <jani@iv.ro>
 
 	* src/sys/kern/sockio.c: bsd_getinfo/bsd_setinfo should have
 	void * args. Silences warnings.
 	* src/sys/kern/uipc_socket.c (sopoll): Use __FUNCTION__ correctly
Index: net/bsd_tcpip/current/doc/freebsd.sgml
===================================================================
RCS file: /cvs/ecos/ecos-opt/net/net/bsd_tcpip/current/doc/freebsd.sgml,v
retrieving revision 1.2
diff -u -5 -p -r1.2 freebsd.sgml
--- net/bsd_tcpip/current/doc/freebsd.sgml	15 Sep 2002 21:43:04 -0000	1.2
+++ net/bsd_tcpip/current/doc/freebsd.sgml	14 Feb 2003 18:22:09 -0000
@@ -91,11 +91,11 @@ add the packages &ldquo;Networking&rdquo
 and &ldquo;Common Ethernet Support&rdquo;
 to your configuration.  Their package names
 are CYGPKG_NET, CYGPKG_NET_FREEBSD_STACK and CYGPKG_NET_ETH_DRIVERS
 respectively.</PARA>
 <para>A short-cut way to do this is by
-using the &ldquo;new_net&rdquo; <emphasis>template</emphasis>
+using the &ldquo;net&rdquo; <emphasis>template</emphasis>
 if it is available for your platform.</para>
 <PARA>The platform-specific ethernet device driver for your platform
 will be added as part of the target selection (in the
 <EMPHASIS>Build-&gt;Templates</EMPHASIS> &ldquo;Hardware&rdquo; item),
 along with the 
Index: net/snmp/agent/current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos-opt/snmp/agent/current/ChangeLog,v
retrieving revision 1.22
diff -u -5 -p -r1.22 ChangeLog
--- net/snmp/agent/current/ChangeLog	5 Feb 2003 13:56:07 -0000	1.22
+++ net/snmp/agent/current/ChangeLog	14 Feb 2003 18:22:10 -0000
@@ -1,5 +1,13 @@
+2003-02-14  Jonathan Larmour  <jifl@eCosCentric.com>
+
+	* cdl/snmpagent.cdl: Explicitly require OpenBSD stack since we don't
+	work with the FreeBSD stack yet.
+
+	* doc/snmp.sgml: Document configuring packages better, and only use
+	of OpenBSD stack.
+
 2003-02-05  Jonathan Larmour  <jifl@eCosCentric.com>
 
 	* doc/snmp.sgml: Fix a doc build failure, and tweak some duff links and
 	a few typos.
 
Index: net/snmp/agent/current/cdl/snmpagent.cdl
===================================================================
RCS file: /cvs/ecos/ecos-opt/snmp/agent/current/cdl/snmpagent.cdl,v
retrieving revision 1.7
diff -u -5 -p -r1.7 snmpagent.cdl
--- net/snmp/agent/current/cdl/snmpagent.cdl	3 Feb 2003 16:34:44 -0000	1.7
+++ net/snmp/agent/current/cdl/snmpagent.cdl	14 Feb 2003 18:22:10 -0000
@@ -61,10 +61,12 @@ cdl_package CYGPKG_SNMPAGENT {
     requires      { 0 != CYGINT_ISO_STRING_STRFUNCS }
     requires      { 0 != CYGINT_ISO_MALLOC }
     requires      { 0 != CYGINT_ISO_ERRNO }
     requires      { 0 != CYGINT_ISO_ERRNO_CODES }
     requires      CYGPKG_NET
+# For now we only work with the OpenBSD stack, not FreeBSD
+    requires      CYGPKG_NET_OPENBSD_STACK
     requires      CYGPKG_SNMPLIB
     description   "SNMP agent based on the UCD-SNMP project."
 
     compile					\
 		agent_read_config.c		\
Index: net/snmp/agent/current/doc/snmp.sgml
===================================================================
RCS file: /cvs/ecos/ecos-opt/snmp/agent/current/doc/snmp.sgml,v
retrieving revision 1.4
diff -u -5 -p -r1.4 snmp.sgml
--- net/snmp/agent/current/doc/snmp.sgml	5 Feb 2003 13:56:07 -0000	1.4
+++ net/snmp/agent/current/doc/snmp.sgml	14 Feb 2003 18:22:10 -0000
@@ -242,11 +242,33 @@ again.
 </PARA>
 </SECT1>
 <SECT1 id="net-snmp-configuring-ecos">
 <TITLE>Configuring eCos</TITLE>
 <PARA>
-Apart from adding the networking, common ethernet device drivers,
+To use the SNMP agent, the SNMP library and agent packages must
+be included in your configuration. In addition, at this point, the SNMP
+stack only works with the OpenBSD-based TCP/IP stack, not the FreeBSD-based
+stack. The "old_net" template can be used as a starting point for using
+the OpenBSD-based TCP/IP stack, for example:
+<SCREEN>
+$ <USERINPUT>ecosconfig new mytarget old_net</USERINPUT>
+</SCREEN>
+or you can add the various required packages to an existing configuration with:
+<SCREEN>
+$ <USERINPUT>ecosconfig add net openbsd_net eth_drivers</USERINPUT>
+</SCREEN>
+</PARA>
+<PARA>
+To incorporate the stack into your configuration select the SNMP library
+and SNMP agent packages in the eCos Configuration Tool, or at the command
+line type:
+<SCREEN>
+$ <USERINPUT>ecosconfig add snmplib snmpagent</USERINPUT>
+</SCREEN>
+</PARA>
+<PARA>
+After adding the networking, common ethernet device drivers,
 snmp library and snmp agent packages, there is no configuration
 required. However there are a number of configuration options
 that can be set such as some details for the System MIB, and
 disabling SNMPv3 support (see below).
 </PARA>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]