[PATCH] update legacy io handling for pmac