diff options
Diffstat (limited to 'drivers/media/dvb/siano/sms-cards.h')
-rw-r--r-- | drivers/media/dvb/siano/sms-cards.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/media/dvb/siano/sms-cards.h b/drivers/media/dvb/siano/sms-cards.h index c8f3da6f9bc1..8e0fe9fd2610 100644 --- a/drivers/media/dvb/siano/sms-cards.h +++ b/drivers/media/dvb/siano/sms-cards.h | |||
@@ -32,14 +32,27 @@ | |||
32 | #define SMS1XXX_BOARD_HAUPPAUGE_OKEMO_A 6 | 32 | #define SMS1XXX_BOARD_HAUPPAUGE_OKEMO_A 6 |
33 | #define SMS1XXX_BOARD_HAUPPAUGE_OKEMO_B 7 | 33 | #define SMS1XXX_BOARD_HAUPPAUGE_OKEMO_B 7 |
34 | #define SMS1XXX_BOARD_HAUPPAUGE_WINDHAM 8 | 34 | #define SMS1XXX_BOARD_HAUPPAUGE_WINDHAM 8 |
35 | #define SMS1XXX_BOARD_HAUPPAUGE_TIGER_MINICARD 9 | ||
36 | #define SMS1XXX_BOARD_HAUPPAUGE_TIGER_MINICARD_R2 10 | ||
35 | 37 | ||
36 | struct sms_board { | 38 | struct sms_board { |
37 | enum sms_device_type_st type; | 39 | enum sms_device_type_st type; |
38 | char *name, *fw[DEVICE_MODE_MAX]; | 40 | char *name, *fw[DEVICE_MODE_MAX]; |
41 | |||
42 | /* gpios */ | ||
43 | int led_power, led_hi, led_lo, lna_ctrl; | ||
39 | }; | 44 | }; |
40 | 45 | ||
41 | struct sms_board *sms_get_board(int id); | 46 | struct sms_board *sms_get_board(int id); |
42 | 47 | ||
48 | int sms_board_setup(struct smscore_device_t *coredev); | ||
49 | |||
50 | #define SMS_LED_OFF 0 | ||
51 | #define SMS_LED_LO 1 | ||
52 | #define SMS_LED_HI 2 | ||
53 | int sms_board_led_feedback(struct smscore_device_t *coredev, int led); | ||
54 | int sms_board_power(struct smscore_device_t *coredev, int onoff); | ||
55 | |||
43 | extern struct usb_device_id smsusb_id_table[]; | 56 | extern struct usb_device_id smsusb_id_table[]; |
44 | 57 | ||
45 | #endif /* __SMS_CARDS_H__ */ | 58 | #endif /* __SMS_CARDS_H__ */ |