summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/shared/clock
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-05 22:06:04 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-05 22:06:04 +0000
commit2d4d710be2b6633495621399e31fdb9742389f1f (patch)
tree0323f65ac9cd7a586b7d4375031414c550af5c88 /c/src/lib/libbsp/powerpc/shared/clock
parent2008-09-05 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-2d4d710be2b6633495621399e31fdb9742389f1f.tar.bz2
2008-09-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/clock/clock.c: The Shared Memory Driver no longer requires the special IOCTL in Clock_control. This was a hack which has existed since before the Classic API Timer Manager was implemented. All implementations of and references to Clock_control were removed.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/shared/clock')
-rw-r--r--c/src/lib/libbsp/powerpc/shared/clock/clock.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/c/src/lib/libbsp/powerpc/shared/clock/clock.c b/c/src/lib/libbsp/powerpc/shared/clock/clock.c
index c7df44123e..cf11b0ad64 100644
--- a/c/src/lib/libbsp/powerpc/shared/clock/clock.c
+++ b/c/src/lib/libbsp/powerpc/shared/clock/clock.c
@@ -240,24 +240,3 @@ rtems_device_driver Clock_initialize( rtems_device_major_number major, rtems_dev
return RTEMS_SUCCESSFUL;
}
-
-rtems_device_driver Clock_control( rtems_device_major_number major, rtems_device_minor_number minor, void *arg)
-{
- rtems_libio_ioctl_args_t *io = arg;
-
- if (io == NULL) {
- return RTEMS_SUCCESSFUL;
- }
-
- if (io->command == rtems_build_name( 'I', 'S', 'R', ' ')) {
- ppc_clock_tick();
- } else if (io->command == rtems_build_name( 'N', 'E', 'W', ' ')) {
- if (io->buffer != NULL) {
- ppc_clock_tick = io->buffer;
- } else {
- ppc_clock_tick = ppc_clock_no_tick;
- }
- }
-
- return RTEMS_SUCCESSFUL;
-}