aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/firewire
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2024-07-25 04:23:02 +0000
committerWarner Losh <imp@FreeBSD.org>2024-07-25 04:23:02 +0000
commita05a680469a7ac77b195021fed74e3aa58152dd7 (patch)
tree430d769aa20aeb2fdc9b31e2cb4b7c527bb2e172 /sys/dev/firewire
parent5b56413d04e608379c9a306373554a8e4d321bc0 (diff)
Diffstat (limited to 'sys/dev/firewire')
-rw-r--r--sys/dev/firewire/firewire.c2
-rw-r--r--sys/dev/firewire/sbp.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/firewire/firewire.c b/sys/dev/firewire/firewire.c
index 4bb683cccfb7..93a414405c17 100644
--- a/sys/dev/firewire/firewire.c
+++ b/sys/dev/firewire/firewire.c
@@ -314,7 +314,7 @@ fw_asystart(struct fw_xfer *xfer)
static void
firewire_identify(driver_t *driver, device_t parent)
{
- BUS_ADD_CHILD(parent, 0, "firewire", -1);
+ BUS_ADD_CHILD(parent, 0, "firewire", DEVICE_UNIT_ANY);
}
static int
diff --git a/sys/dev/firewire/sbp.c b/sys/dev/firewire/sbp.c
index 5f4ebb747057..2a91f6987e69 100644
--- a/sys/dev/firewire/sbp.c
+++ b/sys/dev/firewire/sbp.c
@@ -304,7 +304,7 @@ SBP_DEBUG(0)
END_DEBUG
if (device_find_child(parent, "sbp", -1) == NULL)
- BUS_ADD_CHILD(parent, 0, "sbp", -1);
+ BUS_ADD_CHILD(parent, 0, "sbp", DEVICE_UNIT_ANY);
}
/*