lkml.org 
[lkml]   [2003]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: [PATCH] More PCI fixes for 2.6.0-test2
From
Date
ChangeSet 1.1119.1.2, 2003/08/06 15:41:35-07:00, greg@kroah.com

[PATCH] PCI: make eepro100 driver use pci_name() instead of dev.name.


drivers/net/eepro100.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/drivers/net/eepro100.c b/drivers/net/eepro100.c
--- a/drivers/net/eepro100.c Fri Aug 8 17:25:11 2003
+++ b/drivers/net/eepro100.c Fri Aug 8 17:25:11 2003
@@ -743,7 +743,7 @@
if (eeprom[3] & 0x0100)
product = "OEM i82557/i82558 10/100 Ethernet";
else
- product = pdev->dev.name;
+ product = pci_name(pdev);

printk(KERN_INFO "%s: %s, ", dev->name, product);

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.045 / U:0.680 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site