Skip to content

Instantly share code, notes, and snippets.

@NCommander
Created April 30, 2024 04:21
Show Gist options
  • Save NCommander/cb56928e842c4a8ab9052ac696ec8f8a to your computer and use it in GitHub Desktop.
Save NCommander/cb56928e842c4a8ab9052ac696ec8f8a to your computer and use it in GitHub Desktop.
diff --git a/sys/arch/vax/vsa/lcg.c b/sys/arch/vax/vsa/lcg.c
index 8f1cacba7eed..844b40c38b4e 100644
--- a/sys/arch/vax/vsa/lcg.c
+++ b/sys/arch/vax/vsa/lcg.c
@@ -436,7 +436,10 @@ lcg_match(struct device *parent, struct cfdata *match, void *aux)
struct vsbus_attach_args *va = aux;
char *ch = (char *)va->va_addr;
- if ((vax_boardtype != VAX_BTYP_46) && (vax_boardtype != VAX_BTYP_48))
+ if ((vax_boardtype != VAX_BTYP_46) && \
+ (vax_boardtype != VAX_BTYP_48) &&
+ (vax_siedata & 1)) { /* check for microvax */
+
return 0;
*ch = 1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment