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:
parent
f41ac2be93
commit
0304f1c01e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=118027
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user