aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/cxgbe/t4_if.m
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2016-08-03 17:11:08 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2016-08-03 17:11:08 +0000
commit847bfa8eb7d9586d77d15ec9475afeae2d9d1c74 (patch)
treed51112accfc9734c64e725ebe5e01ee36fbf7f8e /sys/dev/cxgbe/t4_if.m
parent0aee83cc1ddea0b13e38a48586abf4b84269afcf (diff)
Notes
Diffstat (limited to 'sys/dev/cxgbe/t4_if.m')
-rw-r--r--sys/dev/cxgbe/t4_if.m10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/cxgbe/t4_if.m b/sys/dev/cxgbe/t4_if.m
index 430b4801dfa78..59e86bdab0755 100644
--- a/sys/dev/cxgbe/t4_if.m
+++ b/sys/dev/cxgbe/t4_if.m
@@ -55,11 +55,11 @@ METHOD int detach_child {
device_t dev;
};
-# Called by a driver to query the PF4 driver for the unit number to use
-# for a given port. If the port is not enabled on the adapter, this
-# will fail.
-METHOD int read_port_unit {
+# Called by a driver to query the PF4 driver for the child device
+# associated with a given port. If the port is not enabled on the adapter,
+# this will fail.
+METHOD int read_port_device {
device_t dev;
int port;
- int *unit;
+ device_t *child;
};