Created
April 30, 2024 11:15
-
-
Save NCommander/3659937fa10444805637b08b1e871ef0 to your computer and use it in GitHub Desktop.
Stub things out lcg patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/sys/arch/vax/vsa/lcg.c b/sys/arch/vax/vsa/lcg.c | |
index 0178c069cb08..30f297c3e4e1 100644 | |
--- a/sys/arch/vax/vsa/lcg.c | |
+++ b/sys/arch/vax/vsa/lcg.c | |
@@ -457,6 +457,8 @@ lcg_attach(struct device *parent, struct device *self, void *aux) | |
struct vsbus_attach_args *va = aux; | |
struct wsemuldisplaydev_attach_args aa; | |
+ return; | |
+ | |
printf("\n"); | |
aa.console = lcgaddr != NULL; | |
@@ -697,6 +699,8 @@ lcg_ioctl(void *v, void *vs, u_long cmd, void *data, int flag, struct lwp *l) | |
struct wsdisplay_fbinfo *fb = (void *)data; | |
int i; | |
+ return 0; | |
+ | |
switch (cmd) { | |
case WSDISPLAYIO_GTYPE: | |
*(u_int *)data = WSDISPLAY_TYPE_LCG; | |
@@ -924,6 +928,7 @@ lcgcninit(struct consdev *cndev) | |
{ | |
int i; | |
/* Clear screen */ | |
+ return; | |
memset(lcgaddr, LCG_BG_COLOR, lcg_xsize * lcg_ysize); | |
curscr = &lcg_conscreen; | |
@@ -956,6 +961,8 @@ lcgcnprobe(struct consdev *cndev) | |
if (vax_confdata & 0x100) | |
return; /* Diagnostic console */ | |
+ return; | |
+ | |
lcg_init_common(NULL, NULL); | |
/* Set up default LUT */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment