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/dpaa | |
| parent | 723da5d92f40a413585107f8455280ea575fe410 (diff) | |
Diffstat (limited to 'sys/dev/dpaa')
| -rw-r--r-- | sys/dev/dpaa/bman_portals.c | 3 | ||||
| -rw-r--r-- | sys/dev/dpaa/fman.c | 3 | ||||
| -rw-r--r-- | sys/dev/dpaa/qman_portals.c | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/sys/dev/dpaa/bman_portals.c b/sys/dev/dpaa/bman_portals.c index 09bd9ea892ac..10c788410e1c 100644 --- a/sys/dev/dpaa/bman_portals.c +++ b/sys/dev/dpaa/bman_portals.c @@ -67,7 +67,8 @@ bman_portals_attach(device_t dev) /* Set portal properties for XX_VirtToPhys() */ XX_PortalSetInfo(dev); - return (bus_generic_attach(dev)); + bus_attach_children(dev); + return (0); } int diff --git a/sys/dev/dpaa/fman.c b/sys/dev/dpaa/fman.c index 9dc4ac151789..6f63e50f3a14 100644 --- a/sys/dev/dpaa/fman.c +++ b/sys/dev/dpaa/fman.c @@ -473,7 +473,8 @@ fman_attach(device_t dev) goto err; } - return (bus_generic_attach(dev)); + bus_attach_children(dev); + return (0); err: fman_detach(dev); diff --git a/sys/dev/dpaa/qman_portals.c b/sys/dev/dpaa/qman_portals.c index 67a9fd1827e4..0f00a9f1a173 100644 --- a/sys/dev/dpaa/qman_portals.c +++ b/sys/dev/dpaa/qman_portals.c @@ -72,7 +72,8 @@ qman_portals_attach(device_t dev) /* Set portal properties for XX_VirtToPhys() */ XX_PortalSetInfo(dev); - return (bus_generic_attach(dev)); + bus_attach_children(dev); + return (0); } int |
