aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ntb/ntb_if.m
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ntb/ntb_if.m')
-rw-r--r--sys/dev/ntb/ntb_if.m18
1 files changed, 18 insertions, 0 deletions
diff --git a/sys/dev/ntb/ntb_if.m b/sys/dev/ntb/ntb_if.m
index 77596bec4d6a..dccebeea08f8 100644
--- a/sys/dev/ntb/ntb_if.m
+++ b/sys/dev/ntb/ntb_if.m
@@ -61,6 +61,24 @@ HEADER {
};
};
+METHOD int port_number {
+ device_t ntb;
+};
+
+METHOD int peer_port_count {
+ device_t ntb;
+};
+
+METHOD int peer_port_number {
+ device_t ntb;
+ int pidx;
+};
+
+METHOD int peer_port_idx {
+ device_t ntb;
+ int port;
+};
+
METHOD bool link_is_up {
device_t ntb;
enum ntb_speed *speed;