2.3.47 tulip.c compile error [patch]

From: Henrik Nordstrom (henrik.nordstrom@edt.ericsson.se)
Date: Mon Feb 21 2000 - 07:24:47 EST


tulip.c: In function `outl_CSR6':
tulip.c:948: structure has no member named `lock'
(should be tx_lock, patch attached)

There are also some warnings (not patched)

tulip.c: In function `tulip_timer':
tulip.c:1483: warning: `mleaf' might be used uninitialized in this
function
tulip.c:1484: warning: `p' might be used uninitialized in this function
tulip.c: At top level:
tulip.c:151: warning: `max_interrupt_work' defined but not used
tulip.c:171: warning: `reverse_probe' defined but not used
tulip.c:3147: warning: `tulip_init' defined but not used
tulip.c:3153: warning: `tulip_cleanup' defined but not used


--- linux/drivers/net/tulip.c.orig Mon Feb 21 12:39:43 2000
+++ linux/drivers/net/tulip.c Mon Feb 21 12:39:57 2000
@@ -945,7 +945,7 @@
         /* now it is safe to change csr6 */
         outl (newcsr6, ioaddr + CSR6);
 
- spin_unlock_irqrestore (&tp->lock, flags);
+ spin_unlock_irqrestore (&tp->tx_lock, flags);
 }
 
 

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:27 EST