Rename the 'M_B' macro in t4_regs.h to 'CXGBE_M_B'.
This fixes a conflict with the M_B macro in powerpc's <machine/db_machdep.h> exposed by the recent addition of DDB commands to the cxgbe driver. Discussed with: np Reported by: bz Sponsored by: Chelsio Communications
This commit is contained in:
parent
87d8fcc80e
commit
b3b4ccc70a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=297863
@ -47301,9 +47301,9 @@
|
||||
#define A_MAC_PORT_PTP_OFFSET_ADJUST_FINE 0x9a4
|
||||
|
||||
#define S_B 16
|
||||
#define M_B 0xffffU
|
||||
#define CXGBE_M_B 0xffffU
|
||||
#define V_B(x) ((x) << S_B)
|
||||
#define G_B(x) (((x) >> S_B) & M_B)
|
||||
#define G_B(x) (((x) >> S_B) & CXGBE_M_B)
|
||||
|
||||
#define S_A 0
|
||||
#define M_A 0xffffU
|
||||
|
Loading…
Reference in New Issue
Block a user