FreeBSD compat layer: init the struct root_device_softc.
Should help to fix things for devices without MSI or with MSI-X.
This commit is contained in:
@@ -61,6 +61,7 @@ init_root_device(driver_t *driver, device_t *_root, device_t *_child)
|
||||
return B_NO_MEMORY;
|
||||
}
|
||||
|
||||
bzero(root, sizeof(struct root_device_softc));
|
||||
root->driver = &sRootDriver;
|
||||
root->root = root;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user