* [patch 1/3 2.5] e100 - Use pci_device_name for syslog messages till registering netdevice
@ 2004-09-17 9:53 Ganesh Venkatesan
2004-09-17 14:29 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: Ganesh Venkatesan @ 2004-09-17 9:53 UTC (permalink / raw)
To: jgarzik; +Cc: ganesh.venkatesan, netdev
diff -up linux-2.5/drivers/net/e100.c linux-2.5/drivers/net/e100.c.new
--- linux-2.5/drivers/net/e100.c 2004-09-09 14:51:31.000000000 -0700
+++ linux-2.5/drivers/net/e100.c.new 2004-09-09 14:51:32.000000000 -0700
@@ -2173,6 +2173,7 @@ static int __devinit e100_probe(struct p
#ifdef CONFIG_NET_POLL_CONTROLLER
netdev->poll_controller = e100_netpoll;
#endif
+ strcpy(netdev->name, pci_name(pdev));
nic = netdev_priv(netdev);
nic->netdev = netdev;
@@ -2256,6 +2257,7 @@ static int __devinit e100_probe(struct p
pci_enable_wake(pdev, 0, nic->flags & (wol_magic | e100_asf(nic)));
+ strcpy(netdev->name, "eth%d");
if((err = register_netdev(netdev))) {
DPRINTK(PROBE, ERR, "Cannot register net device, aborting.\n");
goto err_out_free;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch 1/3 2.5] e100 - Use pci_device_name for syslog messages till registering netdevice
2004-09-17 9:53 [patch 1/3 2.5] e100 - Use pci_device_name for syslog messages till registering netdevice Ganesh Venkatesan
@ 2004-09-17 14:29 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2004-09-17 14:29 UTC (permalink / raw)
To: Ganesh Venkatesan; +Cc: netdev
applied 3 patches to 2.6.x.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-09-17 14:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-17 9:53 [patch 1/3 2.5] e100 - Use pci_device_name for syslog messages till registering netdevice Ganesh Venkatesan
2004-09-17 14:29 ` Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).