| To: | jgarzik@xxxxxxxxx |
|---|---|
| Subject: | [PATCH 2.6.8.1-mm4 7/11] r8169: comment a gcc 2.95.x bug |
| From: | Francois Romieu <romieu@xxxxxxxxxxxxx> |
| Date: | Tue, 24 Aug 2004 00:53:35 +0200 |
| Cc: | akpm@xxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <20040823225120.GF20726@xxxxxxxxxxxxxxxxxxxxxxxxxx> |
| References: | <20040823224100.GA14680@xxxxxxxxxxxxxxxxxxxxxxxxxx> <20040823224425.GA20726@xxxxxxxxxxxxxxxxxxxxxxxxxx> <20040823224548.GB20726@xxxxxxxxxxxxxxxxxxxxxxxxxx> <20040823224706.GC20726@xxxxxxxxxxxxxxxxxxxxxxxxxx> <20040823224813.GD20726@xxxxxxxxxxxxxxxxxxxxxxxxxx> <20040823224927.GE20726@xxxxxxxxxxxxxxxxxxxxxxxxxx> <20040823225120.GF20726@xxxxxxxxxxxxxxxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.4.1i |
gcc 2.95.3 bug has been experienced on gcc 2.95.4.
Signed-off-by: Francois Romieu <romieu@xxxxxxxxxxxxx>
diff -puN drivers/net/r8169.c~r8169-070 drivers/net/r8169.c
--- linux-2.6.8.1/drivers/net/r8169.c~r8169-070 2004-08-23 23:30:03.000000000
+0200
+++ linux-2.6.8.1-fr/drivers/net/r8169.c 2004-08-23 23:30:03.000000000
+0200
@@ -1575,7 +1575,7 @@ rtl8169_start_xmit(struct sk_buff *skb,
tp->Tx_skbuff[entry] = skb;
tp->TxDescArray[entry].addr = cpu_to_le64(mapping);
- /* anti gcc 2.95.3 bugware */
+ /* anti gcc 2.95.[3/4] bugware - do not merge these lines */
status = DescOwn | FirstFrag | LastFrag | len |
(RingEnd * !((entry + 1) % NUM_TX_DESC));
tp->TxDescArray[entry].opts1 = cpu_to_le32(status);
_
|
| Previous by Date: | [PATCH 2.6.8.1-mm4 5/11] r8169: bump version number, Francois Romieu |
|---|---|
| Next by Date: | [PATCH 2.6.8.1-mm4 6/11] r8169: sync the names of a few bits with the 8139cp driver, Francois Romieu |
| Previous by Thread: | [PATCH 2.6.8.1-mm4 6/11] r8169: sync the names of a few bits with the 8139cp driver, Francois Romieu |
| Next by Thread: | [PATCH 2.6.8.1-mm4 8/11] r8169: Tx checksum offload, Francois Romieu |
| Indexes: | [Date] [Thread] [Top] [All Lists] |