[media] mceusb: tivo transceiver should default to tivo keymap

Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Jarod Wilson 2011-03-24 12:59:10 -03:00 коммит произвёл Mauro Carvalho Chehab
Родитель d0ff237133
Коммит d8ee99e799
1 изменённых файлов: 7 добавлений и 1 удалений

Просмотреть файл

@ -149,6 +149,7 @@ enum mceusb_model_type {
POLARIS_EVK, POLARIS_EVK,
CX_HYBRID_TV, CX_HYBRID_TV,
MULTIFUNCTION, MULTIFUNCTION,
TIVO_KIT,
}; };
struct mceusb_model { struct mceusb_model {
@ -197,6 +198,10 @@ static const struct mceusb_model mceusb_model[] = {
.mce_gen2 = 1, .mce_gen2 = 1,
.ir_intfnum = 2, .ir_intfnum = 2,
}, },
[TIVO_KIT] = {
.mce_gen2 = 1,
.rc_map = RC_MAP_TIVO,
},
}; };
static struct usb_device_id mceusb_dev_table[] = { static struct usb_device_id mceusb_dev_table[] = {
@ -308,7 +313,8 @@ static struct usb_device_id mceusb_dev_table[] = {
/* Northstar Systems, Inc. eHome Infrared Transceiver */ /* Northstar Systems, Inc. eHome Infrared Transceiver */
{ USB_DEVICE(VENDOR_NORTHSTAR, 0xe004) }, { USB_DEVICE(VENDOR_NORTHSTAR, 0xe004) },
/* TiVo PC IR Receiver */ /* TiVo PC IR Receiver */
{ USB_DEVICE(VENDOR_TIVO, 0x2000) }, { USB_DEVICE(VENDOR_TIVO, 0x2000),
.driver_info = TIVO_KIT },
/* Conexant Hybrid TV "Shelby" Polaris SDK */ /* Conexant Hybrid TV "Shelby" Polaris SDK */
{ USB_DEVICE(VENDOR_CONEXANT, 0x58a1), { USB_DEVICE(VENDOR_CONEXANT, 0x58a1),
.driver_info = POLARIS_EVK }, .driver_info = POLARIS_EVK },