diff options
author | wpaul <wpaul@FreeBSD.org> | 2003-07-25 20:33:43 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 2003-07-25 20:33:43 +0000 |
commit | 781dee906ac31deb0e767d5b36cc800e521819aa (patch) | |
tree | 7a68530050f99f0dbe7850606ceeac66fef77b78 /sys/dev/bge | |
parent | d2e08a5636107ffb2f7c5cfbbf2a7c7903042bcf (diff) | |
download | FreeBSD-src-781dee906ac31deb0e767d5b36cc800e521819aa.zip FreeBSD-src-781dee906ac31deb0e767d5b36cc800e521819aa.tar.gz |
Remove alpha vtophys() hack from if_bgereg.h and clean up unneeded
#includes formerly required to pull in vtophys support, since we
don't need them anymore.
Diffstat (limited to 'sys/dev/bge')
-rw-r--r-- | sys/dev/bge/if_bge.c | 2 | ||||
-rw-r--r-- | sys/dev/bge/if_bgereg.h | 5 |
2 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/bge/if_bge.c b/sys/dev/bge/if_bge.c index b37eef4..85c4376 100644 --- a/sys/dev/bge/if_bge.c +++ b/sys/dev/bge/if_bge.c @@ -91,8 +91,6 @@ __FBSDID("$FreeBSD$"); #include <netinet/in.h> #include <netinet/ip.h> -#include <vm/vm.h> /* for vtophys */ -#include <vm/pmap.h> /* for vtophys */ #include <machine/clock.h> /* for DELAY */ #include <machine/bus_memio.h> #include <machine/bus.h> diff --git a/sys/dev/bge/if_bgereg.h b/sys/dev/bge/if_bgereg.h index ef6693c..ea09921 100644 --- a/sys/dev/bge/if_bgereg.h +++ b/sys/dev/bge/if_bgereg.h @@ -2288,8 +2288,3 @@ struct bge_softc { char *bge_vpd_prodname; char *bge_vpd_readonly; }; - -#ifdef __alpha__ -#undef vtophys -#define vtophys(va) alpha_XXX_dmamap((vm_offset_t)va) -#endif |