diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2024-12-06 22:26:16 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2024-12-06 22:26:16 +0000 |
| commit | 18250ec6c089c0c50cbd9fd87d78e03ff89916df (patch) | |
| tree | f5dd88ced310b6c82afec1a89f7f23bc10b72913 /sys/dev/vmd | |
| parent | 723da5d92f40a413585107f8455280ea575fe410 (diff) | |
Diffstat (limited to 'sys/dev/vmd')
| -rw-r--r-- | sys/dev/vmd/vmd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/vmd/vmd.c b/sys/dev/vmd/vmd.c index 1eeeb630433a..40565eab6f3e 100644 --- a/sys/dev/vmd/vmd.c +++ b/sys/dev/vmd/vmd.c @@ -384,7 +384,8 @@ vmd_attach(device_t dev) sc->vmd_dma_tag = bus_get_dma_tag(dev); sc->psc.child = device_add_child(dev, "pci", DEVICE_UNIT_ANY); - return (bus_generic_attach(dev)); + bus_attach_children(dev); + return (0); fail: vmd_free(sc); |
