diff options
Diffstat (limited to 'drivers/net/via-velocity.c')
-rw-r--r-- | drivers/net/via-velocity.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/net/via-velocity.c b/drivers/net/via-velocity.c index c93f58f5c6f2..f15485efe40e 100644 --- a/drivers/net/via-velocity.c +++ b/drivers/net/via-velocity.c | |||
@@ -361,7 +361,7 @@ static struct velocity_info_tbl chip_info_table[] = { | |||
361 | * Describe the PCI device identifiers that we support in this | 361 | * Describe the PCI device identifiers that we support in this |
362 | * device driver. Used for hotplug autoloading. | 362 | * device driver. Used for hotplug autoloading. |
363 | */ | 363 | */ |
364 | static const struct pci_device_id velocity_id_table[] __devinitdata = { | 364 | static DEFINE_PCI_DEVICE_TABLE(velocity_id_table) = { |
365 | { PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_612X) }, | 365 | { PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_612X) }, |
366 | { } | 366 | { } |
367 | }; | 367 | }; |
@@ -2702,10 +2702,8 @@ static void __devinit velocity_print_info(struct velocity_info *vptr) | |||
2702 | struct net_device *dev = vptr->dev; | 2702 | struct net_device *dev = vptr->dev; |
2703 | 2703 | ||
2704 | printk(KERN_INFO "%s: %s\n", dev->name, get_chip_name(vptr->chip_id)); | 2704 | printk(KERN_INFO "%s: %s\n", dev->name, get_chip_name(vptr->chip_id)); |
2705 | printk(KERN_INFO "%s: Ethernet Address: %2.2X:%2.2X:%2.2X:%2.2X:%2.2X:%2.2X\n", | 2705 | printk(KERN_INFO "%s: Ethernet Address: %pM\n", |
2706 | dev->name, | 2706 | dev->name, dev->dev_addr); |
2707 | dev->dev_addr[0], dev->dev_addr[1], dev->dev_addr[2], | ||
2708 | dev->dev_addr[3], dev->dev_addr[4], dev->dev_addr[5]); | ||
2709 | } | 2707 | } |
2710 | 2708 | ||
2711 | static u32 velocity_get_link(struct net_device *dev) | 2709 | static u32 velocity_get_link(struct net_device *dev) |