diff options
author | 2006-04-10 07:22:42 +0000 | |
---|---|---|
committer | 2006-04-10 07:22:42 +0000 | |
commit | 10208e34904177ba912cde573dc3b1ef79d42d7d (patch) | |
tree | ac7ae3845a78755ae91c87b7572dd870caad4585 | |
parent | recognize the Intrepid 2 GMAC (diff) | |
download | wireguard-openbsd-10208e34904177ba912cde573dc3b1ef79d42d7d.tar.xz wireguard-openbsd-10208e34904177ba912cde573dc3b1ef79d42d7d.zip |
fix the macro so gem recognizes the Intrepid 2 GMAC.
-rw-r--r-- | sys/dev/ic/gemvar.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ic/gemvar.h b/sys/dev/ic/gemvar.h index 9e07c9d4f30..3d0bcf12736 100644 --- a/sys/dev/ic/gemvar.h +++ b/sys/dev/ic/gemvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: gemvar.h,v 1.13 2006/04/10 07:17:57 brad Exp $ */ +/* $OpenBSD: gemvar.h,v 1.14 2006/04/10 07:22:42 brad Exp $ */ /* $NetBSD: gemvar.h,v 1.1 2001/09/16 00:11:43 eeh Exp $ */ /* @@ -281,7 +281,8 @@ do { \ } while (0) #define GEM_IS_APPLE(sc) \ - ((sc)->sc_variant >= GEM_APPLE_K2_GMAC && (sc)->sc_variant <= GEM_APPLE_UNINORTH2GMAC) + ((sc)->sc_variant >= GEM_APPLE_INTREPID2_GMAC && \ + (sc)->sc_variant <= GEM_APPLE_UNINORTH2GMAC) #ifdef _KERNEL void gem_attach(struct gem_softc *, const u_int8_t *); |