summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-usb/dvb-usb.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/dvb/dvb-usb/dvb-usb.h')
-rw-r--r--linux/drivers/media/dvb/dvb-usb/dvb-usb.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/dvb-usb.h b/linux/drivers/media/dvb/dvb-usb/dvb-usb.h
index d7835721b..7f08936ce 100644
--- a/linux/drivers/media/dvb/dvb-usb/dvb-usb.h
+++ b/linux/drivers/media/dvb/dvb-usb/dvb-usb.h
@@ -25,8 +25,8 @@
do { if ((var & level)) { printk(args); } } while (0)
#define debug_dump(b,l,func) {\
- int i; \
- for (i = 0; i < l; i++) func("%02x ", b[i]); \
+ int loop_; \
+ for (loop_ = 0; loop_ < l; loop_++) func("%02x ", b[loop_]); \
func("\n");\
}
#define DVB_USB_DEBUG_STATUS
@@ -79,10 +79,13 @@ struct dvb_usb_properties {
int (*pid_filter) (struct dvb_usb_device *, int, u16, int); /* if the device has a hardware pid filter */
int (*pid_filter_ctrl) (struct dvb_usb_device *, int); /* if the device has a hardware pid filter to en-/disable */
+ int (*read_mac_address) (struct dvb_usb_device *, u8 []); /* callback for reading the MAC address */
+
int (*power_ctrl) (struct dvb_usb_device *, int); /* power control callback of the device */
int (*frontend_attach) (struct dvb_usb_device *); /* each device has to know about its frontends */
+
struct dvb_usb_device_description * (*identify_desc_quirk) (void); /* the device is not distinuishable just by its USB IDs */
#define USB_REMOTE_PROTO_NO 1