git: 0b81ce7bcbb3 - stable/14 - DEVICE_IDENTIFY.9: Fix function call to detect driver in example code
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 23 Jul 2026 10:00:43 UTC
The branch stable/14 has been updated by olce:
URL: https://cgit.FreeBSD.org/src/commit/?id=0b81ce7bcbb3cb23e711a682de6fa3d6bfa8c5b9
commit 0b81ce7bcbb3cb23e711a682de6fa3d6bfa8c5b9
Author: Olivier Certner <olce@FreeBSD.org>
AuthorDate: 2026-03-27 14:46:58 +0000
Commit: Olivier Certner <olce@FreeBSD.org>
CommitDate: 2026-07-23 09:59:05 +0000
DEVICE_IDENTIFY.9: Fix function call to detect driver in example code
Fixes: ccabc7c2e556 ("DEVICE_IDENTIFY.9: Modernize description and use cases")
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
(cherry picked from commit c78937677c973c48fd438ea06cfb51e11cc62851)
---
share/man/man9/DEVICE_IDENTIFY.9 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/share/man/man9/DEVICE_IDENTIFY.9 b/share/man/man9/DEVICE_IDENTIFY.9
index 9feb18f43f18..421784f19fa0 100644
--- a/share/man/man9/DEVICE_IDENTIFY.9
+++ b/share/man/man9/DEVICE_IDENTIFY.9
@@ -74,7 +74,7 @@ foo_identify(driver_t *driver, device_t parent)
retrieve_device_information;
if (devices matches one of your supported devices &&
- device_get_child(parent, "foo", -1) == NULL) {
+ device_find_child(parent, "foo", -1) == NULL) {
child = BUS_ADD_CHILD(parent, 0, "foo", -1);
bus_set_resource(child, SYS_RES_IOPORT, 0, FOO_IOADDR, 1);
}