aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/3c59x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/3c59x.c')
-rw-r--r--drivers/net/3c59x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/3c59x.c b/drivers/net/3c59x.c
index b4168dfd6893..3893f505fb5f 100644
--- a/drivers/net/3c59x.c
+++ b/drivers/net/3c59x.c
@@ -1025,7 +1025,7 @@ static int __devinit vortex_probe1(struct device *gendev,
1025 } 1025 }
1026 1026
1027 if ((edev = DEVICE_EISA(gendev))) { 1027 if ((edev = DEVICE_EISA(gendev))) {
1028 print_name = edev->dev.bus_id; 1028 print_name = dev_name(&edev->dev);
1029 } 1029 }
1030 } 1030 }
1031 1031
@@ -2883,7 +2883,7 @@ static void vortex_get_drvinfo(struct net_device *dev,
2883 strcpy(info->bus_info, pci_name(VORTEX_PCI(vp))); 2883 strcpy(info->bus_info, pci_name(VORTEX_PCI(vp)));
2884 } else { 2884 } else {
2885 if (VORTEX_EISA(vp)) 2885 if (VORTEX_EISA(vp))
2886 sprintf(info->bus_info, vp->gendev->bus_id); 2886 sprintf(info->bus_info, dev_name(vp->gendev));
2887 else 2887 else
2888 sprintf(info->bus_info, "EISA 0x%lx %d", 2888 sprintf(info->bus_info, "EISA 0x%lx %d",
2889 dev->base_addr, dev->irq); 2889 dev->base_addr, dev->irq);