Refactor rtems_deviceio_errno
completed by: Daniel Ramirez
mentors: Chris Johns
The PR at https://www.rtems.org/bugzilla/show_bug.cgi?id=1547 suggests the function rtems_deviceio_errno() be replaced with a new function "rtems_status_code_to_errno()". Implement the suggested new function as part of the Classic API Status Handler located in cpukit/rtems/include/rtems/rtems/status.h, cpukit/rtems/include/rtems/rtems/statusimpl.h, and cpukit/rtems/src/status.c.
Post patches to here, the bugzilla, and optionally to the rtems-devel mailing list.