Module Name: src Committed By: riastradh Date: Mon Aug 27 07:34:54 UTC 2018
Modified Files: src/sys/dev/pci: agp.c Log Message: Fill struct agp_info::ai_devid with the PCI id. To generate a diff of this commit: cvs rdiff -u -r1.84 -r1.85 src/sys/dev/pci/agp.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/dev/pci/agp.c diff -u src/sys/dev/pci/agp.c:1.84 src/sys/dev/pci/agp.c:1.85 --- src/sys/dev/pci/agp.c:1.84 Mon Feb 27 14:13:56 2017 +++ src/sys/dev/pci/agp.c Mon Aug 27 07:34:54 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: agp.c,v 1.84 2017/02/27 14:13:56 msaitoh Exp $ */ +/* $NetBSD: agp.c,v 1.85 2018/08/27 07:34:54 riastradh Exp $ */ /*- * Copyright (c) 2000 Doug Rabson @@ -65,7 +65,7 @@ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: agp.c,v 1.84 2017/02/27 14:13:56 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: agp.c,v 1.85 2018/08/27 07:34:54 riastradh Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -1155,6 +1155,7 @@ agp_get_info(void *devcookie, struct agp info->ai_aperture_size = sc->as_apsize; /* XXXfvdl inconsistent */ info->ai_memory_allowed = sc->as_maxmem; info->ai_memory_used = sc->as_allocated; + info->ai_devid = sc->as_id; } int