summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/src/io.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2003-02-03 23:58:21 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2003-02-03 23:58:21 +0000
commit590cae7a98a649f9ebdccbddcaabfaf550aabece (patch)
treeb8fb78052e7a149e5d3e92e7d57cd37f072dd537 /cpukit/sapi/src/io.c
parent2003-02-03 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-590cae7a98a649f9ebdccbddcaabfaf550aabece.tar.bz2
2003-02-03 Joel Sherrill <joel@OARcorp.com>
PR 338/filesystem * include/rtems/io.h, src/io.c: Side-effect of fixing reentrancy problem with rtems_io_lookup_name() (API change).
Diffstat (limited to 'cpukit/sapi/src/io.c')
-rw-r--r--cpukit/sapi/src/io.c40
1 files changed, 0 insertions, 40 deletions
diff --git a/cpukit/sapi/src/io.c b/cpukit/sapi/src/io.c
index 54052b56c1..1d8f220fb6 100644
--- a/cpukit/sapi/src/io.c
+++ b/cpukit/sapi/src/io.c
@@ -240,46 +240,6 @@ rtems_status_code rtems_io_register_name(
/*PAGE
*
- * rtems_io_lookup_name
- *
- * Find what driver "owns" this name
- *
- * Input Paramters:
- * name - name to lookup the associated device
- *
- * Output Parameters:
- * device_info - device associate with name
- * RTEMS_SUCCESSFUL - if successful
- * error code - if unsuccessful
- */
-
-#if 0
-rtems_status_code rtems_io_lookup_name(
- const char *name,
- rtems_driver_name_t **device_info
-)
-{
- rtems_driver_name_t *np;
- unsigned32 index;
-
- for( index=0, np = _IO_Driver_name_table ;
- index < _IO_Number_of_devices ;
- index++, np++ )
- if (np->device_name)
- if (strncmp(np->device_name, name, np->device_name_length) == 0)
- {
- *device_info = np;
- return RTEMS_SUCCESSFUL;
- }
-
- *device_info = 0;
- return RTEMS_UNSATISFIED;
-}
-#endif
-
-
-/*PAGE
- *
* rtems_io_initialize
*
* This routine is the initialization directive of the IO manager.