small changes needed to get atapi devices working.