提交 5f4f9dc1 编写于 作者: S shemminger@osdl.org 提交者: Jeff Garzik

[PATCH] sky2: update version number

Update version number and print version in boot message.
Signed-off-by: NStephen Hemminger <shemminger@osdl.org>
Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
上级 50241c4c
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
#include "sky2.h" #include "sky2.h"
#define DRV_NAME "sky2" #define DRV_NAME "sky2"
#define DRV_VERSION "0.7" #define DRV_VERSION "0.9"
#define PFX DRV_NAME " " #define PFX DRV_NAME " "
/* /*
...@@ -2948,8 +2948,8 @@ static int __devinit sky2_probe(struct pci_dev *pdev, ...@@ -2948,8 +2948,8 @@ static int __devinit sky2_probe(struct pci_dev *pdev,
if (err) if (err)
goto err_out_iounmap; goto err_out_iounmap;
printk(KERN_INFO PFX "addr 0x%lx irq %d Yukon-%s (0x%x) rev %d\n", printk(KERN_INFO PFX "v%s addr 0x%lx irq %d Yukon-%s (0x%x) rev %d\n",
pci_resource_start(pdev, 0), pdev->irq, DRV_VERSION, pci_resource_start(pdev, 0), pdev->irq,
yukon_name[hw->chip_id - CHIP_ID_YUKON], yukon_name[hw->chip_id - CHIP_ID_YUKON],
hw->chip_id, hw->chip_rev); hw->chip_id, hw->chip_rev);
...@@ -3120,3 +3120,4 @@ module_exit(sky2_cleanup_module); ...@@ -3120,3 +3120,4 @@ module_exit(sky2_cleanup_module);
MODULE_DESCRIPTION("Marvell Yukon 2 Gigabit Ethernet driver"); MODULE_DESCRIPTION("Marvell Yukon 2 Gigabit Ethernet driver");
MODULE_AUTHOR("Stephen Hemminger <shemminger@osdl.org>"); MODULE_AUTHOR("Stephen Hemminger <shemminger@osdl.org>");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_VERSION(DRV_VERSION);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册