summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_udavreg.h
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2004-12-30 07:43:10 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2004-12-30 07:43:10 +0000
commit27292ea9e4da231ff24012ab51396d0af6602dc0 (patch)
treeea116f297e0a8afa046649b34866ac9f9cc7c13f /sys/dev/usb/if_udavreg.h
parent49ef34998975a0d0268165cffc87628e34e48b75 (diff)
fix for some archs that don't like unaligned accesses, eg sparc64 and alpha
ok jsg@
Diffstat (limited to 'sys/dev/usb/if_udavreg.h')
-rw-r--r--sys/dev/usb/if_udavreg.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/dev/usb/if_udavreg.h b/sys/dev/usb/if_udavreg.h
index 6dff5f17762..4179a6aed5a 100644
--- a/sys/dev/usb/if_udavreg.h
+++ b/sys/dev/usb/if_udavreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_udavreg.h,v 1.1 2004/10/05 02:01:18 jsg Exp $ */
+/* $OpenBSD: if_udavreg.h,v 1.2 2004/12/30 07:43:09 dlg Exp $ */
/* $NetBSD: if_udavreg.h,v 1.2 2003/09/04 15:17:39 tsutsui Exp $ */
/* $nabe: if_udavreg.h,v 1.2 2003/08/21 16:26:40 nabe Exp $ */
/*
@@ -212,3 +212,10 @@ struct udav_softc {
u_int16_t sc_flags;
};
+
+struct udav_rx_hdr {
+ uByte pktstat;
+ uWord length;
+} UPACKED;
+#define UDAV_RX_HDRLEN sizeof(struct udav_rx_hdr)
+