[PATCH] sh: I/O routine cleanups and ioremap() overhaul