Skip to content

Commit

Permalink
[PATCH] sky2: update version number
Browse files Browse the repository at this point in the history
Update version number and print version in boot message.

Signed-off-by: Stephen Hemminger <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
  • Loading branch information
[email protected] authored and jgarzik committed Dec 1, 2005
1 parent 50241c4 commit 5f4f9dc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions drivers/net/sky2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 " "

/*
Expand Down Expand Up @@ -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);

Expand Down Expand Up @@ -3120,3 +3120,4 @@ module_exit(sky2_cleanup_module);
MODULE_DESCRIPTION("Marvell Yukon 2 Gigabit Ethernet driver");
MODULE_AUTHOR("Stephen Hemminger <[email protected]>");
MODULE_LICENSE("GPL");
MODULE_VERSION(DRV_VERSION);

0 comments on commit 5f4f9dc

Please sign in to comment.