]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/sun3lance.c
[PATCH] DM9000 - check for MAC left in by bootloader
[linux-2.6-omap-h63xx.git] / drivers / net / sun3lance.c
index 01bdb23340584bf6576d9a63b90f5a92645110df..a2fad50437e67a319a7e727ef6a6c42400824747 100644 (file)
@@ -55,7 +55,7 @@ static char *version = "sun3lance.c: v1.2 1/12/2001  Sam Creasey (sammy@sammy.ne
 /* sun3/60 addr/irq for the lance chip.  If your sun is different,
    change this. */
 #define LANCE_OBIO 0x120000
-#define LANCE_IRQ IRQ3
+#define LANCE_IRQ IRQ_AUTO_3
 
 /* Debug level:
  *  0 = silent, print only serious errors
@@ -71,7 +71,7 @@ static int lance_debug = LANCE_DEBUG;
 #else
 static int lance_debug = 1;
 #endif
-MODULE_PARM(lance_debug, "i");
+module_param(lance_debug, int, 0);
 MODULE_PARM_DESC(lance_debug, "SUN3 Lance debug level (0-3)");
 MODULE_LICENSE("GPL");