Messages in this thread Patch in this message | | | Subject | Re: [PATCH] More PCI fixes for 2.6.0-test2 | From | Greg KH <> | Date | Fri, 8 Aug 2003 17:32:14 -0700 |
| |
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/
| |