aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/dvb/dvb-usb/dib07x0.h
diff options
context:
space:
mode:
authorPatrick Boettcher <pb@linuxtv.org>2006-09-19 12:51:37 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-10-03 15:12:33 -0300
commitb7f54910ce018f93a74211136be46c09cefd80e2 (patch)
tree404512b641f6a9d1b6cce6ddf152e19f1bc702e7 /drivers/media/dvb/dvb-usb/dib07x0.h
parent136cafbf4a024b52ba0a10627217f03cea9ff9f8 (diff)
V4L/DVB (4647): Added module for DiB0700 based devices
Added module for DiB0700 based USB devices. This module is preliminary and untested (because of a lack of test devices) but should work. Further commits will be necessary to make it work properly. Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/dib07x0.h')
-rw-r--r--drivers/media/dvb/dvb-usb/dib07x0.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/media/dvb/dvb-usb/dib07x0.h b/drivers/media/dvb/dvb-usb/dib07x0.h
new file mode 100644
index 00000000000..7e62c101852
--- /dev/null
+++ b/drivers/media/dvb/dvb-usb/dib07x0.h
@@ -0,0 +1,21 @@
+#ifndef _DIB07X0_H_
+#define _DIB07X0_H_
+
+enum dib07x0_gpios {
+ GPIO0 = 0,
+ GPIO1 = 2,
+ GPIO2 = 3,
+ GPIO3 = 4,
+ GPIO4 = 5,
+ GPIO5 = 6,
+ GPIO6 = 8,
+ GPIO7 = 10,
+ GPIO8 = 11,
+ GPIO9 = 14,
+ GPIO10 = 15,
+};
+
+#define GPIO_IN 0
+#define GPIO_OUT 1
+
+#endif