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:
Jerome Duval
2013-07-31 20:50:52 +02:00
parent 3ae0742de7
commit d66a9a6072
+1
View File
@@ -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;