summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c/src/tests/sptests/ChangeLog5
-rw-r--r--c/src/tests/sptests/sp21/task1.c5
-rw-r--r--testsuites/sptests/ChangeLog5
-rw-r--r--testsuites/sptests/sp21/task1.c5
4 files changed, 16 insertions, 4 deletions
diff --git a/c/src/tests/sptests/ChangeLog b/c/src/tests/sptests/ChangeLog
index 393a1d4e5a..dce9c72b03 100644
--- a/c/src/tests/sptests/ChangeLog
+++ b/c/src/tests/sptests/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-14 Joel Sherrill <joel@OARcorp.com>
+
+ * sp21/task1.c: Correct INVALID_DRIVER_MAJOR so it is precisely 1 more
+ than the configured number of drivers.
+
2002-04-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove ENABLE_GCC28.
diff --git a/c/src/tests/sptests/sp21/task1.c b/c/src/tests/sptests/sp21/task1.c
index b28b1f019c..f60699a1ae 100644
--- a/c/src/tests/sptests/sp21/task1.c
+++ b/c/src/tests/sptests/sp21/task1.c
@@ -7,7 +7,7 @@
*
* Output parameters: NONE
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2002.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -21,7 +21,8 @@
#define STUB_DRIVER_MAJOR 0x2
#define NO_DRIVER_MAJOR 0x3
-#define INVALID_DRIVER_MAJOR 0x5
+#define INVALID_DRIVER_MAJOR (CONFIGURE_MAXIMUM_DRIVERS + 1)
+/* #define INVALID_DRIVER_MAJOR 0xffffffff */
rtems_task Task_1(
rtems_task_argument argument
diff --git a/testsuites/sptests/ChangeLog b/testsuites/sptests/ChangeLog
index 393a1d4e5a..dce9c72b03 100644
--- a/testsuites/sptests/ChangeLog
+++ b/testsuites/sptests/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-14 Joel Sherrill <joel@OARcorp.com>
+
+ * sp21/task1.c: Correct INVALID_DRIVER_MAJOR so it is precisely 1 more
+ than the configured number of drivers.
+
2002-04-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove ENABLE_GCC28.
diff --git a/testsuites/sptests/sp21/task1.c b/testsuites/sptests/sp21/task1.c
index b28b1f019c..f60699a1ae 100644
--- a/testsuites/sptests/sp21/task1.c
+++ b/testsuites/sptests/sp21/task1.c
@@ -7,7 +7,7 @@
*
* Output parameters: NONE
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2002.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -21,7 +21,8 @@
#define STUB_DRIVER_MAJOR 0x2
#define NO_DRIVER_MAJOR 0x3
-#define INVALID_DRIVER_MAJOR 0x5
+#define INVALID_DRIVER_MAJOR (CONFIGURE_MAXIMUM_DRIVERS + 1)
+/* #define INVALID_DRIVER_MAJOR 0xffffffff */
rtems_task Task_1(
rtems_task_argument argument