summaryrefslogtreecommitdiffstats
path: root/sys/dev/firewire/firewire.h
diff options
context:
space:
mode:
authorsimokawa <simokawa@FreeBSD.org>2003-02-01 14:42:49 +0000
committersimokawa <simokawa@FreeBSD.org>2003-02-01 14:42:49 +0000
commit5790015ee5af3be4881a7c551011f422bf8e697a (patch)
tree4b21e97d57a5e183801cf31e4f90b629d703c6f0 /sys/dev/firewire/firewire.h
parente8efa7328e487806fb77d3ec54bf5fa5f8b017ed (diff)
downloadFreeBSD-src-5790015ee5af3be4881a7c551011f422bf8e697a.zip
FreeBSD-src-5790015ee5af3be4881a7c551011f422bf8e697a.tar.gz
- replace timeout with callout_*.
- replace TAILQ with STAILQ for device list. - some clean up.
Diffstat (limited to 'sys/dev/firewire/firewire.h')
-rw-r--r--sys/dev/firewire/firewire.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/firewire/firewire.h b/sys/dev/firewire/firewire.h
index e07dfd7..f96e331 100644
--- a/sys/dev/firewire/firewire.h
+++ b/sys/dev/firewire/firewire.h
@@ -315,6 +315,8 @@ struct fw_eui64 {
((eui)->hi >> (8*(3-(x)))): \
((eui)->lo >> (8*(7-(x)))) \
) & 0xff)
+#define FW_EUI64_EQUAL(x, y) \
+ ((x).hi == (y).hi && (x).lo == (y).lo)
struct fw_asyreq {
struct fw_asyreq_t{
OpenPOWER on IntegriCloud