Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Fill struct agp_info::ai_devid with the PCI id.
details: https://anonhg.NetBSD.org/src/rev/3b0ddc62cc29
branches: trunk
changeset: 366016:3b0ddc62cc29
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Aug 27 07:34:54 2018 +0000
description:
Fill struct agp_info::ai_devid with the PCI id.
diffstat:
sys/dev/pci/agp.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 0b76d645cef9 -r 3b0ddc62cc29 sys/dev/pci/agp.c
--- a/sys/dev/pci/agp.c Mon Aug 27 07:34:41 2018 +0000
+++ b/sys/dev/pci/agp.c Mon Aug 27 07:34:54 2018 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index