summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-05-17 18:06:23 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-05-17 18:06:23 +0000
commit8873684bdf2b1f2872cb979bf597ef9e4346120a (patch)
tree49982540a2b0ed32dce7a7b43250e493fc26cc94 /testsuites
parent2001-05-17 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-8873684bdf2b1f2872cb979bf597ef9e4346120a.tar.bz2
2001-05-17 Joel Sherrill <joel@OARcorp.com>
* sp21/task1.c (INVALID_DRIVER_MAJOR): Change definition to reflect number of staticly configured device drivers.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/sptests/ChangeLog5
-rw-r--r--testsuites/sptests/sp21/task1.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/testsuites/sptests/ChangeLog b/testsuites/sptests/ChangeLog
index dce9c72b03..1b88aa79bf 100644
--- a/testsuites/sptests/ChangeLog
+++ b/testsuites/sptests/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-17 Joel Sherrill <joel@OARcorp.com>
+
+ * sp21/task1.c (INVALID_DRIVER_MAJOR): Change definition to reflect
+ number of staticly configured device drivers.
+
2001-05-14 Joel Sherrill <joel@OARcorp.com>
* sp21/task1.c: Correct INVALID_DRIVER_MAJOR so it is precisely 1 more
diff --git a/testsuites/sptests/sp21/task1.c b/testsuites/sptests/sp21/task1.c
index f60699a1ae..c17da6f03f 100644
--- a/testsuites/sptests/sp21/task1.c
+++ b/testsuites/sptests/sp21/task1.c
@@ -21,7 +21,7 @@
#define STUB_DRIVER_MAJOR 0x2
#define NO_DRIVER_MAJOR 0x3
-#define INVALID_DRIVER_MAJOR (CONFIGURE_MAXIMUM_DRIVERS + 1)
+#define INVALID_DRIVER_MAJOR (Configuration.number_of_device_drivers + 1)
/* #define INVALID_DRIVER_MAJOR 0xffffffff */
rtems_task Task_1(