The nvme module should explicitly declare dependency on the cam.
If both nvme and cam are compiled as modules, nvme cannot be kldloaded otherwise. Reviewed by: imp Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
cece25e8d3
commit
d9a260e5d3
@ -80,6 +80,7 @@ static driver_t nvme_pci_driver = {
|
||||
|
||||
DRIVER_MODULE(nvme, pci, nvme_pci_driver, nvme_devclass, nvme_modevent, 0);
|
||||
MODULE_VERSION(nvme, 1);
|
||||
MODULE_DEPEND(nvme, cam, 1, 1, 1);
|
||||
|
||||
static struct _pcsid
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user