diff options
author | dfr <dfr@FreeBSD.org> | 2000-06-10 17:44:53 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2000-06-10 17:44:53 +0000 |
commit | 52b31c00bbaa851d76d91e89090c45135cf24174 (patch) | |
tree | 598ef00e6b366a21e85f5528d5393bad5d59b0b2 /sys/dev/agp/agp.c | |
parent | 7946f9a6632feedb8b99ff54ccdfff624d81330b (diff) | |
download | FreeBSD-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/dev/agp/agp.c')
-rw-r--r-- | sys/dev/agp/agp.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/agp/agp.c b/sys/dev/agp/agp.c index e1d6583..0916e70 100644 --- a/sys/dev/agp/agp.c +++ b/sys/dev/agp/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) |