summaryrefslogtreecommitdiffstats
path: root/sys/dev/cxgb/cxgb_osdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/cxgb/cxgb_osdep.h')
-rw-r--r--sys/dev/cxgb/cxgb_osdep.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/cxgb/cxgb_osdep.h b/sys/dev/cxgb/cxgb_osdep.h
index a3c562c..83bb325 100644
--- a/sys/dev/cxgb/cxgb_osdep.h
+++ b/sys/dev/cxgb/cxgb_osdep.h
@@ -141,6 +141,8 @@ static const int debug_flags = DBG_RX;
#define t3_os_sleep(x) DELAY((x) * 1000)
+#define max_t(type, a, b) (type)max((a), (b))
+
/* Standard PHY definitions */
#define BMCR_LOOPBACK BMCR_LOOP
#define BMCR_ISOLATE BMCR_ISO
OpenPOWER on IntegriCloud