summaryrefslogtreecommitdiffstats
path: root/sys/arch/sparc/dev/cgfour.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc/dev/cgfour.c')
-rw-r--r--sys/arch/sparc/dev/cgfour.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/cgfour.c b/sys/arch/sparc/dev/cgfour.c
index ae5afdcb314..b291eba5c02 100644
--- a/sys/arch/sparc/dev/cgfour.c
+++ b/sys/arch/sparc/dev/cgfour.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cgfour.c,v 1.28 2008/12/26 22:30:21 miod Exp $ */
+/* $OpenBSD: cgfour.c,v 1.29 2010/06/07 19:43:45 miod Exp $ */
/* $NetBSD: cgfour.c,v 1.13 1997/05/24 20:16:06 pk Exp $ */
/*
@@ -162,7 +162,7 @@ cgfourattach(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;
}