diff options
author | bz <bz@FreeBSD.org> | 2014-09-30 16:55:19 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2014-09-30 16:55:19 +0000 |
commit | d2b170eeddec67d497373ad60908e5094d294fe1 (patch) | |
tree | b986994bcbd7029c0e839f013289d8925c4fc532 /sys/dev/ixl/i40e_osdep.h | |
parent | 618d8006d27a8673d0df01ba900fe9b83c1ea046 (diff) | |
download | FreeBSD-src-d2b170eeddec67d497373ad60908e5094d294fe1.zip FreeBSD-src-d2b170eeddec67d497373ad60908e5094d294fe1.tar.gz |
MFC 271745,271834,271899,271900,271913,272022,272023:
Revert changes to shared code of the ixl and ixlv drivers to allow
for easier long-term maintainability.
Restrict the drivers to building on amd64 for now as it is
only tested on that 64bit architecture.
Just depend on PCI and neither INET nor INET6; also make sure we
can build individual drivers and they do not depend on each other
anymore.
Reviewed by: gnn, eric.joyner intel.com
PR: 193824
Approved by: re (gjb)
Diffstat (limited to 'sys/dev/ixl/i40e_osdep.h')
-rwxr-xr-x | sys/dev/ixl/i40e_osdep.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/dev/ixl/i40e_osdep.h b/sys/dev/ixl/i40e_osdep.h index 3bae167..97908ba 100755 --- a/sys/dev/ixl/i40e_osdep.h +++ b/sys/dev/ixl/i40e_osdep.h @@ -170,9 +170,6 @@ struct i40e_hw; /* forward decl */ u16 i40e_read_pci_cfg(struct i40e_hw *, u32); void i40e_write_pci_cfg(struct i40e_hw *, u32, u16); -#define i40e_allocate_dma_mem(h, m, unused, s, a) i40e_allocate_dma(h, m, s, a) -#define i40e_free_dma_mem(h, m) i40e_free_dma(h, m) - #define i40e_debug(h, m, s, ...) i40e_debug_d(h, m, s, ##__VA_ARGS__) extern void i40e_debug_d(void *hw, u32 mask, char *fmt_str, ...); @@ -180,8 +177,6 @@ struct i40e_virt_mem { void *va; u32 size; }; -#define i40e_allocate_virt_mem(h, m, s) i40e_allocate_virt(h, m, s) -#define i40e_free_virt_mem(h, m) i40e_free_virt(h, m) /* ** This hardware supports either 16 or 32 byte rx descriptors |