Module Name: src Committed By: andvar Date: Wed Aug 30 09:17:46 UTC 2023
Modified Files: src/sys/arch/arc/isa: opms_isa.c Log Message: fix build for arc PCCONS/RPC44 kernel configs by replacing *pccons_isa_conf definition with pccons_isavar.h include, which has extern declaration for it. Discussed fix with phone@ via irc. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/arch/arc/isa/opms_isa.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/arc/isa/opms_isa.c diff -u src/sys/arch/arc/isa/opms_isa.c:1.12 src/sys/arch/arc/isa/opms_isa.c:1.13 --- src/sys/arch/arc/isa/opms_isa.c:1.12 Fri Jul 1 19:25:41 2011 +++ src/sys/arch/arc/isa/opms_isa.c Wed Aug 30 09:17:46 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: opms_isa.c,v 1.12 2011/07/01 19:25:41 dyoung Exp $ */ +/* $NetBSD: opms_isa.c,v 1.13 2023/08/30 09:17:46 andvar Exp $ */ /* * Copyright (c) 1995, 1996 Carnegie-Mellon University. @@ -28,7 +28,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: opms_isa.c,v 1.12 2011/07/01 19:25:41 dyoung Exp $"); +__KERNEL_RCSID(0, "$NetBSD: opms_isa.c,v 1.13 2023/08/30 09:17:46 andvar Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -42,6 +42,7 @@ __KERNEL_RCSID(0, "$NetBSD: opms_isa.c,v #include <arc/dev/pcconsvar.h> #include <arc/dev/opmsvar.h> +#include <arc/isa/pccons_isavar.h> static int opms_isa_match(device_t, cfdata_t, void *); static void opms_isa_attach(device_t, device_t, void *); @@ -49,8 +50,6 @@ static void opms_isa_attach(device_t, de CFATTACH_DECL_NEW(opms_isa, sizeof(struct opms_softc), opms_isa_match, opms_isa_attach, NULL, NULL); -struct pccons_config *pccons_isa_conf; /* share stroage with pccons_isa.c */ - static int opms_isa_match(device_t parent, cfdata_t cf, void *aux) {