version 1.9.4.2, 2006/08/11 15:43:16 |
version 1.9.4.3, 2006/09/03 15:23:37 |
Line 76 __KERNEL_RCSID(0, "$NetBSD$"); |
|
Line 76 __KERNEL_RCSID(0, "$NetBSD$"); |
|
#if (NVESAFB > 0) |
#if (NVESAFB > 0) |
#include <arch/i386/bios/vesafbvar.h> |
#include <arch/i386/bios/vesafbvar.h> |
#endif |
#endif |
#include "unichromefb.h" |
|
#if (NUNICHROMEFB > 0) |
|
extern int unichromefb_cnattach(void); |
|
#endif |
|
#endif |
#endif |
|
|
#include "com.h" |
#include "com.h" |
|
|
#if (NPC > 0) || (NVGA > 0) || (NEGA > 0) || (NPCDISPLAY > 0) || (NVESAFB > 0) |
#if (NPC > 0) || (NVGA > 0) || (NEGA > 0) || (NPCDISPLAY > 0) || (NVESAFB > 0) |
if (!strcmp(consinfo->devname, "pc")) { |
if (!strcmp(consinfo->devname, "pc")) { |
int error; |
int error; |
|
|
#if (NUNICHROMEFB > 0) |
|
if (!unichromefb_cnattach()) |
|
goto dokbd; |
|
#endif |
|
#if (NVESAFB > 0) |
#if (NVESAFB > 0) |
if (!vesafb_cnattach()) |
if (!vesafb_cnattach()) |
goto dokbd; |
goto dokbd; |