diff options
| author | 2010-06-07 19:43:45 +0000 | |
|---|---|---|
| committer | 2010-06-07 19:43:45 +0000 | |
| commit | 0e20603b971eb4ed263be90a07ce6d8101aaa89a (patch) | |
| tree | 200f71bd18ebb093b3f56aa04e21dcb4b75549e3 /sys/arch/sparc/dev/cgsix.c | |
| parent | Proper range check in radeon_emit_packets(); ok oga@ (diff) | |
| download | wireguard-openbsd-0e20603b971eb4ed263be90a07ce6d8101aaa89a.tar.xz wireguard-openbsd-0e20603b971eb4ed263be90a07ce6d8101aaa89a.zip | |
Nuke old eeprom.h compatibility defines; ok todd@
Diffstat (limited to 'sys/arch/sparc/dev/cgsix.c')
| -rw-r--r-- | sys/arch/sparc/dev/cgsix.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc/dev/cgsix.c b/sys/arch/sparc/dev/cgsix.c index b1f6849cc54..c38b4605ba5 100644 --- a/sys/arch/sparc/dev/cgsix.c +++ b/sys/arch/sparc/dev/cgsix.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cgsix.c,v 1.41 2009/09/05 14:09:35 miod Exp $ */ +/* $OpenBSD: cgsix.c,v 1.42 2010/06/07 19:43:45 miod Exp $ */ /* $NetBSD: cgsix.c,v 1.33 1997/08/07 19:12:30 pk Exp $ */ /* @@ -243,12 +243,12 @@ cgsixattach(struct device *parent, struct device *self, void *args) if (CPU_ISSUN4) { struct eeprom *eep = (struct eeprom *)eeprom_va; int constype = ISSET(sc->sc_sunfb.sf_flags, FB_PFOUR) ? - EE_CONS_P4OPT : EE_CONS_COLOR; + EED_CONS_P4 : EED_CONS_COLOR; /* * Assume this is the console if there's no eeprom info * to be found. */ - if (eep == NULL || eep->eeConsole == constype) + if (eep == NULL || eep->ee_diag.eed_console == constype) isconsole = 1; } #endif |
