Module Name: src Committed By: riastradh Date: Thu Feb 27 15:31:06 UTC 2025
Modified Files: src/sys/arch/vax/vsa: lcg.c Log Message: vax/lcg(4): Fix device_t/softc split straggler. PR port-vax/59109: Booting 10.1 fails on Microvax 3100 model 80 (Probably won't fix the immediate problem but might fix some related ones.) To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/arch/vax/vsa/lcg.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/vax/vsa/lcg.c diff -u src/sys/arch/vax/vsa/lcg.c:1.11 src/sys/arch/vax/vsa/lcg.c:1.12 --- src/sys/arch/vax/vsa/lcg.c:1.11 Sat Dec 10 19:50:43 2022 +++ src/sys/arch/vax/vsa/lcg.c Thu Feb 27 15:31:06 2025 @@ -1,4 +1,4 @@ -/* $NetBSD: lcg.c,v 1.11 2022/12/10 19:50:43 jakllsch Exp $ */ +/* $NetBSD: lcg.c,v 1.12 2025/02/27 15:31:06 riastradh Exp $ */ /* * LCG accelerated framebuffer driver * Copyright (c) 2003, 2004 Blaz Antonic @@ -34,7 +34,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: lcg.c,v 1.11 2022/12/10 19:50:43 jakllsch Exp $"); +__KERNEL_RCSID(0, "$NetBSD: lcg.c,v 1.12 2025/02/27 15:31:06 riastradh Exp $"); #define LCG_NO_ACCEL @@ -974,7 +974,7 @@ lcg_init_common(struct device *self, str int cookie; struct wsdisplay_font *wf; - struct lcg_softc *sc = (void *)self; + struct lcg_softc *sc = device_private(self); bus_dma_segment_t seg; int rseg, err; void *fifo_mem_vaddr;