Messages in this thread Patch in this message | | | Date | Mon, 21 Feb 2000 13:24:47 +0100 | From | Henrik Nordstrom <> | Subject | 2.3.47 tulip.c compile error [patch] |
| |
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); } | |