PATCH - compile fix for 3c509.c in 2.4.3-pre3

From: Neil Brown (neilb@cse.unsw.edu.au)
Date: Mon Mar 12 2001 - 20:18:45 EST


Linus,
 in 2.4.3-pre3, drivers/net/3c509.c will not compile ifdef CONFIG_ISAPNP.

 The following patches fixes the error. I suspect that 3c515.c has
 the same problem, but I didn't need to fix that to get my kernel to
 build... so I didn't.

NeilBrown

--- ./drivers/net/3c509.c 2001/03/12 00:39:58 1.1
+++ ./drivers/net/3c509.c 2001/03/12 01:31:13 1.2
@@ -327,7 +327,7 @@
                         irq = idev->irq_resource[0].start;
                         if (el3_debug > 3)
                                 printk ("ISAPnP reports %s at i/o 0x%x, irq %d\n",
- el3_isapnp_adapters[i].name, ioaddr, irq);
+ (char *)el3_isapnp_adapters[i].driver_data, ioaddr, irq);
                         EL3WINDOW(0);
                         for (j = 0; j < 3; j++)
                                 el3_isapnp_phys_addr[pnp_cards][j] =
-
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 : Thu Mar 15 2001 - 21:00:14 EST