diff options
| author | Ahmad Khalifa <vexeduxr@FreeBSD.org> | 2025-06-11 00:25:08 +0000 |
|---|---|---|
| committer | Ahmad Khalifa <vexeduxr@FreeBSD.org> | 2025-06-21 02:57:45 +0000 |
| commit | b670c9bafc0e31c7609969bf374b2e80bdc00211 (patch) | |
| tree | a43fdc9e5b58d1ab4cddbf535c3855d7a32de4dc /sys/dev/qat | |
| parent | 220cdd1b394109a5db9e5b402141c746095c4292 (diff) | |
Diffstat (limited to 'sys/dev/qat')
| -rw-r--r-- | sys/dev/qat/qat/qat_ocf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/qat/qat/qat_ocf.c b/sys/dev/qat/qat/qat_ocf.c index afdc5f396c80..74f113e46884 100644 --- a/sys/dev/qat/qat/qat_ocf.c +++ b/sys/dev/qat/qat/qat_ocf.c @@ -941,8 +941,8 @@ fail: static void qat_ocf_identify(driver_t *drv, device_t parent) { - if (device_find_child(parent, "qat_ocf", -1) == NULL && - BUS_ADD_CHILD(parent, 200, "qat_ocf", -1) == 0) + if (device_find_child(parent, "qat_ocf", DEVICE_UNIT_ANY) == NULL && + BUS_ADD_CHILD(parent, 200, "qat_ocf", DEVICE_UNIT_ANY) == 0) device_printf(parent, "qat_ocf: could not attach!"); } |
