patch-2.3.99-pre8 linux/drivers/net/skfp/h/fplustm.h

Next file: linux/drivers/net/skfp/h/osdef1st.h
Previous file: linux/drivers/net/skfp/fplustm.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre7/linux/drivers/net/skfp/h/fplustm.h linux/drivers/net/skfp/h/fplustm.h
@@ -54,12 +54,12 @@
  *	Transmit Descriptor struct
  */
 struct s_smt_fp_txd {
-	u_long txd_tbctrl ;		/* transmit buffer control */
-	u_long txd_txdscr ;		/* transmit frame status word */
-	u_long txd_tbadr ;		/* physical tx buffer address */
-	u_long txd_ntdadr ;		/* physical pointer to the next TxD */
+	u_int txd_tbctrl ;		/* transmit buffer control */
+	u_int txd_txdscr ;		/* transmit frame status word */
+	u_int txd_tbadr ;		/* physical tx buffer address */
+	u_int txd_ntdadr ;		/* physical pointer to the next TxD */
 #ifdef	ENA_64BIT_SUP
-	u_long txd_tbadr_hi ;		/* physical tx buffer addr (high dword)*/
+	u_int txd_tbadr_hi ;		/* physical tx buffer addr (high dword)*/
 #endif
 	char far *txd_virt ;		/* virtual pointer to the data frag */
 					/* virt pointer to the next TxD */
@@ -71,12 +71,12 @@
  *	Receive Descriptor struct
  */
 struct s_smt_fp_rxd {
-	u_long rxd_rbctrl ;		/* receive buffer control */
-	u_long rxd_rfsw ;		/* receive frame status word */
-	u_long rxd_rbadr ;		/* physical rx buffer address */
-	u_long rxd_nrdadr ;		/* physical pointer to the next RxD */
+	u_int rxd_rbctrl ;		/* receive buffer control */
+	u_int rxd_rfsw ;		/* receive frame status word */
+	u_int rxd_rbadr ;		/* physical rx buffer address */
+	u_int rxd_nrdadr ;		/* physical pointer to the next RxD */
 #ifdef	ENA_64BIT_SUP
-	u_long rxd_rbadr_hi ;		/* physical tx buffer addr (high dword)*/
+	u_int rxd_rbadr_hi ;		/* physical tx buffer addr (high dword)*/
 #endif
 	char far *rxd_virt ;		/* virtual pointer to the data frag */
 					/* virt pointer to the next RxD */
@@ -259,8 +259,10 @@
 				 (((x)>> 8L)&0x0000ff00L)	+	\
 				 (((x)>>24L)&0x000000ffL))
 #else
+#ifndef AIX_REVERSE
 #define	AIX_REVERSE(x)	(x)
 #endif
+#endif
 
 #ifdef	MDR_REV	
 #define	MDR_REVERSE(x)		((((x)<<24L)&0xff000000L)	+	\
@@ -268,7 +270,9 @@
 				 (((x)>> 8L)&0x0000ff00L)	+	\
 				 (((x)>>24L)&0x000000ffL))
 #else
+#ifndef MDR_REVERSE
 #define	MDR_REVERSE(x)	(x)
+#endif
 #endif
 
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)