diff options
author | Manu Abraham <abraham.manu@gmail.com> | 2009-12-02 20:07:24 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-01-17 08:55:28 -0500 |
commit | df0cca174b4d85ea041509a13e5e68b377758bf1 (patch) | |
tree | 1e35b52b855b4bb3d2359e04dbe70a0cce6df836 /drivers/media/dvb/mantis/mantis_common.h | |
parent | bd1fcac0148fb4a44395227edb0ff8ee31e09de1 (diff) |
V4L/DVB (13706): [MB86A16] Overhaul
* better ISR handling
* I2C fixes
* better handling of configurations
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/mantis/mantis_common.h')
-rw-r--r-- | drivers/media/dvb/mantis/mantis_common.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/drivers/media/dvb/mantis/mantis_common.h b/drivers/media/dvb/mantis/mantis_common.h index ba360f884967..60a7457b2b98 100644 --- a/drivers/media/dvb/mantis/mantis_common.h +++ b/drivers/media/dvb/mantis/mantis_common.h | |||
@@ -65,10 +65,19 @@ | |||
65 | #define mmaor(dat, addr) mmwrite((dat) | ((mask) & mmread(addr)), addr) | 65 | #define mmaor(dat, addr) mmwrite((dat) | ((mask) & mmread(addr)), addr) |
66 | 66 | ||
67 | 67 | ||
68 | struct mantis_hwconfig { | ||
69 | char *model_name; | ||
70 | char *dev_type; | ||
71 | }; | ||
72 | |||
73 | |||
68 | struct mantis_pci { | 74 | struct mantis_pci { |
69 | /* PCI stuff */ | 75 | /* PCI stuff */ |
70 | u16 vendor_id; | 76 | u16 vendor_id; |
71 | u16 device_id; | 77 | u16 device_id; |
78 | u16 subsystem_vendor; | ||
79 | u16 subsystem_device; | ||
80 | |||
72 | u8 latency; | 81 | u8 latency; |
73 | 82 | ||
74 | struct pci_dev *pdev; | 83 | struct pci_dev *pdev; |
@@ -110,7 +119,7 @@ struct mantis_pci { | |||
110 | 119 | ||
111 | u8 feeds; | 120 | u8 feeds; |
112 | 121 | ||
113 | struct mantis_config *config; | 122 | struct mantis_hwconfig *hwconfig; |
114 | 123 | ||
115 | u32 mantis_int_stat; | 124 | u32 mantis_int_stat; |
116 | u32 mantis_int_mask; | 125 | u32 mantis_int_mask; |
@@ -121,7 +130,8 @@ struct mantis_pci { | |||
121 | u32 sub_device_id; | 130 | u32 sub_device_id; |
122 | 131 | ||
123 | /* A12 A13 A14 */ | 132 | /* A12 A13 A14 */ |
124 | int gpio_status;}; | 133 | int gpio_status; |
134 | }; | ||
125 | 135 | ||
126 | extern unsigned int verbose; | 136 | extern unsigned int verbose; |
127 | extern unsigned int devs; | 137 | extern unsigned int devs; |