Skip to contentSkip to conversation

more gcc3.4 inline fixes [6/10]

PATCH New O.Sezer 1 participant 1 message Aug 17, 2004 Network drivers

lore
Share & tools
lore

O.Sezer

author
#0 lore raw

PATCH 1/1 more gcc3.4 inline fixes [6/10]

drivers/net/dmfe.c renamed from drivers/net/dmfe.c~ +14 -14
@@ -863,6 +863,20 @@
 
 
 /*
+ *	Calculate the CRC valude of the Rx packet
+ *	flag = 	1 : return the reverse CRC (for the received packet CRC)
+ *		0 : return the normal CRC (for Hash Table index)
+ */
+
+static inline u32 cal_CRC(unsigned char * Data, unsigned int Len, u8 flag)
+{
+	u32 crc = ether_crc_le(Len, Data);
+	if (flag) crc = ~crc;
+	return crc;
+}
+
+
+/*
  *	Receive the come packet and pass to upper layer
  */
 
@@ -1753,20 +1767,6 @@
 
 
 /*
- *	Calculate the CRC valude of the Rx packet
- *	flag = 	1 : return the reverse CRC (for the received packet CRC)
- *		0 : return the normal CRC (for Hash Table index)
- */
-
-static inline u32 cal_CRC(unsigned char * Data, unsigned int Len, u8 flag)
-{
-	u32 crc = ether_crc_le(Len, Data);
-	if (flag) crc = ~crc;
-	return crc;
-}
-
-
-/*
  *	Parser SROM and media mode
  */
 
drivers/net/hamachi.c renamed from drivers/net/hamachi.c~ +103 -103

218 lines not on this page · raw message

drivers/net/smc9194.c renamed from drivers/net/smc9194.c~ +125 -125

262 lines not on this page · raw message

drivers/net/eql.c renamed from drivers/net/eql.c~ +168 -166

370 lines not on this page · raw message

drivers/net/e100/e100_main.c renamed from drivers/net/e100/e100_main.c~ +136 -136

296 lines not on this page · raw message

drivers/net/e1000/e1000_main.c renamed from drivers/net/e1000/e1000_main.c~ +63 -63

150 lines not on this page · raw message

drivers/net/hamradio/dmascc.c renamed from drivers/net/hamradio/dmascc.c~ +118 -119

270 lines not on this page · raw message