mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
2 changed files with 0 additions and 7 deletions
|
|
@ -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 a new issue