Temporarily rolled back to old ioport code