summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/cgeight.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc/dev/cgeight.c')
-rw-r--r--sys/arch/sparc/dev/cgeight.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/cgeight.c b/sys/arch/sparc/dev/cgeight.c
index 12613bf0d79..621dc6b8c0b 100644
--- a/sys/arch/sparc/dev/cgeight.c
+++ b/sys/arch/sparc/dev/cgeight.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cgeight.c,v 1.29 2008/12/26 22:30:21 miod Exp $ */
+/* $OpenBSD: cgeight.c,v 1.30 2010/06/07 19:43:45 miod Exp $ */
/* $NetBSD: cgeight.c,v 1.13 1997/05/24 20:16:04 pk Exp $ */
/*
@@ -164,7 +164,7 @@ cgeightattach(struct device *parent, struct device *self, void *args)
* Assume this is the console if there's no eeprom info
* to be found.
*/
- if (eep == NULL || eep->eeConsole == EE_CONS_P4OPT)
+ if (eep == NULL || eep->ee_diag.eed_console == EED_CONS_P4)
isconsole = 1;
}