summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2011-07-26 14:57:57 +0000
committerderaadt <deraadt@openbsd.org>2011-07-26 14:57:57 +0000
commite76e57bff75f8c6443ffc06dd76533ee436d5d39 (patch)
treeafde31c2ee390c2f58ee5b8e5278c4cc9569d259
parentNo need to byte-swap d_checksum just before setting it to zero. (diff)
downloadwireguard-openbsd-e76e57bff75f8c6443ffc06dd76533ee436d5d39.tar.xz
wireguard-openbsd-e76e57bff75f8c6443ffc06dd76533ee436d5d39.zip
do not describe where DELAY comes from; pointed out by austin; ok jsg
-rw-r--r--sys/dev/pci/if_em_osdep.h3
-rw-r--r--sys/dev/pci/if_ixgb_osdep.h3
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/pci/if_em_osdep.h b/sys/dev/pci/if_em_osdep.h
index 97796d04fe3..7d052145e03 100644
--- a/sys/dev/pci/if_em_osdep.h
+++ b/sys/dev/pci/if_em_osdep.h
@@ -31,13 +31,12 @@ POSSIBILITY OF SUCH DAMAGE.
***************************************************************************/
-/* $OpenBSD: if_em_osdep.h,v 1.10 2006/11/06 03:52:37 brad Exp $ */
+/* $OpenBSD: if_em_osdep.h,v 1.11 2011/07/26 14:57:57 deraadt Exp $ */
/* $FreeBSD: if_em_osdep.h,v 1.11 2003/05/02 21:17:08 pdeuskar Exp $ */
#ifndef _EM_OPENBSD_OS_H_
#define _EM_OPENBSD_OS_H_
-/* The happy-fun DELAY macro is defined in /usr/src/sys/i386/include/clock.h */
#define usec_delay(x) DELAY(x)
#define msec_delay(x) DELAY(1000*(x))
/* TODO: Should we be paranoid about delaying in interrupt context? */
diff --git a/sys/dev/pci/if_ixgb_osdep.h b/sys/dev/pci/if_ixgb_osdep.h
index 8db863b12b0..39e0618b35a 100644
--- a/sys/dev/pci/if_ixgb_osdep.h
+++ b/sys/dev/pci/if_ixgb_osdep.h
@@ -31,14 +31,13 @@ POSSIBILITY OF SUCH DAMAGE.
***************************************************************************/
-/* $OpenBSD: if_ixgb_osdep.h,v 1.3 2010/02/20 22:37:05 jsg Exp $ */
+/* $OpenBSD: if_ixgb_osdep.h,v 1.4 2011/07/26 14:57:57 deraadt Exp $ */
#ifndef _IXGB_OPENBSD_OS_H_
#define _IXGB_OPENBSD_OS_H_
#define ASSERT(x) if(!(x)) panic("IXGB: x")
-/* The happy-fun DELAY macro is defined in /usr/src/sys/i386/include/clock.h */
#define usec_delay(x) DELAY(x)
#define msec_delay(x) DELAY(1000*(x))