diff options
| author | Warner Losh <imp@FreeBSD.org> | 2024-07-25 04:23:02 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2024-07-25 04:23:02 +0000 |
| commit | a05a680469a7ac77b195021fed74e3aa58152dd7 (patch) | |
| tree | 430d769aa20aeb2fdc9b31e2cb4b7c527bb2e172 /sys/dev/etherswitch/etherswitch.c | |
| parent | 5b56413d04e608379c9a306373554a8e4d321bc0 (diff) | |
Diffstat (limited to 'sys/dev/etherswitch/etherswitch.c')
| -rw-r--r-- | sys/dev/etherswitch/etherswitch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/etherswitch/etherswitch.c b/sys/dev/etherswitch/etherswitch.c index 74afcd259007..c66918f77174 100644 --- a/sys/dev/etherswitch/etherswitch.c +++ b/sys/dev/etherswitch/etherswitch.c @@ -83,7 +83,7 @@ static void etherswitch_identify(driver_t *driver, device_t parent) { if (device_find_child(parent, "etherswitch", -1) == NULL) - BUS_ADD_CHILD(parent, 0, "etherswitch", -1); + BUS_ADD_CHILD(parent, 0, "etherswitch", DEVICE_UNIT_ANY); } static int |
