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/ips | |
| parent | 723da5d92f40a413585107f8455280ea575fe410 (diff) | |
Diffstat (limited to 'sys/dev/ips')
| -rw-r--r-- | sys/dev/ips/ips.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/ips/ips.c b/sys/dev/ips/ips.c index 79ac06d78035..0079e4183db5 100644 --- a/sys/dev/ips/ips.c +++ b/sys/dev/ips/ips.c @@ -273,9 +273,7 @@ static int ips_diskdev_init(ips_softc_t *sc) device_set_ivars(sc->diskdev[i],(void *)(uintptr_t) i); } } - if(bus_generic_attach(sc->dev)){ - device_printf(sc->dev, "Attaching bus failed\n"); - } + bus_attach_children(sc->dev); return 0; } |
