From: Stephen Hemminger (rfeoc.qpjscgmdtu@gov.gg)
Date: Sun Sep 28 2003 - 07:01:49 EEST
gcc 3.3 complains that scc.c is trying to compare TIMER_OFF (65536U)
with mintime (unsigned char). Looks like the driver writer
should have used an unsigned short instead.
diff -Nru a/include/linux/scc.h b/include/linux/scc.h
--- a/include/linux/scc.h Sat Sep 27 20:57:30 2003
+++ b/include/linux/scc.h Sat Sep 27 20:57:30 2003
@@ -200,7 +200,7 @@
unsigned char fulldup; /* Full Duplex mode 0=CSMA 1=DUP 2=ALWAYS KEYED */
unsigned char waittime; /* Waittime before any transmit attempt */
unsigned int maxkeyup; /* Maximum time to transmit (seconds) */
- unsigned char mintime; /* Minimal offtime after MAXKEYUP timeout (seconds) */
+ unsigned short mintime; /* Minimal offtime after MAXKEYUP timeout (seconds) */
unsigned int idletime; /* Maximum idle time in ALWAYS KEYED mode (seconds) */
unsigned int maxdefer; /* Timer for CSMA channel busy limit */
unsigned char tx_inhibit; /* Transmit is not allowed when set */
-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to ivosqzrb.cfirmgn@newmex.com
More majordomo info at http://vger.kernel.org/majordomo-info.html
This archive was generated by hypermail 2b30 : Sun Sep 28 2003 - 07:02:19 EEST