patch-2.4.22 linux-2.4.22/drivers/net/pci-skeleton.c

Next file: linux-2.4.22/drivers/net/pcmcia/aironet4500_cs.c
Previous file: linux-2.4.22/drivers/net/ns83820.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/drivers/net/pci-skeleton.c linux-2.4.22/drivers/net/pci-skeleton.c
@@ -602,7 +602,7 @@
 	*ioaddr_out = NULL;
 	*dev_out = NULL;
 
-	/* dev zeroed in init_etherdev */
+	/* dev zeroed in alloc_etherdev */
 	dev = alloc_etherdev (sizeof (*tp));
 	if (dev == NULL) {
 		printk (KERN_ERR PFX "unable to alloc new ethernet\n");
@@ -789,7 +789,7 @@
 	dev->irq = pdev->irq;
 	dev->base_addr = (unsigned long) ioaddr;
 
-	/* dev->priv/tp zeroed and aligned in init_etherdev */
+	/* dev->priv/tp zeroed and aligned in alloc_etherdev */
 	tp = dev->priv;
 
 	/* note: tp->chipset set in netdrv_init_board */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)