summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-01-05 13:31:04 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-01-05 13:31:04 +0000
commit98e1de84a33be9839380521b45e9d54dd6d1f9c4 (patch)
treead0d560c7c150f2c4078dd45922b51cf497ef846
parent2001-01-05 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-98e1de84a33be9839380521b45e9d54dd6d1f9c4.tar.bz2
2001-01-05 Joel Sherrill <joel@OARcorp.com>
* /dev/null moved to libmisc. * Makefile.am, configure.in: Removed null directory. * include/Makefile.am: Removed null.h. * include/null.h, null/.cvsignore, null/Makefile.am, null/close.c, null/cntrl.c, null/init.c, null/open.c, null/read.c, null/write.c: Removed.
-rw-r--r--c/src/lib/libcpu/sh/sh7032/ChangeLog9
-rw-r--r--c/src/lib/libcpu/sh/sh7032/Makefile.am2
-rw-r--r--c/src/lib/libcpu/sh/sh7032/configure.in1
-rw-r--r--c/src/lib/libcpu/sh/sh7032/include/Makefile.am4
-rw-r--r--c/src/lib/libcpu/sh/sh7032/include/null.h71
-rw-r--r--c/src/lib/libcpu/sh/sh7032/null/.cvsignore2
-rw-r--r--c/src/lib/libcpu/sh/sh7032/null/Makefile.am31
-rw-r--r--c/src/lib/libcpu/sh/sh7032/null/close.c37
-rw-r--r--c/src/lib/libcpu/sh/sh7032/null/cntrl.c37
-rw-r--r--c/src/lib/libcpu/sh/sh7032/null/init.c52
-rw-r--r--c/src/lib/libcpu/sh/sh7032/null/open.c37
-rw-r--r--c/src/lib/libcpu/sh/sh7032/null/read.c37
-rw-r--r--c/src/lib/libcpu/sh/sh7032/null/write.c43
-rw-r--r--c/src/lib/libcpu/sh/sh7045/ChangeLog9
-rw-r--r--c/src/lib/libcpu/sh/sh7045/Makefile.am2
-rw-r--r--c/src/lib/libcpu/sh/sh7045/configure.in1
-rw-r--r--c/src/lib/libcpu/sh/sh7045/include/Makefile.am4
-rw-r--r--c/src/lib/libcpu/sh/sh7045/include/null.h72
-rw-r--r--c/src/lib/libcpu/sh/sh7045/null/.cvsignore2
-rw-r--r--c/src/lib/libcpu/sh/sh7045/null/Makefile.am31
-rw-r--r--c/src/lib/libcpu/sh/sh7045/null/close.c38
-rw-r--r--c/src/lib/libcpu/sh/sh7045/null/cntrl.c38
-rw-r--r--c/src/lib/libcpu/sh/sh7045/null/init.c53
-rw-r--r--c/src/lib/libcpu/sh/sh7045/null/open.c38
-rw-r--r--c/src/lib/libcpu/sh/sh7045/null/read.c38
-rw-r--r--c/src/lib/libcpu/sh/sh7045/null/write.c44
26 files changed, 24 insertions, 709 deletions
diff --git a/c/src/lib/libcpu/sh/sh7032/ChangeLog b/c/src/lib/libcpu/sh/sh7032/ChangeLog
index 8b7ee7a291..4325d99e78 100644
--- a/c/src/lib/libcpu/sh/sh7032/ChangeLog
+++ b/c/src/lib/libcpu/sh/sh7032/ChangeLog
@@ -1,3 +1,12 @@
+2001-01-05 Joel Sherrill <joel@OARcorp.com>
+
+ * /dev/null moved to libmisc.
+ * Makefile.am, configure.in: Removed null directory.
+ * include/Makefile.am: Removed null.h.
+ * include/null.h, null/.cvsignore, null/Makefile.am, null/close.c,
+ null/cntrl.c, null/init.c, null/open.c, null/read.c, null/write.c:
+ Removed.
+
2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
diff --git a/c/src/lib/libcpu/sh/sh7032/Makefile.am b/c/src/lib/libcpu/sh/sh7032/Makefile.am
index b7292dbaf1..26302b0563 100644
--- a/c/src/lib/libcpu/sh/sh7032/Makefile.am
+++ b/c/src/lib/libcpu/sh/sh7032/Makefile.am
@@ -5,7 +5,7 @@
AUTOMAKE_OPTIONS = foreign 1.4
ACLOCAL_AMFLAGS = -I ../../../../../../aclocal
-SUBDIRS = include score clock timer null sci delay
+SUBDIRS = include score clock timer sci delay
include $(top_srcdir)/../../../../../../automake/subdirs.am
include $(top_srcdir)/../../../../../../automake/local.am
diff --git a/c/src/lib/libcpu/sh/sh7032/configure.in b/c/src/lib/libcpu/sh/sh7032/configure.in
index af39508c83..d2bdaa000d 100644
--- a/c/src/lib/libcpu/sh/sh7032/configure.in
+++ b/c/src/lib/libcpu/sh/sh7032/configure.in
@@ -29,7 +29,6 @@ RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
# Explicitly list all Makefiles here
AC_OUTPUT(
Makefile
-null/Makefile
clock/Makefile
delay/Makefile
include/Makefile
diff --git a/c/src/lib/libcpu/sh/sh7032/include/Makefile.am b/c/src/lib/libcpu/sh/sh7032/include/Makefile.am
index d28120ce9f..77cb8b5b59 100644
--- a/c/src/lib/libcpu/sh/sh7032/include/Makefile.am
+++ b/c/src/lib/libcpu/sh/sh7032/include/Makefile.am
@@ -4,7 +4,7 @@
AUTOMAKE_OPTIONS = foreign 1.4
-H_FILES = null.h sci.h sh7_pfc.h sh7_sci.h
+H_FILES = sci.h sh7_pfc.h sh7_sci.h
SCORE_H_FILES = ispsh7032.h iosh7032.h
# NOTE: Unlike other CPUS, we install into a subdirectory to avoid
@@ -25,6 +25,6 @@ TMPINSTALL_FILES += $(PROJECT_INCLUDE)/sh \
all-local: $(TMPINSTALL_FILES)
-EXTRA_DIST = null.h sci.h sh7_pfc.h sh7_sci.h
+EXTRA_DIST = sci.h sh7_pfc.h sh7_sci.h
include $(top_srcdir)/../../../../../../automake/local.am
diff --git a/c/src/lib/libcpu/sh/sh7032/include/null.h b/c/src/lib/libcpu/sh/sh7032/include/null.h
deleted file mode 100644
index 6c8e952d06..0000000000
--- a/c/src/lib/libcpu/sh/sh7032/include/null.h
+++ /dev/null
@@ -1,71 +0,0 @@
-/* null.h
- *
- * Null device driver, derived from rtems' stub driver.
- *
- * Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de)
- *
- * COPYRIGHT (c) 1989-1999.
- * On-Line Applications Research Corporation (OAR).
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.OARcorp.com/rtems/license.html.
- *
- * $Id$
- */
-
-#ifndef __NULL_DRIVER_h
-#define __NULL_DRIVER_h
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#define DEVNULL_DRIVER_TABLE_ENTRY \
- { null_initialize, null_open, null_close, null_read, \
- null_write, null_control }
-
-#define NULL_SUCCESSFUL RTEMS_SUCCESSFUL
-
-rtems_device_driver null_initialize(
- rtems_device_major_number,
- rtems_device_minor_number,
- void *
-);
-
-rtems_device_driver null_open(
- rtems_device_major_number,
- rtems_device_minor_number,
- void *
-);
-
-rtems_device_driver null_close(
- rtems_device_major_number,
- rtems_device_minor_number,
- void *
-);
-
-rtems_device_driver null_read(
- rtems_device_major_number,
- rtems_device_minor_number,
- void *
-);
-
-rtems_device_driver null_write(
- rtems_device_major_number,
- rtems_device_minor_number,
- void *
-);
-
-rtems_device_driver null_control(
- rtems_device_major_number,
- rtems_device_minor_number,
- void *
-);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
diff --git a/c/src/lib/libcpu/sh/sh7032/null/.cvsignore b/c/src/lib/libcpu/sh/sh7032/null/.cvsignore
deleted file mode 100644
index 282522db03..0000000000
--- a/c/src/lib/libcpu/sh/sh7032/null/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-Makefile
-Makefile.in
diff --git a/c/src/lib/libcpu/sh/sh7032/null/Makefile.am b/c/src/lib/libcpu/sh/sh7032/null/Makefile.am
deleted file mode 100644
index 5850d9786c..0000000000
--- a/c/src/lib/libcpu/sh/sh7032/null/Makefile.am
+++ /dev/null
@@ -1,31 +0,0 @@
-##
-## $Id$
-##
-
-AUTOMAKE_OPTIONS = foreign 1.4
-
-PGM = $(ARCH)/null.rel
-
-C_FILES = open.c close.c read.c write.c init.c cntrl.c
-C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
-
-OBJS = $(C_O_FILES)
-
-include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
-include $(top_srcdir)/../../../../../../automake/compile.am
-include $(top_srcdir)/../../../../../../automake/lib.am
-
-#
-# (OPTIONAL) Add local stuff here using +=
-#
-
-$(PGM): $(OBJS)
- $(make-rel)
-
-all-local: $(ARCH) $(OBJS) $(PGM)
-
-.PRECIOUS: $(PGM)
-
-EXTRA_DIST = close.c cntrl.c init.c open.c read.c write.c
-
-include $(top_srcdir)/../../../../../../automake/local.am
diff --git a/c/src/lib/libcpu/sh/sh7032/null/close.c b/c/src/lib/libcpu/sh/sh7032/null/close.c
deleted file mode 100644
index 49ec126008..0000000000
--- a/c/src/lib/libcpu/sh/sh7032/null/close.c
+++ /dev/null
@@ -1,37 +0,0 @@
-/* null_close
- *
- * This routine is the null device driver close routine.
- *
- * Derived from rtems' stub driver.
- *
- * Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de)
- *
- * Input parameters:
- * major - device major number
- * minor - device minor number
- * pargb - pointer to close parameter block
- *
- * Output parameters:
- * rval - NULL_SUCCESSFUL
- *
- * COPYRIGHT (c) 1989-1999.
- * On-Line Applications Research Corporation (OAR).
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.OARcorp.com/rtems/license.html.
- *
- * $Id$
- */
-
-#include <rtems.h>
-#include <sh/null.h>
-
-rtems_device_driver null_close(
- rtems_device_major_number major,
- rtems_device_minor_number minor,
- void *pargp
-)
-{
- return NULL_SUCCESSFUL;
-}
diff --git a/c/src/lib/libcpu/sh/sh7032/null/cntrl.c b/c/src/lib/libcpu/sh/sh7032/null/cntrl.c
deleted file mode 100644
index 308685523e..0000000000
--- a/c/src/lib/libcpu/sh/sh7032/null/cntrl.c
+++ /dev/null
@@ -1,37 +0,0 @@
-/* null_control
- *
- * This routine is the null device driver control routine.
- *
- * Derived from rtems' stub driver.
- *
- * Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de)
- *
- * Input parameters:
- * major - device major number
- * minor - device minor number
- * pargp - pointer to cntrl parameter block
- *
- * Output parameters:
- * rval - NULL_SUCCESSFUL
- *
- * COPYRIGHT (c) 1989-1999.
- * On-Line Applications Research Corporation (OAR).
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.OARcorp.com/rtems/license.html.
- *
- * $Id$
- */
-
-#include <rtems.h>
-#include <sh/null.h>
-
-rtems_device_driver null_control(
- rtems_device_major_number major,
- rtems_device_minor_number minor,
- void *pargp
-)
-{
- return NULL_SUCCESSFUL;
-}
diff --git a/c/src/lib/libcpu/sh/sh7032/null/init.c b/c/src/lib/libcpu/sh/sh7032/null/init.c
deleted file mode 100644
index 653430f31c..0000000000
--- a/c/src/lib/libcpu/sh/sh7032/null/init.c
+++ /dev/null
@@ -1,52 +0,0 @@
-/* null_initialize
- *
- * This routine is the null device driver init routine.
- *
- * Derived from rtems' stub driver.
- *
- * Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de)
- *
- * Input parameters:
- * major - device major number
- * minor - device minor number
- * pargp - pointer to parameter block
- *
- * Output parameters:
- * rval - NULL_SUCCESSFUL
- *
- * COPYRIGHT (c) 1989-1999.
- * On-Line Applications Research Corporation (OAR).
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.OARcorp.com/rtems/license.html.
- *
- * $Id$
- */
-
-#include <rtems.h>
-#include <sh/null.h>
-
-rtems_unsigned32 NULL_major;
-
-rtems_device_driver null_initialize(
- rtems_device_major_number major,
- rtems_device_minor_number minor,
- void *pargp
-)
-{
- rtems_device_driver status ;
-
- status = rtems_io_register_name(
- "/dev/null",
- major,
- (rtems_device_minor_number) 0
- );
-
- if (status != RTEMS_SUCCESSFUL)
- rtems_fatal_error_occurred(status);
-
- NULL_major = major;
-
- return RTEMS_SUCCESSFUL;
-}
diff --git a/c/src/lib/libcpu/sh/sh7032/null/open.c b/c/src/lib/libcpu/sh/sh7032/null/open.c
deleted file mode 100644
index 43a9b22667..0000000000
--- a/c/src/lib/libcpu/sh/sh7032/null/open.c
+++ /dev/null
@@ -1,37 +0,0 @@
-/* null_open
- *
- * This routine is the null device driver open routine.
- *
- * Derived from rtems' stub driver.
- *
- * Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de)
- *
- * Input parameters:
- * major - device major number
- * minor - device minor number
- * pargb - pointer to open parameter block
- *
- * Output parameters:
- * rval - NULL_SUCCESSFUL
- *
- * COPYRIGHT (c) 1989-1999.
- * On-Line Applications Research Corporation (OAR).
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.OARcorp.com/rtems/license.html.
- *
- * $Id$
- */
-
-#include <rtems.h>
-#include <sh/null.h>
-
-rtems_device_driver null_open(
- rtems_device_major_number major,
- rtems_device_minor_number minor,
- void *pargp
-)
-{
- return NULL_SUCCESSFUL;
-}
diff --git a/c/src/lib/libcpu/sh/sh7032/null/read.c b/c/src/lib/libcpu/sh/sh7032/null/read.c
deleted file mode 100644
index 4c463b4b49..0000000000
--- a/c/src/lib/libcpu/sh/sh7032/null/read.c
+++ /dev/null
@@ -1,37 +0,0 @@
-/* null_read
- *
- * This routine is the null device driver read routine.
- *
- * Derived from rtems' stub driver.
- *
- * Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de)
- *
- * Input parameters:
- * major - device major number
- * minor - device minor number
- * pargp - pointer to read parameter block
- *
- * Output parameters:
- * rval - NULL_SUCCESSFUL
- *
- * COPYRIGHT (c) 1989-1999.
- * On-Line Applications Research Corporation (OAR).
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.OARcorp.com/rtems/license.html.
- *
- * $Id$
- */
-
-#include <rtems.h>
-#include <sh/null.h>
-
-rtems_device_driver null_read(
- rtems_device_major_number major,
- rtems_device_minor_number minor,
- void *pargp
-)
-{
- return NULL_SUCCESSFUL;
-}
diff --git a/c/src/lib/libcpu/sh/sh7032/null/write.c b/c/src/lib/libcpu/sh/sh7032/null/write.c
deleted file mode 100644
index bdedb5d451..0000000000
--- a/c/src/lib/libcpu/sh/sh7032/null/write.c
+++ /dev/null
@@ -1,43 +0,0 @@
-/* null_write
- *
- * This routine is the null device driver write routine.
- *
- * Derived from rtems' stub driver.
- *
- * Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de)
- *
- * Input parameters:
- * major - device major number
- * minor - device minor number
- * pargp - pointer to write parameter block
- *
- * Output parameters:
- * rval - NULL_SUCCESSFUL
- *
- * COPYRIGHT (c) 1989-1999.
- * On-Line Applications Research Corporation (OAR).
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.OARcorp.com/rtems/license.html.
- *
- * $Id$
- */
-
-#include <rtems.h>
-#include <rtems/libio.h>
-
-#include <sh/null.h>
-
-rtems_device_driver null_write(
- rtems_device_major_number major,
- rtems_device_minor_number minor,
- void *pargp
-)
-{
- rtems_libio_rw_args_t *rw_args = (rtems_libio_rw_args_t *) pargp ;
-
- rw_args->bytes_moved = rw_args->count ;
-
- return NULL_SUCCESSFUL;
-}
diff --git a/c/src/lib/libcpu/sh/sh7045/ChangeLog b/c/src/lib/libcpu/sh/sh7045/ChangeLog
index 5be208b5ab..3ad6d6c5c2 100644
--- a/c/src/lib/libcpu/sh/sh7045/ChangeLog
+++ b/c/src/lib/libcpu/sh/sh7045/ChangeLog
@@ -1,3 +1,12 @@
+2001-01-05 Joel Sherrill <joel@OARcorp.com>
+
+ * /dev/null moved to libmisc.
+ * Makefile.am, configure.in: Removed null directory.
+ * include/Makefile.am: Removed null.h.
+ * include/null.h, null/.cvsignore, null/Makefile.am, null/close.c,
+ null/cntrl.c, null/init.c, null/open.c, null/read.c, null/write.c:
+ Removed.
+
2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
diff --git a/c/src/lib/libcpu/sh/sh7045/Makefile.am b/c/src/lib/libcpu/sh/sh7045/Makefile.am
index 4aed3cf187..e2790d1af5 100644
--- a/c/src/lib/libcpu/sh/sh7045/Makefile.am
+++ b/c/src/lib/libcpu/sh/sh7045/Makefile.am
@@ -5,7 +5,7 @@
AUTOMAKE_OPTIONS = foreign 1.4
ACLOCAL_AMFLAGS = -I ../../../../../../aclocal
-SUBDIRS = include score clock sci timer null
+SUBDIRS = include score clock sci timer
include $(top_srcdir)/../../../../../../automake/subdirs.am
include $(top_srcdir)/../../../../../../automake/local.am
diff --git a/c/src/lib/libcpu/sh/sh7045/configure.in b/c/src/lib/libcpu/sh/sh7045/configure.in
index 604255d64f..6b789b416a 100644
--- a/c/src/lib/libcpu/sh/sh7045/configure.in
+++ b/c/src/lib/libcpu/sh/sh7045/configure.in
@@ -32,6 +32,5 @@ Makefile
clock/Makefile
include/Makefile
score/Makefile
-null/Makefile
sci/Makefile
timer/Makefile)
diff --git a/c/src/lib/libcpu/sh/sh7045/include/Makefile.am b/c/src/lib/libcpu/sh/sh7045/include/Makefile.am
index 4a311c6547..77ab9d9210 100644
--- a/c/src/lib/libcpu/sh/sh7045/include/Makefile.am
+++ b/c/src/lib/libcpu/sh/sh7045/include/Makefile.am
@@ -4,7 +4,7 @@
AUTOMAKE_OPTIONS = foreign 1.4
-H_FILES = io_types.h null.h sci.h sh7_pfc.h sh7_sci.h
+H_FILES = io_types.h sci.h sh7_pfc.h sh7_sci.h
SCORE_H_FILES = ispsh7045.h iosh7045.h
# NOTE: Unlike other CPUS, we install into a subdirectory to avoid
@@ -25,6 +25,6 @@ TMPINSTALL_FILES += $(PROJECT_INCLUDE)/sh \
all-local: $(TMPINSTALL_FILES)
-EXTRA_DIST = io_types.h null.h sci.h sh7_pfc.h sh7_sci.h
+EXTRA_DIST = io_types.h sci.h sh7_pfc.h sh7_sci.h
include $(top_srcdir)/../../../../../../automake/local.am
diff --git a/c/src/lib/libcpu/sh/sh7045/include/null.h b/c/src/lib/libcpu/sh/sh7045/include/null.h
deleted file mode 100644
index 9ce4886c14..0000000000
--- a/c/src/lib/libcpu/sh/sh7045/include/null.h
+++ /dev/null
@@ -1,72 +0,0 @@
-/* null.h
- *
- * Null device driver, derived from rtems' stub driver.
- *
- * Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de)
- *
- * COPYRIGHT (c) 1989-1998.
- * On-Line Applications Research Corporation (OAR).
- * Copyright assigned to U.S. Government, 1994.
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.OARcorp.com/rtems/license.html.
- *
- * $Id$
- */
-
-#ifndef __NULL_DRIVER_h
-#define __NULL_DRIVER_h
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#define DEVNULL_DRIVER_TABLE_ENTRY \
- { null_initialize, null_open, null_close, null_read, \
- null_write, null_control }
-
-#define NULL_SUCCESSFUL RTEMS_SUCCESSFUL
-
-rtems_device_driver null_initialize(
- rtems_device_major_number,
- rtems_device_minor_number,
- void *
-);
-
-rtems_device_driver null_open(
- rtems_device_major_number,
- rtems_device_minor_number,
- void *
-);
-
-rtems_device_driver null_close(
- rtems_device_major_number,
- rtems_device_minor_number,
- void *
-);
-
-rtems_device_driver null_read(
- rtems_device_major_number,
- rtems_device_minor_number,
- void *
-);
-
-rtems_device_driver null_write(
- rtems_device_major_number,
- rtems_device_minor_number,
- void *
-);
-
-rtems_device_driver null_control(
- rtems_device_major_number,
- rtems_device_minor_number,
- void *
-);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
diff --git a/c/src/lib/libcpu/sh/sh7045/null/.cvsignore b/c/src/lib/libcpu/sh/sh7045/null/.cvsignore
deleted file mode 100644
index 282522db03..0000000000
--- a/c/src/lib/libcpu/sh/sh7045/null/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-Makefile
-Makefile.in
diff --git a/c/src/lib/libcpu/sh/sh7045/null/Makefile.am b/c/src/lib/libcpu/sh/sh7045/null/Makefile.am
deleted file mode 100644
index 5850d9786c..0000000000
--- a/c/src/lib/libcpu/sh/sh7045/null/Makefile.am
+++ /dev/null
@@ -1,31 +0,0 @@
-##
-## $Id$
-##
-
-AUTOMAKE_OPTIONS = foreign 1.4
-
-PGM = $(ARCH)/null.rel
-
-C_FILES = open.c close.c read.c write.c init.c cntrl.c
-C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
-
-OBJS = $(C_O_FILES)
-
-include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
-include $(top_srcdir)/../../../../../../automake/compile.am
-include $(top_srcdir)/../../../../../../automake/lib.am
-
-#
-# (OPTIONAL) Add local stuff here using +=
-#
-
-$(PGM): $(OBJS)
- $(make-rel)
-
-all-local: $(ARCH) $(OBJS) $(PGM)
-
-.PRECIOUS: $(PGM)
-
-EXTRA_DIST = close.c cntrl.c init.c open.c read.c write.c
-
-include $(top_srcdir)/../../../../../../automake/local.am
diff --git a/c/src/lib/libcpu/sh/sh7045/null/close.c b/c/src/lib/libcpu/sh/sh7045/null/close.c
deleted file mode 100644
index cb5ac8cd65..0000000000
--- a/c/src/lib/libcpu/sh/sh7045/null/close.c
+++ /dev/null
@@ -1,38 +0,0 @@
-/* null_close
- *
- * This routine is the null device driver close routine.
- *
- * Derived from rtems' stub driver.
- *
- * Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de)
- *
- * Input parameters:
- * major - device major number
- * minor - device minor number
- * pargb - pointer to close parameter block
- *
- * Output parameters:
- * rval - NULL_SUCCESSFUL
- *
- * COPYRIGHT (c) 1989-1998.
- * On-Line Applications Research Corporation (OAR).
- * Copyright assigned to U.S. Government, 1994.
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.OARcorp.com/rtems/license.html.
- *
- * $Id$
- */
-
-#include <rtems.h>
-#include <sh/null.h>
-
-rtems_device_driver null_close(
- rtems_device_major_number major,
- rtems_device_minor_number minor,
- void *pargp
-)
-{
- return NULL_SUCCESSFUL;
-}
diff --git a/c/src/lib/libcpu/sh/sh7045/null/cntrl.c b/c/src/lib/libcpu/sh/sh7045/null/cntrl.c
deleted file mode 100644
index cafc714279..0000000000
--- a/c/src/lib/libcpu/sh/sh7045/null/cntrl.c
+++ /dev/null
@@ -1,38 +0,0 @@
-/* null_control
- *
- * This routine is the null device driver control routine.
- *
- * Derived from rtems' stub driver.
- *
- * Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de)
- *
- * Input parameters:
- * major - device major number
- * minor - device minor number
- * pargp - pointer to cntrl parameter block
- *
- * Output parameters:
- * rval - NULL_SUCCESSFUL
- *
- * COPYRIGHT (c) 1989-1998.
- * On-Line Applications Research Corporation (OAR).
- * Copyright assigned to U.S. Government, 1994.
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.OARcorp.com/rtems/license.html.
- *
- * $Id$
- */
-
-#include <rtems.h>
-#include <sh/null.h>
-
-rtems_device_driver null_control(
- rtems_device_major_number major,
- rtems_device_minor_number minor,
- void *pargp
-)
-{
- return NULL_SUCCESSFUL;
-}
diff --git a/c/src/lib/libcpu/sh/sh7045/null/init.c b/c/src/lib/libcpu/sh/sh7045/null/init.c
deleted file mode 100644
index dcc1800f6b..0000000000
--- a/c/src/lib/libcpu/sh/sh7045/null/init.c
+++ /dev/null
@@ -1,53 +0,0 @@
-/* null_initialize
- *
- * This routine is the null device driver init routine.
- *
- * Derived from rtems' stub driver.
- *
- * Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de)
- *
- * Input parameters:
- * major - device major number
- * minor - device minor number
- * pargp - pointer to parameter block
- *
- * Output parameters:
- * rval - NULL_SUCCESSFUL
- *
- * COPYRIGHT (c) 1989-1998.
- * On-Line Applications Research Corporation (OAR).
- * Copyright assigned to U.S. Government, 1994.
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.OARcorp.com/rtems/license.html.
- *
- * $Id$
- */
-
-#include <rtems.h>
-#include <sh/null.h>
-
-rtems_unsigned32 NULL_major;
-
-rtems_device_driver null_initialize(
- rtems_device_major_number major,
- rtems_device_minor_number minor,
- void *pargp
-)
-{
- rtems_device_driver status ;
-
- status = rtems_io_register_name(
- "/dev/null",
- major,
- (rtems_device_minor_number) 0
- );
-
- if (status != RTEMS_SUCCESSFUL)
- rtems_fatal_error_occurred(status);
-
- NULL_major = major;
-
- return RTEMS_SUCCESSFUL;
-}
diff --git a/c/src/lib/libcpu/sh/sh7045/null/open.c b/c/src/lib/libcpu/sh/sh7045/null/open.c
deleted file mode 100644
index 352f4b981e..0000000000
--- a/c/src/lib/libcpu/sh/sh7045/null/open.c
+++ /dev/null
@@ -1,38 +0,0 @@
-/* null_open
- *
- * This routine is the null device driver open routine.
- *
- * Derived from rtems' stub driver.
- *
- * Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de)
- *
- * Input parameters:
- * major - device major number
- * minor - device minor number
- * pargb - pointer to open parameter block
- *
- * Output parameters:
- * rval - NULL_SUCCESSFUL
- *
- * COPYRIGHT (c) 1989-1998.
- * On-Line Applications Research Corporation (OAR).
- * Copyright assigned to U.S. Government, 1994.
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.OARcorp.com/rtems/license.html.
- *
- * $Id$
- */
-
-#include <rtems.h>
-#include <sh/null.h>
-
-rtems_device_driver null_open(
- rtems_device_major_number major,
- rtems_device_minor_number minor,
- void *pargp
-)
-{
- return NULL_SUCCESSFUL;
-}
diff --git a/c/src/lib/libcpu/sh/sh7045/null/read.c b/c/src/lib/libcpu/sh/sh7045/null/read.c
deleted file mode 100644
index 895ba0c7f4..0000000000
--- a/c/src/lib/libcpu/sh/sh7045/null/read.c
+++ /dev/null
@@ -1,38 +0,0 @@
-/* null_read
- *
- * This routine is the null device driver read routine.
- *
- * Derived from rtems' stub driver.
- *
- * Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de)
- *
- * Input parameters:
- * major - device major number
- * minor - device minor number
- * pargp - pointer to read parameter block
- *
- * Output parameters:
- * rval - NULL_SUCCESSFUL
- *
- * COPYRIGHT (c) 1989-1998.
- * On-Line Applications Research Corporation (OAR).
- * Copyright assigned to U.S. Government, 1994.
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.OARcorp.com/rtems/license.html.
- *
- * $Id$
- */
-
-#include <rtems.h>
-#include <sh/null.h>
-
-rtems_device_driver null_read(
- rtems_device_major_number major,
- rtems_device_minor_number minor,
- void *pargp
-)
-{
- return NULL_SUCCESSFUL;
-}
diff --git a/c/src/lib/libcpu/sh/sh7045/null/write.c b/c/src/lib/libcpu/sh/sh7045/null/write.c
deleted file mode 100644
index d9c4da434b..0000000000
--- a/c/src/lib/libcpu/sh/sh7045/null/write.c
+++ /dev/null
@@ -1,44 +0,0 @@
-/* null_write
- *
- * This routine is the null device driver write routine.
- *
- * Derived from rtems' stub driver.
- *
- * Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de)
- *
- * Input parameters:
- * major - device major number
- * minor - device minor number
- * pargp - pointer to write parameter block
- *
- * Output parameters:
- * rval - NULL_SUCCESSFUL
- *
- * COPYRIGHT (c) 1989-1998.
- * On-Line Applications Research Corporation (OAR).
- * Copyright assigned to U.S. Government, 1994.
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.OARcorp.com/rtems/license.html.
- *
- * $Id$
- */
-
-#include <rtems.h>
-#include <rtems/libio.h>
-
-#include <sh/null.h>
-
-rtems_device_driver null_write(
- rtems_device_major_number major,
- rtems_device_minor_number minor,
- void *pargp
-)
-{
- rtems_libio_rw_args_t *rw_args = (rtems_libio_rw_args_t *) pargp ;
-
- rw_args->bytes_moved = rw_args->count ;
-
- return NULL_SUCCESSFUL;
-}