summaryrefslogtreecommitdiffstats
path: root/sys/pci/agp.c
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>2000-06-10 17:44:53 +0000
committerdfr <dfr@FreeBSD.org>2000-06-10 17:44:53 +0000
commit52b31c00bbaa851d76d91e89090c45135cf24174 (patch)
tree598ef00e6b366a21e85f5528d5393bad5d59b0b2 /sys/pci/agp.c
parent7946f9a6632feedb8b99ff54ccdfff624d81330b (diff)
downloadFreeBSD-src-52b31c00bbaa851d76d91e89090c45135cf24174.zip
FreeBSD-src-52b31c00bbaa851d76d91e89090c45135cf24174.tar.gz
Fix the AMD 751 AGP minidriver so that it works with my test code.
Diffstat (limited to 'sys/pci/agp.c')
-rw-r--r--sys/pci/agp.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/pci/agp.c b/sys/pci/agp.c
index e1d6583..0916e70 100644
--- a/sys/pci/agp.c
+++ b/sys/pci/agp.c
@@ -90,9 +90,13 @@ static devclass_t agp_devclass;
/* Helper functions for implementing chipset mini drivers. */
+void
+agp_flush_cache()
+{
#ifdef __i386__
-#define agp_flush_cache() wbinvd()
+ wbinvd();
#endif
+}
u_int8_t
agp_find_caps(device_t dev)
OpenPOWER on IntegriCloud