summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/net/iflib.h
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/sys/net/iflib.h')
-rw-r--r--freebsd/sys/net/iflib.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/freebsd/sys/net/iflib.h b/freebsd/sys/net/iflib.h
index 7ccd5035..2395439a 100644
--- a/freebsd/sys/net/iflib.h
+++ b/freebsd/sys/net/iflib.h
@@ -393,6 +393,13 @@ int iflib_device_suspend(device_t);
int iflib_device_resume(device_t);
int iflib_device_shutdown(device_t);
+/*
+ * Use this instead of iflib_device_probe if the driver should report
+ * BUS_PROBE_VENDOR instead of BUS_PROBE_DEFAULT. (For example, an out-of-tree
+ * driver based on iflib).
+ */
+int iflib_device_probe_vendor(device_t);
+
int iflib_device_iov_init(device_t, uint16_t, const nvlist_t *);
void iflib_device_iov_uninit(device_t);