summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/ttpci-budget/budget.h
diff options
context:
space:
mode:
authorMichael Hunold <devnull@localhost>2003-01-08 17:41:32 +0000
committerMichael Hunold <devnull@localhost>2003-01-08 17:41:32 +0000
commitd166085ef7eea32af71c4c20321f067a38bb394a (patch)
tree1cb9582a6374cdd92b69bd264d7fc7e1b1a43459 /linux/drivers/media/dvb/ttpci-budget/budget.h
parentc968f1b52110e481ca9e183729b3a6ad6a2d3aeb (diff)
downloadmediapointer-dvb-s2-d166085ef7eea32af71c4c20321f067a38bb394a.tar.gz
mediapointer-dvb-s2-d166085ef7eea32af71c4c20321f067a38bb394a.tar.bz2
Removed the whole "device<=>extension" matching crap, the pci subsystem
can do this much better. We now simply register one pci driver for every extension and are done with it -- if a device actually exists, the pci subsystem calls us back. That's it. Warning: this triggers a bug in the 2.5.x module subsystem -- you should *not* use the driver.av7110 script and modprobe the driver. You can a) build your kernel staticall b) insert the modules one by one with *insmod* I already filed a bug report to lkml. Fixed a bug in Kconfig which prevented the saa7146 modules from being build.
Diffstat (limited to 'linux/drivers/media/dvb/ttpci-budget/budget.h')
-rw-r--r--linux/drivers/media/dvb/ttpci-budget/budget.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/ttpci-budget/budget.h b/linux/drivers/media/dvb/ttpci-budget/budget.h
index 57cfcc22c..d22f9391c 100644
--- a/linux/drivers/media/dvb/ttpci-budget/budget.h
+++ b/linux/drivers/media/dvb/ttpci-budget/budget.h
@@ -22,6 +22,13 @@
#define DEB_EE(x)
#endif
+extern int budget_debug;
+
+struct budget_info {
+ char *name;
+ int type;
+};
+
/* place to store all the necessary device information */
struct budget_s {
@@ -32,7 +39,7 @@ struct budget_s {
struct saa7146_dev *dev;
struct dvb_i2c_bus *i2c_bus;
- struct saa7146_sub_info *card;
+ struct budget_info *card;
unsigned char *grabbing;
struct saa7146_pgtable pt;
@@ -69,7 +76,7 @@ struct budget_s {
int budget_probe(struct saa7146_dev *, unsigned int subvendor, unsigned int subdevice);
void budget_irq(struct saa7146_dev *, u32 *isr);
-int budget_attach (struct saa7146_dev* dev, struct saa7146_sub_info *info);
+int budget_attach (struct saa7146_dev* dev, struct saa7146_pci_extension_data *info);
int budget_detach (struct saa7146_dev *);
int budget_register(struct budget_s *budget);