[Sussex] Driver Patch
Rob Clegg
robclegg at baulchgroup.co.uk
Tue May 20 09:12:01 UTC 2003
Hello Guy's,
I was wondering if one of you could help me with a problem, I'm messing about with Debian Woody on an Sunsparc Ultra 2 (I wont to re-employ it as a Counter-Strike server) and the sunhme driver keeps locking up. I've managed to locate a patch for it but am not entirly sure what to do with it! Here's the patch;
--- drivers/net/sunhme.c.orig Mon Jul 15 02:38:27 2002
+++ drivers/net/sunhme.c Mon Jul 15 03:09:03 2002
@@ -1983,6 +1983,7 @@
}
hp->tx_old = elem;
TXD((">"));
+ udelay(1);
if (netif_queue_stopped(dev) &&
TX_BUFFS_AVAIL(hp) > (MAX_SKB_FRAGS + 1))
I imagine I need to change the sunhme.c file before I recompile the kernel. Does the @@ -1983,6 +1983,7 @@ mean take out six lines from 1983 including 1983 and replace them with these seven lines?
Here's lines 1863 to 1873 of my original sunhme.c.
hp->net_stats.tx_packets++;
}
hp->tx_old = elem;
TXD((">"));
if (netif_queue_stopped(dev) &&
TX_BUFFS_AVAIL(hp) > (MAX_SKB_FRAGS + 1))
netif_wake_queue(dev);
}
Cheers,
Rob Clegg
More information about the Sussex
mailing list