pub fn init_driver(
    dev: &PCIDevice,
    mapper: &Option<Arc<dyn IoMapper>>
) -> DeviceResult<Device>