Go to the documentation of this file.
23 #include <asm/byteorder.h>
25 #ifdef __LITTLE_ENDIAN
38 #define MB_OUTSIDE_SMC
52 #define SMT_PANIC(smc, nr, msg) printk(KERN_INFO "SMT PANIC: code: %d, msg: %s\n",nr,msg)
56 #define printf(s,args...) printk(KERN_INFO s, ## args)
68 #define NUM_RECEIVE_BUFFERS 10
71 #define NUM_TRANSMIT_BUFFERS 10
77 #define HWM_ASYNC_TXD_COUNT (NUM_TRANSMIT_BUFFERS + NUM_SMT_BUF)
80 #define HWM_SYNC_TXD_COUNT HWM_ASYNC_TXD_COUNT
85 #if (NUM_RECEIVE_BUFFERS > 100)
86 #define SMT_R1_RXD_COUNT (1 + 100)
88 #define SMT_R1_RXD_COUNT (1 + NUM_RECEIVE_BUFFERS)
92 #define SMT_R2_RXD_COUNT 0 // Not used.
124 #define AIX_REVERSE(x) ((u32)le32_to_cpu((u32)(x)))
125 #define MDR_REVERSE(x) ((u32)le32_to_cpu((u32)(x)))