diff options
Diffstat (limited to 'linux/drivers/media/video/em28xx/em28xx-cards.c')
-rw-r--r-- | linux/drivers/media/video/em28xx/em28xx-cards.c | 310 |
1 files changed, 3 insertions, 307 deletions
diff --git a/linux/drivers/media/video/em28xx/em28xx-cards.c b/linux/drivers/media/video/em28xx/em28xx-cards.c index 57d88e44f..a375c79cc 100644 --- a/linux/drivers/media/video/em28xx/em28xx-cards.c +++ b/linux/drivers/media/video/em28xx/em28xx-cards.c @@ -144,7 +144,7 @@ struct em2820_board em2820_boards[] = { .tuner_type = TUNER_PHILIPS_PAL, .tda9887_conf = TDA9887_PRESENT|TDA9887_PORT1_ACTIVE|TDA9887_PORT2_ACTIVE, .has_tuner = 1, - .decoder = EM2820_SAA7114, + .decoder = EM2820_SAA7114, .input = {{ .type = EM2820_VMUX_TELEVISION, .vmux = 2, @@ -251,6 +251,7 @@ void em2820_card_setup(struct em2820 *dev) struct tveeprom tv; #ifdef CONFIG_MODULES request_module("tveeprom"); + request_module("ir-kbd-i2c"); #endif /* Call first TVeeprom */ @@ -261,312 +262,7 @@ void em2820_card_setup(struct em2820 *dev) dev->has_msp34xx=1; } else dev->has_msp34xx=0; #if 0 - em2820_write_regs_req(dev,0x02,0x88,"\x12\x00\x13\x0f\x60",5); - em2820_write_regs_req(dev,0x02,0x88,"\x12\x00\x0b\x02\x20",5); - em2820_write_regs_req(dev,0x00,0x0f,"\x07",1); - em2820_write_regs_req(dev,0x02,0x88,"\x12\x00\x00\x00\x00",5); - em2820_write_regs_req(dev,0x00,0x08,"\xff",1); - em2820_write_regs_req(dev,0x00,0x06,"\x40",1); - em2820_write_regs_req(dev,0x00,0x15,"\x20",1); - em2820_write_regs_req(dev,0x00,0x16,"\x20",1); - em2820_write_regs_req(dev,0x00,0x17,"\x20",1); - em2820_write_regs_req(dev,0x00,0x18,"\x00",1); - em2820_write_regs_req(dev,0x00,0x19,"\x00",1); - em2820_write_regs_req(dev,0x00,0x1a,"\x00",1); - em2820_write_regs_req(dev,0x00,0x23,"\x00",1); - em2820_write_regs_req(dev,0x00,0x24,"\x00",1); - em2820_write_regs_req(dev,0x00,0x26,"\x00",1); - em2820_write_regs_req(dev,0x00,0x13,"\x08",1); - em2820_write_regs_req(dev,0x00,0x12,"\x27",1); - em2820_write_regs_req(dev,0x00,0x0c,"\x10",1); - em2820_write_regs_req(dev,0x00,0x27,"\x34",1); - em2820_write_regs_req(dev,0x00,0x10,"\x00",1); - em2820_write_regs_req(dev,0x00,0x11,"\x11",1); - em2820_write_regs_req(dev,0x00,0x28,"\x01",1); - em2820_write_regs_req(dev,0x00,0x29,"\xaf",1); - em2820_write_regs_req(dev,0x00,0x2a,"\x01",1); - em2820_write_regs_req(dev,0x00,0x2b,"\x3b",1); - em2820_write_regs_req(dev,0x00,0x1c,"\x08",1); - em2820_write_regs_req(dev,0x00,0x1d,"\x0d",1); - em2820_write_regs_req(dev,0x00,0x1e,"\xb0",1); - em2820_write_regs_req(dev,0x00,0x1f,"\x3c",1); - em2820_write_regs_req(dev,0x00,0x1b,"\x00",1); - em2820_write_regs_req(dev,0x00,0x1b,"\x00",1); - em2820_write_regs_req(dev,0x00,0x26,"\x10",1); - em2820_write_regs_req(dev,0x00,0x30,"\x99\x01",2); - em2820_write_regs_req(dev,0x02,0xb8,"\x0f\x02",2); - em2820_write_regs_req(dev,0x02,0xb8,"\x27\x20",2); - em2820_write_regs_req(dev,0x02,0xb8,"\x1a\x0c",2); - em2820_write_regs_req(dev,0x02,0xb8,"\x04\xc0",2); - em2820_write_regs_req(dev,0x02,0xb8,"\x28\x06",2); - em2820_write_regs_req(dev,0x02,0xb8,"\x1b\x54",2); - em2820_write_regs_req(dev,0x02,0xb8,"\x0d\x47",2); - em2820_write_regs_req(dev,0x02,0xb8,"\x28\x00",2); - em2820_write_regs_req(dev,0x02,0xb8,"\x30\x01",2); - em2820_write_regs_req(dev,0x02,0xc6,"\x0f\xb0\x8e\x02\xb0",5); - em2820_write_regs_req(dev,0x02,0x86,"\x00\x14\x10\x44",4); - em2820_write_regs_req(dev,0x02,0x88,"\x12\x00\x0e\x35\x03",5); - em2820_write_regs_req(dev,0x02,0x88,"\x12\x00\x10\x5a\x00",5); - em2820_write_regs_req(dev,0x02,0x88,"\x12\x00\x0d\x1e\x00",5); - em2820_write_regs_req(dev,0x02,0x88,"\x10\x00\x40\x00\x01",5); - em2820_write_regs_req(dev,0x02,0xb8,"\x03\x6f",2); - em2820_write_regs_req(dev,0x02,0xb8,"\x00\x00",2); - em2820_write_regs_req(dev,0x00,0x21,"\x14",1); - em2820_write_regs_req(dev,0x00,0x20,"\x10",1); - em2820_write_regs_req(dev,0x02,0xb8,"\x0b\x00",2); - em2820_write_regs_req(dev,0x00,0x22,"\x10",1); - em2820_write_regs_req(dev,0x00,0x14,"\x32",1); - em2820_write_regs_req(dev,0x00,0x25,"\x02",1); - em2820_write_regs_req(dev,0x00,0x26,"\x10",1); - em2820_write_regs_req(dev,0x02,0xb8,"\x88",1); - em2820_write_regs_req(dev,0x00,0x27,"\x34",1); - em2820_write_regs_req(dev,0x00,0x0c,"\x10",1); - em2820_write_regs_req(dev,0x00,0x12,"\x67",1); - em2820_write_regs_req(dev,0x00,0x22,"\x10",1); - em2820_write_regs_req(dev,0x00,0x20,"\x10",1); - em2820_write_regs_req(dev,0x00,0x0c,"\x10",1); - em2820_write_regs_req(dev,0x02,0x88,"\x12\x00\x13\x0f\x60",5); - em2820_write_regs_req(dev,0x02,0x88,"\x12\x00\x0b\x02\x20",5); - em2820_write_regs_req(dev,0x00,0x0f,"\x07",1); - em2820_write_regs_req(dev,0x02,0x88,"\x12\x00\x00\x00\x00",5); - em2820_write_regs_req(dev,0x00,0x08,"\xff",1); - em2820_write_regs_req(dev,0x00,0x08,"\xff",1); - em2820_write_regs_req(dev,0x00,0x08,"\xff",1); - em2820_write_regs_req(dev,0x03,0xa0,"\x0a",1); - em2820_write_regs_req(dev,0x03,0xa0,"\x0a",1); - em2820_write_regs_req(dev,0x02,0x88,"\x00\x80\x00",3); - em2820_write_regs_req(dev,0x02,0x88,"\x00\x00\x00",3); - em2820_write_regs_req(dev,0x03,0x88,"\x13\x00\x1f",3); - em2820_write_regs_req(dev,0x00,0x08,"\xf7",1); - em2820_write_regs_req(dev,0x02,0x60,"\x0a",1); - em2820_write_regs_req(dev,0x02,0x60,"\x0b",1); - em2820_write_regs_req(dev,0x00,0x08,"\xff",1); - em2820_write_regs_req(dev,0x02,0xc6,"\x0f\xb0\x8e\x02\xb0",5); - em2820_write_regs_req(dev,0x02,0x86,"\x00\x14\x10\x44",4); - em2820_write_regs_req(dev,0x02,0x88,"\x12\x00\x13\x0f\x60",5); - em2820_write_regs_req(dev,0x02,0x88,"\x12\x00\x0b\x02\x20",5); - em2820_write_regs_req(dev,0x00,0x0f,"\x07",1); - em2820_write_regs_req(dev,0x02,0x88,"\x12\x00\x00\x00\x00",5); - em2820_write_regs_req(dev,0x03,0xa0,"\x32",1); - em2820_write_regs_req(dev,0x03,0xa0,"\x36",1); - em2820_write_regs_req(dev,0x03,0xa0,"\x38",1); - em2820_write_regs_req(dev,0x03,0xa0,"\x39",1); - em2820_write_regs_req(dev,0x03,0xa0,"\x3a",1); - em2820_write_regs_req(dev,0x03,0xa0,"\x3b",1); - em2820_write_regs_req(dev,0x03,0xa0,"\x3c",1); - em2820_write_regs_req(dev,0x03,0xa0,"\x3d",1); - em2820_write_regs_req(dev,0x00,0x12,"\x25",1); - em2820_write_regs_req(dev,0x00,0x0d,"\x42",1); - em2820_write_regs_req(dev,0x00,0x12,"\x27",1); - em2820_write_regs_req(dev,0x00,0x0c,"\x00",1); - em2820_write_regs_req(dev,0x00,0x20,"\x00",1); - em2820_write_regs_req(dev,0x00,0x22,"\x00",1); - em2820_write_regs_req(dev,0x00,0x12,"\x27",1); - em2820_write_regs_req(dev,0x00,0x0c,"\x00",1); - em2820_write_regs_req(dev,0x00,0x08,"\xff",1); - em2820_write_regs_req(dev,0x02,0xb8,"\x03\x6f",2); - em2820_write_regs_req(dev,0x02,0xb8,"\x00\x00",2); - em2820_write_regs_req(dev,0x00,0x20,"\x00",1); - em2820_write_regs_req(dev,0x00,0x22,"\x00",1); - em2820_write_regs_req(dev,0x00,0x12,"\x27",1); - em2820_write_regs_req(dev,0x00,0x0c,"\x00",1); - em2820_write_regs_req(dev,0x00,0x08,"\xff",1); - em2820_write_regs_req(dev,0x02,0x88,"\x12\x00\x13\x0f\x60",5); - em2820_write_regs_req(dev,0x02,0x88,"\x12\x00\x0b\x02\x20",5); - em2820_write_regs_req(dev,0x00,0x0f,"\x07",1); - em2820_write_regs_req(dev,0x02,0x88,"\x12\x00\x00\x00\x00",5); - em2820_write_regs_req(dev,0x02,0xc6,"\x0f\xb0\x8e\x02\xb0",5); - em2820_write_regs_req(dev,0x02,0x86,"\x00\x14\x10\x44",4); - em2820_write_regs_req(dev,0x02,0x88,"\x12\x00\x13\x0f\x60",5); - em2820_write_regs_req(dev,0x02,0x88,"\x12\x00\x0b\x02\x20",5); - em2820_write_regs_req(dev,0x00,0x0f,"\x07",1); - em2820_write_regs_req(dev,0x02,0x88,"\x12\x00\x00\x00\x00",5); - em2820_write_regs_req(dev,0x00,0x20,"\x00",1); - em2820_write_regs_req(dev,0x00,0x22,"\x00",1); - em2820_write_regs_req(dev,0x00,0x12,"\x25",1); - em2820_write_regs_req(dev,0x00,0x0c,"\x00",1); - em2820_write_regs_req(dev,0x00,0x08,"\xff",1); - em2820_write_regs_req(dev,0x02,0xb8,"\x03\x6f",2); - em2820_write_regs_req(dev,0x02,0xb8,"\x00\x00",2); - em2820_write_regs_req(dev,0x00,0x08,"\xff",1); - em2820_write_regs_req(dev,0x00,0x06,"\x40",1); - em2820_write_regs_req(dev,0x00,0x15,"\x20",1); - em2820_write_regs_req(dev,0x00,0x16,"\x20",1); - em2820_write_regs_req(dev,0x00,0x17,"\x20",1); - em2820_write_regs_req(dev,0x00,0x18,"\x00",1); - em2820_write_regs_req(dev,0x00,0x19,"\x00",1); - em2820_write_regs_req(dev,0x00,0x1a,"\x00",1); - em2820_write_regs_req(dev,0x00,0x23,"\x00",1); - em2820_write_regs_req(dev,0x00,0x24,"\x00",1); - em2820_write_regs_req(dev,0x00,0x26,"\x00",1); - em2820_write_regs_req(dev,0x00,0x13,"\x08",1); - em2820_write_regs_req(dev,0x00,0x12,"\x27",1); - em2820_write_regs_req(dev,0x00,0x0c,"\x10",1); - em2820_write_regs_req(dev,0x00,0x27,"\x34",1); - em2820_write_regs_req(dev,0x00,0x10,"\x00",1); - em2820_write_regs_req(dev,0x00,0x11,"\x11",1); - em2820_write_regs_req(dev,0x00,0x28,"\x01",1); - em2820_write_regs_req(dev,0x00,0x29,"\xaf",1); - em2820_write_regs_req(dev,0x00,0x2a,"\x01",1); - em2820_write_regs_req(dev,0x00,0x2b,"\x3b",1); - em2820_write_regs_req(dev,0x00,0x1c,"\x08",1); - em2820_write_regs_req(dev,0x00,0x1d,"\x0d",1); - em2820_write_regs_req(dev,0x00,0x1e,"\xb0",1); - em2820_write_regs_req(dev,0x00,0x1f,"\x3c",1); - em2820_write_regs_req(dev,0x00,0x1b,"\x00",1); - em2820_write_regs_req(dev,0x00,0x1b,"\x00",1); - em2820_write_regs_req(dev,0x00,0x26,"\x10",1); - em2820_write_regs_req(dev,0x00,0x30,"\x99\x01",2); - em2820_write_regs_req(dev,0x02,0xb8,"\x0f\x02",2); - em2820_write_regs_req(dev,0x02,0xb8,"\x27\x20",2); - em2820_write_regs_req(dev,0x02,0xb8,"\x1a\x0c",2); - em2820_write_regs_req(dev,0x02,0xb8,"\x04\xc0",2); - em2820_write_regs_req(dev,0x02,0xb8,"\x28\x06",2); - em2820_write_regs_req(dev,0x02,0xb8,"\x1b\x54",2); - em2820_write_regs_req(dev,0x02,0xb8,"\x0d\x47",2); - em2820_write_regs_req(dev,0x02,0xb8,"\x28\x00",2); - em2820_write_regs_req(dev,0x02,0xb8,"\x30\x01",2); - em2820_write_regs_req(dev,0x02,0xc6,"\x0f\xb0\x8e\x02\xb0",5); - em2820_write_regs_req(dev,0x02,0x86,"\x00\x14\x10\x44",4); - em2820_write_regs_req(dev,0x02,0x88,"\x12\x00\x0e\x35\x03",5); - em2820_write_regs_req(dev,0x02,0x88,"\x12\x00\x10\x5a\x00",5); - em2820_write_regs_req(dev,0x02,0x88,"\x12\x00\x0d\x1e\x00",5); - em2820_write_regs_req(dev,0x02,0x88,"\x10\x00\x40\x00\x01",5); - em2820_write_regs_req(dev,0x02,0xb8,"\x03\x6f",2); - em2820_write_regs_req(dev,0x02,0xb8,"\x00\x00",2); - em2820_write_regs_req(dev,0x00,0x21,"\x14",1); - em2820_write_regs_req(dev,0x00,0x20,"\x10",1); - em2820_write_regs_req(dev,0x02,0xb8,"\x0b\x00",2); - em2820_write_regs_req(dev,0x00,0x22,"\x10",1); - em2820_write_regs_req(dev,0x00,0x14,"\x32",1); - em2820_write_regs_req(dev,0x00,0x25,"\x02",1); - em2820_write_regs_req(dev,0x00,0x26,"\x10",1); - em2820_write_regs_req(dev,0x02,0xb8,"\x88",1); - em2820_write_regs_req(dev,0x00,0x27,"\x34",1); - em2820_write_regs_req(dev,0x00,0x0c,"\x10",1); - em2820_write_regs_req(dev,0x00,0x12,"\x67",1); - em2820_write_regs_req(dev,0x00,0x22,"\x10",1); - em2820_write_regs_req(dev,0x00,0x20,"\x10",1); - em2820_write_regs_req(dev,0x00,0x0c,"\x10",1); - em2820_write_regs_req(dev,0x00,0x0c,"\x12\x01\x00\x02\x00\x00\x00\x40\x40\x20\x00\x42\x00\x01\x00\x01",16); - em2820_write_regs_req(dev,0x00,0x0c,"\x09\x02\xf9\x00\x01\x01\x00\x80\xfa\x09\x04\x00\x00\x03\xff\x00",16); - em2820_write_regs_req(dev,0x00,0x0c,"\x09\x02\xf9\x00\x01\x01\x00\x80\xfa\x09\x04\x00\x00\x03\xff\x00",16); - em2820_write_regs_req(dev,0x03,0xa0,"\x04",1); - em2820_write_regs_req(dev,0x00,0x08,"\xff",1); - em2820_write_regs_req(dev,0x03,0xa0,"\x14",1); - em2820_write_regs_req(dev,0x03,0xa0,"\x1c",1); - em2820_write_regs_req(dev,0x03,0xa0,"\x18",1); - em2820_write_regs_req(dev,0x03,0xa0,"\x1d",1); - em2820_write_regs_req(dev,0x03,0xa0,"\x19",1); - em2820_write_regs_req(dev,0x03,0xa0,"\x1e",1); - em2820_write_regs_req(dev,0x03,0xa0,"\x1a",1); - em2820_write_regs_req(dev,0x03,0xa0,"\x1f",1); - em2820_write_regs_req(dev,0x03,0xa0,"\x1b",1); - em2820_write_regs_req(dev,0x03,0xa0,"\x22",1); - em2820_write_regs_req(dev,0x03,0xa0,"\x23",1); - em2820_write_regs_req(dev,0x03,0xa0,"\x0b",1); - em2820_write_regs_req(dev,0x00,0x06,"\x4c",1); - em2820_write_regs_req(dev,0x00,0x08,"\xff",1); - em2820_write_regs_req(dev,0x00,0x08,"\xf7",1); - em2820_write_regs_req(dev,0x02,0x88,"\x12\x00\x13\x0f\x60",5); - em2820_write_regs_req(dev,0x02,0x88,"\x12\x00\x0b\x02\x20",5); - em2820_write_regs_req(dev,0x00,0x0f,"\x07",1); - em2820_write_regs_req(dev,0x02,0x88,"\x12\x00\x00\x00\x00",5); - em2820_write_regs_req(dev,0x02,0xc6,"\x0f\xb0\x8e\x02\xb0",5); - em2820_write_regs_req(dev,0x02,0x86,"\x00\x14\x10\x44",4); - em2820_write_regs_req(dev,0x02,0x88,"\x12\x00\x13\x0f\x60",5); - em2820_write_regs_req(dev,0x02,0x88,"\x12\x00\x0b\x02\x20",5); - em2820_write_regs_req(dev,0x00,0x0f,"\x07",1); - em2820_write_regs_req(dev,0x02,0x88,"\x12\x00\x00\x00\x00",5); - em2820_write_regs_req(dev,0x02,0xb8,"\x03\x6f",2); - em2820_write_regs_req(dev,0x02,0xb8,"\x00\x00",2); - em2820_write_regs_req(dev,0x00,0x08,"\xff",1); - em2820_write_regs_req(dev,0x00,0x06,"\x40",1); - em2820_write_regs_req(dev,0x00,0x15,"\x20",1); - em2820_write_regs_req(dev,0x00,0x16,"\x20",1); - em2820_write_regs_req(dev,0x00,0x17,"\x20",1); - em2820_write_regs_req(dev,0x00,0x18,"\x00",1); - em2820_write_regs_req(dev,0x00,0x19,"\x00",1); - em2820_write_regs_req(dev,0x00,0x1a,"\x00",1); - em2820_write_regs_req(dev,0x00,0x23,"\x00",1); - em2820_write_regs_req(dev,0x00,0x24,"\x00",1); - em2820_write_regs_req(dev,0x00,0x26,"\x00",1); - em2820_write_regs_req(dev,0x00,0x13,"\x08",1); - em2820_write_regs_req(dev,0x00,0x12,"\x27",1); - em2820_write_regs_req(dev,0x00,0x0c,"\x10",1); - em2820_write_regs_req(dev,0x00,0x27,"\x34",1); - em2820_write_regs_req(dev,0x00,0x10,"\x00",1); - em2820_write_regs_req(dev,0x00,0x11,"\x11",1); - em2820_write_regs_req(dev,0x00,0x28,"\x01",1); - em2820_write_regs_req(dev,0x00,0x29,"\xaf",1); - em2820_write_regs_req(dev,0x00,0x2a,"\x01",1); - em2820_write_regs_req(dev,0x00,0x2b,"\x3b",1); - em2820_write_regs_req(dev,0x00,0x1c,"\x08",1); - em2820_write_regs_req(dev,0x00,0x1d,"\x0d",1); - em2820_write_regs_req(dev,0x00,0x1e,"\xb0",1); - em2820_write_regs_req(dev,0x00,0x1f,"\x3c",1); - em2820_write_regs_req(dev,0x00,0x1b,"\x00",1); - em2820_write_regs_req(dev,0x00,0x1b,"\x00",1); - em2820_write_regs_req(dev,0x00,0x26,"\x10",1); - em2820_write_regs_req(dev,0x00,0x30,"\x99\x01",2); - em2820_write_regs_req(dev,0x02,0xb8,"\x0f\x02",2); - em2820_write_regs_req(dev,0x02,0xb8,"\x27\x20",2); - em2820_write_regs_req(dev,0x02,0xb8,"\x1a\x0c",2); - em2820_write_regs_req(dev,0x02,0xb8,"\x04\xc0",2); - em2820_write_regs_req(dev,0x02,0xb8,"\x28\x06",2); - em2820_write_regs_req(dev,0x02,0xb8,"\x1b\x54",2); - em2820_write_regs_req(dev,0x02,0xb8,"\x0d\x47",2); - em2820_write_regs_req(dev,0x02,0xb8,"\x28\x00",2); - em2820_write_regs_req(dev,0x02,0xb8,"\x30\x01",2); - em2820_write_regs_req(dev,0x02,0xc6,"\x0f\xb0\x8e\x02\xb0",5); - em2820_write_regs_req(dev,0x02,0x86,"\x00\x14\x10\x44",4); - em2820_write_regs_req(dev,0x02,0x88,"\x12\x00\x0e\x35\x03",5); - em2820_write_regs_req(dev,0x02,0x88,"\x12\x00\x10\x5a\x00",5); - em2820_write_regs_req(dev,0x02,0x88,"\x12\x00\x0d\x1e\x00",5); - em2820_write_regs_req(dev,0x02,0x88,"\x10\x00\x40\x00\x01",5); - em2820_write_regs_req(dev,0x02,0xb8,"\x03\x6f",2); - em2820_write_regs_req(dev,0x02,0xb8,"\x00\x00",2); - em2820_write_regs_req(dev,0x00,0x21,"\x14",1); - em2820_write_regs_req(dev,0x00,0x20,"\x10",1); - em2820_write_regs_req(dev,0x02,0xb8,"\x0b\x00",2); - em2820_write_regs_req(dev,0x00,0x22,"\x10",1); - em2820_write_regs_req(dev,0x00,0x14,"\x32",1); - em2820_write_regs_req(dev,0x00,0x25,"\x02",1); - em2820_write_regs_req(dev,0x00,0x26,"\x10",1); - em2820_write_regs_req(dev,0x02,0xb8,"\x88",1); - em2820_write_regs_req(dev,0x00,0x27,"\x34",1); - em2820_write_regs_req(dev,0x00,0x0c,"\x10",1); - em2820_write_regs_req(dev,0x00,0x12,"\x67",1); - em2820_write_regs_req(dev,0x00,0x22,"\x10",1); - em2820_write_regs_req(dev,0x00,0x20,"\x10",1); - em2820_write_regs_req(dev,0x00,0x21,"\x14",1); - em2820_write_regs_req(dev,0x00,0x20,"\x10",1); - em2820_write_regs_req(dev,0x02,0xb8,"\x0b\x00",2); - em2820_write_regs_req(dev,0x00,0x22,"\x10",1); - em2820_write_regs_req(dev,0x00,0x14,"\x32",1); - em2820_write_regs_req(dev,0x00,0x25,"\x02",1); - em2820_write_regs_req(dev,0x02,0x88,"\x10\x00\x30\x20\x43",5); - em2820_write_regs_req(dev,0x02,0x88,"\x12\x00\x13\x0f\x60",5); - em2820_write_regs_req(dev,0x02,0x88,"\x10\x00\x20\x00\x01",5); - em2820_write_regs_req(dev,0x02,0x88,"\x12\x00\x0b\x03\x30",5); - em2820_write_regs_req(dev,0x03,0x88,"\x11\x00\x7e",3); - em2820_write_regs_req(dev,0x00,0x0f,"\x87",1); - em2820_write_regs_req(dev,0x02,0x88,"\x12\x00\x13\x0f\x60",5); - em2820_write_regs_req(dev,0x02,0x88,"\x12\x00\x08\x03\x30",5); - em2820_write_regs_req(dev,0x03,0x88,"\x11\x00\x7e",3); - em2820_write_regs_req(dev,0x02,0x88,"\x12\x00\x00\x73\x00",5); - em2820_write_regs_req(dev,0x03,0x88,"\x11\x00\x7e",3); - em2820_write_regs_req(dev,0x03,0x88,"\x11\x00\x7e",3); - em2820_write_regs_req(dev,0x03,0x88,"\x11\x00\x7e",3); - em2820_write_regs_req(dev,0x03,0x88,"\x11\x00\x7e",3); - em2820_write_regs_req(dev,0x02,0x88,"\x10\x00\x20\x00\x20",5); - em2820_write_regs_req(dev,0x00,0x12,"\x27",1); - /* - em2820_write_regs_req(dev,0x00,0x0c,"\x00",1); - em2820_write_regs_req(dev,0x00,0x0c,"\x12\x01\x00\x02\x00\x00\x00\x40\x40\x20\x00\x42\x00\x01\x00\x01",16); - em2820_write_regs_req(dev,0x00,0x0c,"\x09\x02\x6d\x00\x02\x01\x00\x80\xfa",9); - em2820_write_regs_req(dev,0x00,0x0c,"\x09\x02\x6d\x00\x02\x01\x00\x80\xfa\x09\x04\x01\x00\x00\x01\x01",16); - */ + em2820_write_regs_req(dev,0x88,0x0d,"\xd0",1); #endif } } |