summaryrefslogtreecommitdiff
path: root/sys/dev/ic/gemvar.h
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-04-10 07:22:43 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-04-10 07:22:43 +0000
commit63c889505809649db6c157873c6b84384f629ac1 (patch)
treee8a303acc36ad656e4a8b18650514ff87b402c27 /sys/dev/ic/gemvar.h
parentf231d79833e7546c082f9cca2b70bc1e5eaa7f9f (diff)
fix the macro so gem recognizes the Intrepid 2 GMAC.
Diffstat (limited to 'sys/dev/ic/gemvar.h')
-rw-r--r--sys/dev/ic/gemvar.h5
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 *);