aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2012-10-17 21:30:16 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2012-10-17 21:30:16 +0000
commit9e7df381487e6e5404a19979dbb19fcfcc20aa4c (patch)
treeef6120387542eff6570d11686bbc07256f17cd57 /sys/dev
parent8675ac22d6acf10cd6c837f8b008176b73be3ef3 (diff)
downloadsrc-9e7df381487e6e5404a19979dbb19fcfcc20aa4c.tar.gz
src-9e7df381487e6e5404a19979dbb19fcfcc20aa4c.zip
Don't redefine macros defined in if.h and ethernet.h.
Notes
Notes: svn path=/head/; revision=241652
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/nve/if_nvereg.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/nve/if_nvereg.h b/sys/dev/nve/if_nvereg.h
index b6346690d1ae..788beb146077 100644
--- a/sys/dev/nve/if_nvereg.h
+++ b/sys/dev/nve/if_nvereg.h
@@ -186,10 +186,6 @@ struct nve_type {
#define NVE_UNLOCK(_sc) mtx_unlock(&(_sc)->mtx)
#define NVE_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->mtx, MA_OWNED)
-#define IF_Kbps(x) ((x) * 1000) /* kilobits/sec. */
-#define IF_Mbps(x) (IF_Kbps((x) * 1000)) /* megabits/sec. */
-#define ETHER_ALIGN 2
-
extern int ADAPTER_ReadPhy (PVOID pContext, ULONG ulPhyAddr, ULONG ulReg, ULONG *pulVal);
extern int ADAPTER_WritePhy (PVOID pContext, ULONG ulPhyAddr, ULONG ulReg, ULONG ulVal);
extern int ADAPTER_Init (PVOID pContext, USHORT usForcedSpeed, UCHAR ucForceDpx, UCHAR ucForceMode, UINT *puiLinkState);