Mercurial > pt1.oyama
comparison driver/pt1_pci.c @ 90:c6311b6efd9c
- version string should be generated upon revision on mercurial repository
- version bump to 1.1.0 on other environment
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Wed, 27 Jan 2010 16:43:03 +0900 |
parents | 015481a6a900 |
children | ee357d8f987f |
comparison
equal
deleted
inserted
replaced
89:d74bcf2d255d | 90:c6311b6efd9c |
---|---|
1 /* pt1-pci.c: A PT1 on PCI bus driver for Linux. */ | 1 /* pt1-pci.c: A PT1 on PCI bus driver for Linux. */ |
2 #define DRV_NAME "pt1-pci" | 2 #define DRV_NAME "pt1-pci" |
3 #define DRV_VERSION "1.00" | 3 #include "version.h" |
4 #define DRV_RELDATE "11/28/2008" | |
5 | |
6 | 4 |
7 #include <linux/module.h> | 5 #include <linux/module.h> |
8 #include <linux/kernel.h> | 6 #include <linux/kernel.h> |
9 #include <linux/errno.h> | 7 #include <linux/errno.h> |
10 #include <linux/pci.h> | 8 #include <linux/pci.h> |
42 #include "pt1_tuner_data.h" | 40 #include "pt1_tuner_data.h" |
43 #include "pt1_ioctl.h" | 41 #include "pt1_ioctl.h" |
44 | 42 |
45 /* These identify the driver base version and may not be removed. */ | 43 /* These identify the driver base version and may not be removed. */ |
46 static char version[] __devinitdata = | 44 static char version[] __devinitdata = |
47 KERN_INFO DRV_NAME ".c:v" DRV_VERSION " " DRV_RELDATE " \n"; | 45 KERN_INFO DRV_NAME ".c: " DRV_VERSION " " DRV_RELDATE " \n"; |
48 | 46 |
49 MODULE_AUTHOR("Tomoaki Ishikawa tomy@users.sourceforge.jp"); | 47 MODULE_AUTHOR("Tomoaki Ishikawa tomy@users.sourceforge.jp and Yoshiki Yazawa yaz@honeyplanet.jp"); |
50 #define DRIVER_DESC "PCI earthsoft PT1 driver" | 48 #define DRIVER_DESC "PCI earthsoft PT1/2 driver" |
51 MODULE_DESCRIPTION(DRIVER_DESC); | 49 MODULE_DESCRIPTION(DRIVER_DESC); |
52 MODULE_LICENSE("GPL"); | 50 MODULE_LICENSE("GPL"); |
53 | 51 |
54 static int debug = 7; /* 1 normal messages, 0 quiet .. 7 verbose. */ | 52 static int debug = 7; /* 1 normal messages, 0 quiet .. 7 verbose. */ |
55 static int lnb = 0; /* LNB OFF:0 +11V:1 +15V:2 */ | 53 static int lnb = 0; /* LNB OFF:0 +11V:1 +15V:2 */ |