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.
This commit is contained in:
Bill Paul 2003-07-25 20:33:43 +00:00
parent f41ac2be93
commit 0304f1c01e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=118027
2 changed files with 0 additions and 7 deletions

View File

@ -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>

View File

@ -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