Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 66524 Details for
Bug 102961
New driver for SAA7135 (GoTView 7135) [TV tuner]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Same patch (diff format)
pci7135.patch (text/plain), 4.66 KB, created by
Mike Baikov
on 2005-08-21 23:18:21 UTC
(
hide
)
Description:
Same patch (diff format)
Filename:
MIME Type:
Creator:
Mike Baikov
Created:
2005-08-21 23:18:21 UTC
Size:
4.66 KB
patch
obsolete
>--- linux-2.6.12/drivers/media/video/saa7134/saa7134-cards.c.gotview 2005-06-17 22:48:29.000000000 +0300 >+++ linux-2.6.12/drivers/media/video/saa7134/saa7134-cards.c 2005-07-26 19:13:45.000000000 +0300 >@@ -1546,6 +1546,45 @@ struct saa7134_board saa7134_boards[] = > // .gpio = 0x4000, > }}, > }, >+ [SAA7135_BOARD_GOTVIEW_7135] = { >+ /* Andrey Cvetcov <ays14@yandex.ru> */ >+ .name = "GoTview 7135 PCI", >+ .audio_clock = 0x00187de7, >+ .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, >+ /* We need to comment this */ >+// .tda9887_conf = TDA9887_PRESENT, >+ .gpiomask= 0x00200003, >+ .inputs = {{ >+ .name = name_tv, >+ .vmux = 1, /* It's true */ >+ .amux = TV, /* Use TV instead LINE0 - BigBiker <adminbsd@gmail.com> */ >+ .gpio = 0x00200003, >+ .tv = 1, >+ },{ >+ .name = name_comp1, /* Composite signal on S-Video input */ >+ .vmux = 3, >+ .amux = LINE1, >+ .gpio = 0x00200003, >+ },{ >+ .name = name_comp2, /* Composite Input */ >+ .vmux = 8, >+ .amux = LINE1, >+ .gpio = 0x00200003, >+ },{ >+ .name = name_tv_mono, /* TV - mono only */ >+ .vmux = 1, >+ .amux = LINE2, >+ .gpio = 0x00200003, >+ }}, >+ .radio = { >+ .name = name_radio, >+// .vmux = TV, >+ .vmux = 1, >+ .amux = LINE2, >+ .gpio = 0x00200003, >+ }, >+ }, >+ > }; > const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards); > >@@ -1846,6 +1885,12 @@ struct pci_device_id saa7134_pci_tbl[] = > .driver_data = SAA7134_BOARD_FLYDVBTDUO, > > },{ >+ .vendor = 0x1131, >+ .device = 0x7133, >+ .subvendor = 0x5456, /* GoTView */ >+ .subdevice = 0x7135, /* Model PCI 7135 */ >+ .driver_data = SAA7135_BOARD_GOTVIEW_7135 >+ },{ > /* --- boards without eeprom + subsystem ID --- */ > .vendor = PCI_VENDOR_ID_PHILIPS, > .device = PCI_DEVICE_ID_PHILIPS_SAA7134, >@@ -1965,6 +2010,7 @@ int saa7134_board_init1(struct saa7134_d > case SAA7134_BOARD_AVERMEDIA_305: > case SAA7134_BOARD_AVERMEDIA_307: > // case SAA7134_BOARD_SABRENT_SBTTVFM: /* not finished yet */ >+ case SAA7135_BOARD_GOTVIEW_7135: > case SAA7134_BOARD_VIDEOMATE_TV_PVR: > dev->has_remote = 1; > break; >--- linux-2.6.12/drivers/media/video/saa7134/saa7134-input.c.gotview 2005-06-17 22:48:29.000000000 +0300 >+++ linux-2.6.12/drivers/media/video/saa7134/saa7134-input.c 2005-07-26 18:56:20.000000000 +0300 >@@ -415,6 +415,12 @@ int saa7134_input_init1(struct saa7134_d > saa_setb(SAA7134_GPIO_GPMODE0, 0x4); > saa_setb(SAA7134_GPIO_GPSTATUS0, 0x4); > break; >+ case SAA7135_BOARD_GOTVIEW_7135: >+ ir_codes = md2819_codes; >+ mask_keycode = 0x0007C8; >+ mask_keydown = 0x000010; >+ polling = 50; // ms >+ break; > case SAA7134_BOARD_VIDEOMATE_TV_PVR: > ir_codes = videomate_tv_pvr_codes; > mask_keycode = 0x00003F; >--- linux-2.6.12/drivers/media/video/saa7134/saa7134.h.gotview 2005-06-17 22:48:29.000000000 +0300 >+++ linux-2.6.12/drivers/media/video/saa7134/saa7134.h 2005-07-26 18:54:49.000000000 +0300 >@@ -178,6 +178,7 @@ struct saa7134_format { > #define SAA7135_BOARD_ASUSTeK_TVFM7135 53 > #define SAA7134_BOARD_FLYTVPLATINUM_FM 54 > #define SAA7134_BOARD_FLYDVBTDUO 55 >+#define SAA7135_BOARD_GOTVIEW_7135 56 > > #define SAA7134_MAXBOARDS 8 > #define SAA7134_INPUT_MAX 8 >--- linux-2.6.12/drivers/media/video/tda9887.c.gotview 2005-06-17 22:48:29.000000000 +0300 >+++ linux-2.6.12/drivers/media/video/tda9887.c 2005-07-26 19:15:53.000000000 +0300 >@@ -217,8 +217,11 @@ static struct tvnorm radio = { > .name = "radio", > .b = ( cFmRadio | > cQSS ), >- .c = ( cDeemphasisON | cDeemphasis50 ), >+ .c = ( cDeemphasisOFF ), > .e = ( cAudioIF_5_5 | cRadioIF_38_90 ), > };
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 102961
:
66222
|
66524
|
66755