The variable compwb is not defined if USE_TX_COMPWB is not defined. Also fixed is a trivial format warning. sign-off: walter --- linux-2.6.14/drivers/net/cassini.c.bak 2005-12-03 22:17:53.000000000 +0100 +++ linux-2.6.14/drivers/net/cassini.c 2005-12-03 22:41:33.000000000 +0100 @@ -1922,11 +1922,12 @@ u32 status) { int limit, ring; + u64 compwb=0; #ifdef USE_TX_COMPWB - u64 compwb = le64_to_cpu(cp->init_block->tx_compwb); + compwb = le64_to_cpu(cp->init_block->tx_compwb); #endif if (netif_msg_intr(cp)) - printk(KERN_DEBUG "%s: tx interrupt, status: 0x%x, %lx\n", + printk(KERN_DEBUG "%s: tx interrupt, status: 0x%x, %Lx\n", cp->dev->name, status, compwb); /* process all the rings */ for (ring = 0; ring < N_TX_RINGS; ring++) {