hp100: make it compile with debugging

From: Pavel Machek (pavel@ucw.cz)
Date: Tue Dec 10 2002 - 16:57:57 EST


Hi!

This is neccessary if you want hp100 to compile with debugging, please
apply.

                                                                Pavel

--- clean/drivers/net/hp100.c 2002-11-23 19:55:22.000000000 +0100
+++ linux-swsusp/drivers/net/hp100.c 2002-12-09 21:19:48.000000000 +0100
@@ -2096,6 +2094,7 @@
         struct hp100_private *lp = (struct hp100_private *) dev->priv;
 
 #ifdef HP100_DEBUG_B
+ int ioaddr = dev->base_addr;
         hp100_outw(0x4216, TRACE);
         printk("hp100: %s: misc_interrupt\n", dev->name);
 #endif

-- 
Worst form of spam? Adding advertisment signatures ala sourceforge.net.
What goes next? Inserting advertisment *into* email?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Dec 15 2002 - 22:00:23 EST