All pastes #630018 Raw Edit

Mine

public text v1 · immutable
·published 2007-07-22 21:01 UTC
rendered paste body
diff -ur saa7134_vanilla/saa7134-cards.c saa7134/saa7134-cards.c
--- saa7134_vanilla/saa7134-cards.c     2007-07-22 21:38:05.000000000 +0100
+++ saa7134/saa7134-cards.c     2007-07-22 21:33:45.000000000 +0100
@@ -4051,6 +4051,12 @@
                .driver_data  = SAA7134_BOARD_PHILIPS_TIGER,
        },{
                .vendor       = PCI_VENDOR_ID_PHILIPS,
+               .device       = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA 7131E */
+               .subvendor    = 0x1822,
+               .subdevice    = 0x0022,
+               .driver_data  = SAA7134_BOARD_PHILIPS_TIGER_S,
+       },{
+               .vendor       = PCI_VENDOR_ID_PHILIPS,
                .device       = PCI_DEVICE_ID_PHILIPS_SAA7133,
                .subvendor    = 0x1462,
                .subdevice    = 0x6231,
@@ -4447,6 +4453,11 @@
        case SAA7134_BOARD_10MOONSTVMASTER3:
                dev->has_remote = SAA7134_REMOTE_GPIO;
                break;
+       case SAA7134_BOARD_PHILIPS_TIGER_S:
+               saa_writeb(SAA7134_GPIO_GPMODE2, 0x20);
+               saa_writeb(SAA7134_GPIO_GPSTATUS2, 0x04);
+               dev->has_remote = SAA7134_REMOTE_GPIO;
+               break;
        case SAA7134_BOARD_FLYDVBS_LR300:
                saa_writeb(SAA7134_GPIO_GPMODE3, 0x80);
                saa_writeb(SAA7134_GPIO_GPSTATUS2, 0x40);
diff -ur saa7134_vanilla/saa7134-dvb.c saa7134/saa7134-dvb.c
--- saa7134_vanilla/saa7134-dvb.c       2007-07-22 21:38:05.000000000 +0100
+++ saa7134/saa7134-dvb.c       2007-07-22 20:50:24.000000000 +0100
@@ -630,7 +630,7 @@
        .agc_config    = TDA10046_AGC_TDA827X,
        .gpio_config   = TDA10046_GP01_I,
        .if_freq       = TDA10046_FREQ_045,
-       .i2c_gate      = 0x4b,
+       .i2c_gate      = 0x42,
        .tuner_address = 0x61,
        .tuner_config  = 2,
        .antenna_switch= 1,
diff -ur saa7134_vanilla/saa7134-input.c saa7134/saa7134-input.c
--- saa7134_vanilla/saa7134-input.c     2007-07-22 21:38:05.000000000 +0100
+++ saa7134/saa7134-input.c     2007-07-22 20:57:28.000000000 +0100
@@ -324,6 +324,10 @@
                mask_keydown = 0x0040000;
                rc5_gpio = 1;
                break;
+       case SAA7134_BOARD_PHILIPS_TIGER_S:
+               ir_codes     = ir_codes_asus_pc39;
+               polling      = 50;
+               break;
        case SAA7134_BOARD_ENCORE_ENLTV:
        case SAA7134_BOARD_ENCORE_ENLTV_FM:
                ir_codes     = ir_codes_encore_enltv;