diff options
author | jhb <jhb@FreeBSD.org> | 2006-05-12 05:04:46 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2006-05-12 05:04:46 +0000 |
commit | 0f921e0992f543c4aafd5604a99a6edaa059ff36 (patch) | |
tree | 9e7fa374ce86cf10beca9d2dca94fc077a700745 /sys/dev/agp | |
parent | 95826ec6b414b9b651fe4cf4b08cf9e0e16a11f2 (diff) | |
download | FreeBSD-src-0f921e0992f543c4aafd5604a99a6edaa059ff36.zip FreeBSD-src-0f921e0992f543c4aafd5604a99a6edaa059ff36.tar.gz |
Remove various bits of conditional Alpha code and fixup a few comments.
Diffstat (limited to 'sys/dev/agp')
-rw-r--r-- | sys/dev/agp/agp.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/dev/agp/agp.c b/sys/dev/agp/agp.c index a0deb5f..b4ef386 100644 --- a/sys/dev/agp/agp.c +++ b/sys/dev/agp/agp.c @@ -90,12 +90,6 @@ agp_flush_cache() #if defined(__i386__) || defined(__amd64__) wbinvd(); #endif -#ifdef __alpha__ - /* FIXME: This is most likely not correct as it doesn't flush CPU - * write caches, but we don't have a facility to do that and - * this is all linux does, too */ - alpha_mb(); -#endif } u_int8_t @@ -507,10 +501,6 @@ agp_generic_bind_memory(device_t dev, struct agp_memory *mem, /* * Bind the individual pages and flush the chipset's * TLB. - * - * XXX Presumably, this needs to be the pci address on alpha - * (i.e. use alpha_XXX_dmamap()). I don't have access to any - * alpha AGP hardware to check. */ VM_OBJECT_LOCK(mem->am_obj); for (i = 0; i < mem->am_size; i += PAGE_SIZE) { |