aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sky2.c
diff options
context:
space:
mode:
authorshemminger@osdl.org <shemminger@osdl.org>2005-11-30 11:45:23 -0800
committerJeff Garzik <jgarzik@pobox.com>2005-12-01 02:20:21 -0500
commit5f4f9dc113a7aedca072851f3a51cc563f8e143f (patch)
treed5d7af1fdd5669a1d57911911bb5502ff45fdb77 /drivers/net/sky2.c
parent[PATCH] sky2: use pci_register_driver (diff)
downloadlinux-dev-5f4f9dc113a7aedca072851f3a51cc563f8e143f.tar.xz
linux-dev-5f4f9dc113a7aedca072851f3a51cc563f8e143f.zip
[PATCH] sky2: update version number
Update version number and print version in boot message. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/sky2.c')
-rw-r--r--drivers/net/sky2.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c
index aa79ad4376dd..a1884b472cd0 100644
--- a/drivers/net/sky2.c
+++ b/drivers/net/sky2.c
@@ -58,7 +58,7 @@
#include "sky2.h"
#define DRV_NAME "sky2"
-#define DRV_VERSION "0.7"
+#define DRV_VERSION "0.9"
#define PFX DRV_NAME " "
/*
@@ -2948,8 +2948,8 @@ static int __devinit sky2_probe(struct pci_dev *pdev,
if (err)
goto err_out_iounmap;
- printk(KERN_INFO PFX "addr 0x%lx irq %d Yukon-%s (0x%x) rev %d\n",
- pci_resource_start(pdev, 0), pdev->irq,
+ printk(KERN_INFO PFX "v%s addr 0x%lx irq %d Yukon-%s (0x%x) rev %d\n",
+ DRV_VERSION, pci_resource_start(pdev, 0), pdev->irq,
yukon_name[hw->chip_id - CHIP_ID_YUKON],
hw->chip_id, hw->chip_rev);
@@ -3120,3 +3120,4 @@ module_exit(sky2_cleanup_module);
MODULE_DESCRIPTION("Marvell Yukon 2 Gigabit Ethernet driver");
MODULE_AUTHOR("Stephen Hemminger <shemminger@osdl.org>");
MODULE_LICENSE("GPL");
+MODULE_VERSION(DRV_VERSION);