change log for rtems (2011-02-17)

rtems-vc at rtems.org rtems-vc at rtems.org
Thu Feb 17 16:10:28 UTC 2011


 *joel*:
2011-02-17	Joel Sherrill <joel.sherrill at oarcorp.com>

	* pppd/system.h: Use confdefs.h to generate device driver table.

M  1.185  testsuites/samples/ChangeLog
M    1.7  testsuites/samples/pppd/system.h

diff -u rtems/testsuites/samples/ChangeLog:1.184 rtems/testsuites/samples/ChangeLog:1.185
--- rtems/testsuites/samples/ChangeLog:1.184	Thu Feb 17 01:17:04 2011
+++ rtems/testsuites/samples/ChangeLog	Thu Feb 17 09:21:39 2011
@@ -1,3 +1,7 @@
+2011-02-17	Joel Sherrill <joel.sherrill at oarcorp.com>
+
+	* pppd/system.h: Use confdefs.h to generate device driver table.
+
 2011-02-17	Sebastian Huber <Sebastian.Huber at embedded-brains.de>
 
 	* pppd/system.h: Added missing include files.

diff -u rtems/testsuites/samples/pppd/system.h:1.6 rtems/testsuites/samples/pppd/system.h:1.7
--- rtems/testsuites/samples/pppd/system.h:1.6	Thu Feb 17 01:17:04 2011
+++ rtems/testsuites/samples/pppd/system.h	Thu Feb 17 09:21:40 2011
@@ -11,21 +11,19 @@
 
 #include <bsp.h>
 
-#define CONFIGURE_HAS_OWN_DEVICE_DRIVER_TABLE
-#ifdef CONFIGURE_INIT
-rtems_driver_address_table Device_drivers[5] = {
-  CONSOLE_DRIVER_TABLE_ENTRY,
-  CLOCK_DRIVER_TABLE_ENTRY,
-#if defined(TTY1_DRIVER_TABLE_ENTRY)
-  TTY1_DRIVER_TABLE_ENTRY,
-#endif
-#if defined(TTY2_DRIVER_TABLE_ENTRY)
-  TTY2_DRIVER_TABLE_ENTRY,
+#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
+#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
+
+#ifndef TTY1_DRIVER_TABLE_ENTRY
+  #define TTY1_DRIVER_TABLE_ENTRY NULL_DRIVER_TABLE_ENTRY
 #endif
-  {NULL, NULL, NULL, NULL, NULL, NULL}
-};
+#ifndef TTY2_DRIVER_TABLE_ENTRY
+  #define TTY2_DRIVER_TABLE_ENTRY NULL_DRIVER_TABLE_ENTRY
 #endif
 
+#define CONFIGURE_APPLICATION_EXTRA_DRIVERS \
+   { TTY1_DRIVER_TABLE_ENTRY, TTY2_DRIVER_TABLE_ENTRY }
+
 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE
 #define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 8
 



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20110217/f4d43a6f/attachment-0001.html>


More information about the vc mailing list