Clarify the console checking comment.
This commit is contained in:
parent
ab38c1f30e
commit
3cb2b40395
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: cgsix_obio.c,v 1.19 2007/01/10 21:44:35 jdc Exp $ */
|
||||
/* $NetBSD: cgsix_obio.c,v 1.20 2007/02/08 20:30:50 jdc Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -41,7 +41,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: cgsix_obio.c,v 1.19 2007/01/10 21:44:35 jdc Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: cgsix_obio.c,v 1.20 2007/02/08 20:30:50 jdc Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -202,8 +202,8 @@ cgsixattach(struct device *parent, struct device *self, void *aux)
|
|||
constype = (fb->fb_flags & FB_PFOUR) ? EE_CONS_P4OPT : EE_CONS_COLOR;
|
||||
|
||||
/*
|
||||
* Assume this is the console if there's no eeprom info
|
||||
* to be found.
|
||||
* Check to see if this is the console if there's no eeprom info
|
||||
* to be found, or if it's the correct framebuffer type.
|
||||
*/
|
||||
if (eep == NULL || eep->eeConsole == constype)
|
||||
isconsole = fb_is_console(0);
|
||||
|
|
Loading…
Reference in New Issue