diff options
Diffstat (limited to 'drivers/net/sunhme.c')
| -rw-r--r-- | drivers/net/sunhme.c | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/drivers/net/sunhme.c b/drivers/net/sunhme.c index d837b3c35723..f02fe4119b2c 100644 --- a/drivers/net/sunhme.c +++ b/drivers/net/sunhme.c | |||
| @@ -13,9 +13,6 @@ | |||
| 13 | * argument : macaddr=0x00,0x10,0x20,0x30,0x40,0x50 | 13 | * argument : macaddr=0x00,0x10,0x20,0x30,0x40,0x50 |
| 14 | */ | 14 | */ |
| 15 | 15 | ||
| 16 | static char version[] = | ||
| 17 | "sunhme.c:v2.02 24/Aug/2003 David S. Miller (davem@redhat.com)\n"; | ||
| 18 | |||
| 19 | #include <linux/config.h> | 16 | #include <linux/config.h> |
| 20 | #include <linux/module.h> | 17 | #include <linux/module.h> |
| 21 | #include <linux/kernel.h> | 18 | #include <linux/kernel.h> |
| @@ -67,15 +64,24 @@ static char version[] = | |||
| 67 | 64 | ||
| 68 | #include "sunhme.h" | 65 | #include "sunhme.h" |
| 69 | 66 | ||
| 67 | #define DRV_NAME "sunhme" | ||
| 68 | #define DRV_VERSION "2.02" | ||
| 69 | #define DRV_RELDATE "8/24/03" | ||
| 70 | #define DRV_AUTHOR "David S. Miller (davem@redhat.com)" | ||
| 71 | |||
| 72 | static char version[] = | ||
| 73 | DRV_NAME ".c:v" DRV_VERSION " " DRV_RELDATE " " DRV_AUTHOR "\n"; | ||
| 70 | 74 | ||
| 71 | #define DRV_NAME "sunhme" | 75 | MODULE_VERSION(DRV_VERSION); |
| 76 | MODULE_AUTHOR(DRV_AUTHOR); | ||
| 77 | MODULE_DESCRIPTION("Sun HappyMealEthernet(HME) 10/100baseT ethernet driver"); | ||
| 78 | MODULE_LICENSE("GPL"); | ||
| 72 | 79 | ||
| 73 | static int macaddr[6]; | 80 | static int macaddr[6]; |
| 74 | 81 | ||
| 75 | /* accept MAC address of the form macaddr=0x08,0x00,0x20,0x30,0x40,0x50 */ | 82 | /* accept MAC address of the form macaddr=0x08,0x00,0x20,0x30,0x40,0x50 */ |
| 76 | module_param_array(macaddr, int, NULL, 0); | 83 | module_param_array(macaddr, int, NULL, 0); |
| 77 | MODULE_PARM_DESC(macaddr, "Happy Meal MAC address to set"); | 84 | MODULE_PARM_DESC(macaddr, "Happy Meal MAC address to set"); |
| 78 | MODULE_LICENSE("GPL"); | ||
| 79 | 85 | ||
| 80 | static struct happy_meal *root_happy_dev; | 86 | static struct happy_meal *root_happy_dev; |
| 81 | 87 | ||
