Re: 3c509 2.4.2-ac12 compilation fails

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Mon Mar 05 2001 - 18:37:17 EST


Greg Louis wrote:
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.2ac12/include -Wall
> -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
> -march=i686 -c -o 3c509.o 3c509.c
> 3c509.c: In function 'el3_probe':
> 3c509.c:330: structure has no member named 'name'

hrm, I wonder if a patch got dropped before I sent it to Alan. It not
only compiles locally, but works on my router at home :)

> --- drivers/net/3c509.c~ Mon Mar 5 17:41:37 2001
> +++ drivers/net/3c509.c Mon Mar 5 17:52:57 2001
> @@ -326,8 +326,8 @@
> return -EBUSY;
> 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);
> + printk ("ISAPnP reports %d at i/o 0x%x, irq %d\n",
> + el3_isapnp_adapters[i].card_device, ioaddr,

That should be s/name/driver_data/...

/me begins to download and merge ac12...

-- 
Jeff Garzik       | "You see, in this world there's two kinds of
Building 1024     |  people, my friend: Those with loaded guns
MandrakeSoft      |  and those who dig. You dig."  --Blondie
-
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 : Wed Mar 07 2001 - 21:00:18 EST