git: 71ac18a84df2 - main - agp_amd64: Use <machine/pci_cfgreg.h> rather than bare prototypes
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 29 Nov 2023 18:34:41 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=71ac18a84df2771fb9bd91e2349eae91602c4e46
commit 71ac18a84df2771fb9bd91e2349eae91602c4e46
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-11-29 18:31:16 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-11-29 18:31:16 +0000
agp_amd64: Use <machine/pci_cfgreg.h> rather than bare prototypes
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D42826
---
sys/dev/agp/agp_amd64.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/sys/dev/agp/agp_amd64.c b/sys/dev/agp/agp_amd64.c
index bb413ef46b3a..117a22247998 100644
--- a/sys/dev/agp/agp_amd64.c
+++ b/sys/dev/agp/agp_amd64.c
@@ -46,12 +46,9 @@
#include <vm/pmap.h>
#include <machine/bus.h>
#include <machine/resource.h>
+#include <machine/pci_cfgreg.h>
#include <sys/rman.h>
-/* XXX */
-extern void pci_cfgregwrite(int, int, int, int, uint32_t, int);
-extern uint32_t pci_cfgregread(int, int, int, int, int);
-
static void agp_amd64_apbase_fixup(device_t);
static void agp_amd64_uli_init(device_t);