public inbox for ecos-patches@sourceware.org
 help / color / mirror / Atom feed
* Serial loop driver testing component
@ 2009-10-09 16:11 John Dallaway
  2009-10-18  8:35 ` John Dallaway
  0 siblings, 1 reply; 2+ messages in thread
From: John Dallaway @ 2009-10-09 16:11 UTC (permalink / raw)
  To: eCos Patches List

[-- Attachment #1: Type: text/plain, Size: 355 bytes --]

The CDL script of the serial loop driver package defines
CYGPRI_SER_TEST_SER_DEV which prevents the package being loaded
alongside serial hardware driver packages (naming clash). It seems that
that the typical CYGPKG_IO_SERIAL_*_TESTING component is not really
applicable to the serial loop driver package. This patch removes it.
Comments?

John Dallaway

[-- Attachment #2: loop-091009.patch --]
[-- Type: text/x-patch, Size: 3643 bytes --]

Index: devs/serial/loop/current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/devs/serial/loop/current/ChangeLog,v
retrieving revision 1.7
diff -U5 -r1.7 ChangeLog
--- devs/serial/loop/current/ChangeLog	29 Jan 2009 17:48:40 -0000	1.7
+++ devs/serial/loop/current/ChangeLog	9 Oct 2009 15:51:35 -0000
@@ -1,5 +1,11 @@
+2009-10-09  John Dallaway  <john@dallaway.org.uk>
+
+	* cdl/ser_loop.cdl: Remove irrelevant testing parameters which
+	prevent the loading of this package in the presence of other serial
+	device drivers.
+
 2003-02-24  Jonathan Larmour  <jifl@eCosCentric.com>
 
 	* cdl/ser_loop.cdl: Remove irrelevant doc link.
 
 2001-09-10  Jonathan Larmour  <jlarmour@redhat.com>
@@ -24,11 +30,11 @@
 
 //===========================================================================
 // ####GPLCOPYRIGHTBEGIN####                                                
 // -------------------------------------------                              
 // This file is part of eCos, the Embedded Configurable Operating System.   
-// Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2009 Free Software Foundation, Inc.
 //
 // This program 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.                                                           
Index: devs/serial/loop/current/cdl/ser_loop.cdl
===================================================================
RCS file: /cvs/ecos/ecos/packages/devs/serial/loop/current/cdl/ser_loop.cdl,v
retrieving revision 1.7
diff -U5 -r1.7 ser_loop.cdl
--- devs/serial/loop/current/cdl/ser_loop.cdl	29 Jan 2009 17:48:40 -0000	1.7
+++ devs/serial/loop/current/cdl/ser_loop.cdl	9 Oct 2009 15:51:35 -0000
@@ -6,11 +6,11 @@
 #
 # ====================================================================
 ## ####ECOSGPLCOPYRIGHTBEGIN####                                            
 ## -------------------------------------------                              
 ## This file is part of eCos, the Embedded Configurable Operating System.   
-## Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+## Copyright (C) 1998, 1999, 2000, 2001, 2002, 2009 Free Software Foundation, 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.                                                                 
@@ -181,26 +181,8 @@
                 This option modifies the set of compiler flags for
                 building these serial device drivers. These flags are
                 removed from the set of global flags if present."
         }
     }
-
-    cdl_component CYGPKG_IO_SERIAL_LOOP_TESTING {
-        display    "Testing parameters"
-        flavor     bool
-        calculated 1
-        active_if  CYGPKG_IO_SERIAL_LOOP_SERIAL0
-
-        cdl_option CYGPRI_SER_TEST_SER_DEV {
-            display       "Serial device used for testing"
-            flavor        data
-            default_value { CYGDAT_IO_SERIAL_LOOP_SERIAL1_NAME }
-        }
-
-        define_proc {
-            puts $::cdl_header "#define CYGPRI_SER_TEST_CRASH_ID \"loop\""
-            puts $::cdl_header "#define CYGPRI_SER_TEST_TTY_DEV  \"/dev/tty0\""
-        }
-    }
 }
 
 # EOF ser_loop.cdl

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Serial loop driver testing component
  2009-10-09 16:11 Serial loop driver testing component John Dallaway
@ 2009-10-18  8:35 ` John Dallaway
  0 siblings, 0 replies; 2+ messages in thread
From: John Dallaway @ 2009-10-18  8:35 UTC (permalink / raw)
  To: eCos Patches List

John Dallaway wrote:

> The CDL script of the serial loop driver package defines
> CYGPRI_SER_TEST_SER_DEV which prevents the package being loaded
> alongside serial hardware driver packages (naming clash). It seems that
> that the typical CYGPKG_IO_SERIAL_*_TESTING component is not really
> applicable to the serial loop driver package. This patch removes it.

Now checked-in.

John Dallaway

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-10-18  8:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-09 16:11 Serial loop driver testing component John Dallaway
2009-10-18  8:35 ` John Dallaway

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).