? testsuites/samples/fileio/.system.h.swp
Index: testsuites/samples/fileio/system.h
===================================================================
RCS file: /usr1/CVS/rtems/testsuites/samples/fileio/system.h,v
retrieving revision 1.11
diff -u -r1.11 system.h
--- testsuites/samples/fileio/system.h	29 Jan 2008 21:53:15 -0000	1.11
+++ testsuites/samples/fileio/system.h	23 Nov 2010 18:29:33 -0000
@@ -32,6 +32,7 @@
 #include <libchip/ide_ctrl.h> /* for general ide driver prototype */
 #endif
 
+#include <bsp/tty_drv.h>
 #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
 #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
 #ifdef RTEMS_BSP_HAS_IDE_DRIVER
@@ -39,6 +40,8 @@
 #endif
 #define CONFIGURE_APPLICATION_NEEDS_LIBBLOCK
 #define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
+#define CONFIGURE_APPLICATION_EXTRA_DRIVERS \
+  TTY1_DRIVER_TABLE_ENTRY, TTY2_DRIVER_TABLE_ENTRY
 
 /*
  * XXX: these values are higher than needed...
Index: c/src/lib/libbsp/i386/pc386/Makefile.am
===================================================================
RCS file: /usr1/CVS/rtems/c/src/lib/libbsp/i386/pc386/Makefile.am,v
retrieving revision 1.41.2.1
diff -u -r1.41.2.1 Makefile.am
--- c/src/lib/libbsp/i386/pc386/Makefile.am	24 Sep 2008 07:32:19 -0000	1.41.2.1
+++ c/src/lib/libbsp/i386/pc386/Makefile.am	23 Nov 2010 18:29:33 -0000
@@ -26,7 +26,7 @@
 
 include_bspdir = $(includedir)/bsp
 include_bsp_HEADERS = ../../i386/shared/irq/irq.h \
-    ../../i386/shared/irq/irq_asm.h
+    ../../i386/shared/irq/irq_asm.h ../../i386/shared/comm/tty_drv.h
 
 include_HEADERS += include/crt.h
 nodist_include_HEADERS += ../../shared/include/coverhd.h
Index: c/src/lib/libbsp/i386/pc386/preinstall.am
===================================================================
RCS file: /usr1/CVS/rtems/c/src/lib/libbsp/i386/pc386/preinstall.am,v
retrieving revision 1.4
diff -u -r1.4 preinstall.am
--- c/src/lib/libbsp/i386/pc386/preinstall.am	8 Jan 2007 08:43:26 -0000	1.4
+++ c/src/lib/libbsp/i386/pc386/preinstall.am	23 Nov 2010 18:29:33 -0000
@@ -57,6 +57,10 @@
 	$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/irq_asm.h
 PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/irq_asm.h
 
+$(PROJECT_INCLUDE)/bsp/tty_drv.h: ../../i386/shared/comm/tty_drv.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
+	$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/tty_drv.h
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/tty_drv.h
+
 $(PROJECT_INCLUDE)/crt.h: include/crt.h $(PROJECT_INCLUDE)/$(dirstamp)
 	$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/crt.h
 PREINSTALL_FILES += $(PROJECT_INCLUDE)/crt.h
