diff options
author | edwin <edwin@FreeBSD.org> | 2005-01-20 14:28:45 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2005-01-20 14:28:45 +0800 |
commit | 2f21e095c3ac988ea4679b51b023e44ec67417a9 (patch) | |
tree | 31283d1766bbc8171d74b2c472628fb81ee3df01 /multimedia | |
parent | 3d5824b4401f093d28c1651a767c6e5f38aab791 (diff) | |
download | freebsd-ports-gnome-2f21e095c3ac988ea4679b51b023e44ec67417a9.tar.gz freebsd-ports-gnome-2f21e095c3ac988ea4679b51b023e44ec67417a9.tar.zst freebsd-ports-gnome-2f21e095c3ac988ea4679b51b023e44ec67417a9.zip |
Attached you will find an file to add to files dir and a diff to
the makefile to add a european channel set for the PVR250 driver.
I already sent John Wehle the additional channel set to include it
in the next driver version, then the final patch to cxm_tuner.c
should be smaller.
Would be cool to find this in the next port version, so I don't
have to patch manually every time again and maybe others in old
europe (actually I tested it for germany) may find it useful, too.
Thanx, Oliver
Submitted by: Oliver Brandmueller <ob@e-Gitt.NET>
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/pvr250/Makefile | 5 | ||||
-rw-r--r-- | multimedia/pvr250/files/patchtuner-bgcable | 48 | ||||
-rw-r--r-- | multimedia/pvrxxx/Makefile | 5 | ||||
-rw-r--r-- | multimedia/pvrxxx/files/patchtuner-bgcable | 48 |
4 files changed, 106 insertions, 0 deletions
diff --git a/multimedia/pvr250/Makefile b/multimedia/pvr250/Makefile index 0bd07d735d05..893ab91c2b12 100644 --- a/multimedia/pvr250/Makefile +++ b/multimedia/pvr250/Makefile @@ -8,6 +8,7 @@ PORTNAME= pvr250 PORTVERSION= 20041230 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= http://www.mavetju.org/download/adopted/ DISTFILES= ${CXMSHAR} hcwPVRP2.sys ${PVRTOOLS}.tar.gz @@ -30,6 +31,7 @@ NO_CDROM= ${RESTRICTED} OPTIONS= USBROADCAST "US Broadcast" Off \ USCABLE "US Cable" Off \ BGBROADCAST "B/G Broadcast" Off \ + BGCABLE "B/G Cable" Off \ BGAUSTRALIA "B/G Australia" Off \ IBROADCAST "I Broadcast" Off \ LBROADCAST "L Broadcast" Off @@ -53,6 +55,9 @@ EXTRA_PATCHES= ${FILESDIR}/patchtuner-uscable .if defined(WITH_BGBROADCAST) EXTRA_PATCHES= ${FILESDIR}/patchtuner-bgbroadcast .endif +.if defined(WITH_BGCABLE) +EXTRA_PATCHES= ${FILESDIR}/patchtuner-bgcable +.endif .if defined(WITH_BGAUSTRALIA) EXTRA_PATCHES= ${FILESDIR}/patchtuner-bgaustralia .endif diff --git a/multimedia/pvr250/files/patchtuner-bgcable b/multimedia/pvr250/files/patchtuner-bgcable new file mode 100644 index 000000000000..5bf66d8cc90f --- /dev/null +++ b/multimedia/pvr250/files/patchtuner-bgcable @@ -0,0 +1,48 @@ +--- dev/cxm/cxm_tuner.c.org Wed Jan 19 00:36:54 2005 ++++ dev/cxm/cxm_tuner.c Wed Jan 19 00:39:46 2005 +@@ -128,6 +128,27 @@ + }; + + static const struct cxm_tuner_channels ++bg_cable_channels = { ++ "B/G Cable", ++ CXM_TUNER_TV_SYSTEM_BG, ++ 1, ++ 120, ++ 38900, ++ { { 121, 38900, 0}, ++ { 100, 303250, 8000 }, ++ { 90, 231250, 7000 }, ++ { 80, 105250, 7000 }, ++ { 74, 69250, 7000 }, ++ { 21, 471250, 8000 }, ++ { 17, 183250, 9000 }, ++ { 16, 175250, 9000 }, ++ { 15, 82250, 8500 }, ++ { 13, 53750, 8500 }, ++ { 5, 175250, 7000 }, ++ { 2, 48250, 7000 } } ++}; ++ ++static const struct cxm_tuner_channels + bg_australia_channels = { + "B/G Australia", + CXM_TUNER_TV_SYSTEM_BG, +@@ -316,7 +337,7 @@ + { 48250, { 0x8e, 0xa0 } } }, + 0, 0, + { 0 }, +- { &bg_air_channels, NULL } }, ++ { &bg_cable_channels, NULL } }, + { "LG Innotek TPI8PSB01N", + { CXM_TUNER_TV_SYSTEM_BG, cxm_none_system_code_style }, + 48250, 855250, +@@ -325,7 +346,7 @@ + { 48250, { 0x8e, 0xa0 } } }, + 87500, 108000, + { 87500, { 0x88, 0xa5 } }, +- { &bg_air_channels, NULL } }, ++ { &bg_cable_channels, NULL } }, + { "LG Innotek TAPC-H701F", + { CXM_TUNER_TV_SYSTEM_MN, cxm_none_system_code_style }, + 55250, 801250, diff --git a/multimedia/pvrxxx/Makefile b/multimedia/pvrxxx/Makefile index 0bd07d735d05..893ab91c2b12 100644 --- a/multimedia/pvrxxx/Makefile +++ b/multimedia/pvrxxx/Makefile @@ -8,6 +8,7 @@ PORTNAME= pvr250 PORTVERSION= 20041230 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= http://www.mavetju.org/download/adopted/ DISTFILES= ${CXMSHAR} hcwPVRP2.sys ${PVRTOOLS}.tar.gz @@ -30,6 +31,7 @@ NO_CDROM= ${RESTRICTED} OPTIONS= USBROADCAST "US Broadcast" Off \ USCABLE "US Cable" Off \ BGBROADCAST "B/G Broadcast" Off \ + BGCABLE "B/G Cable" Off \ BGAUSTRALIA "B/G Australia" Off \ IBROADCAST "I Broadcast" Off \ LBROADCAST "L Broadcast" Off @@ -53,6 +55,9 @@ EXTRA_PATCHES= ${FILESDIR}/patchtuner-uscable .if defined(WITH_BGBROADCAST) EXTRA_PATCHES= ${FILESDIR}/patchtuner-bgbroadcast .endif +.if defined(WITH_BGCABLE) +EXTRA_PATCHES= ${FILESDIR}/patchtuner-bgcable +.endif .if defined(WITH_BGAUSTRALIA) EXTRA_PATCHES= ${FILESDIR}/patchtuner-bgaustralia .endif diff --git a/multimedia/pvrxxx/files/patchtuner-bgcable b/multimedia/pvrxxx/files/patchtuner-bgcable new file mode 100644 index 000000000000..5bf66d8cc90f --- /dev/null +++ b/multimedia/pvrxxx/files/patchtuner-bgcable @@ -0,0 +1,48 @@ +--- dev/cxm/cxm_tuner.c.org Wed Jan 19 00:36:54 2005 ++++ dev/cxm/cxm_tuner.c Wed Jan 19 00:39:46 2005 +@@ -128,6 +128,27 @@ + }; + + static const struct cxm_tuner_channels ++bg_cable_channels = { ++ "B/G Cable", ++ CXM_TUNER_TV_SYSTEM_BG, ++ 1, ++ 120, ++ 38900, ++ { { 121, 38900, 0}, ++ { 100, 303250, 8000 }, ++ { 90, 231250, 7000 }, ++ { 80, 105250, 7000 }, ++ { 74, 69250, 7000 }, ++ { 21, 471250, 8000 }, ++ { 17, 183250, 9000 }, ++ { 16, 175250, 9000 }, ++ { 15, 82250, 8500 }, ++ { 13, 53750, 8500 }, ++ { 5, 175250, 7000 }, ++ { 2, 48250, 7000 } } ++}; ++ ++static const struct cxm_tuner_channels + bg_australia_channels = { + "B/G Australia", + CXM_TUNER_TV_SYSTEM_BG, +@@ -316,7 +337,7 @@ + { 48250, { 0x8e, 0xa0 } } }, + 0, 0, + { 0 }, +- { &bg_air_channels, NULL } }, ++ { &bg_cable_channels, NULL } }, + { "LG Innotek TPI8PSB01N", + { CXM_TUNER_TV_SYSTEM_BG, cxm_none_system_code_style }, + 48250, 855250, +@@ -325,7 +346,7 @@ + { 48250, { 0x8e, 0xa0 } } }, + 87500, 108000, + { 87500, { 0x88, 0xa5 } }, +- { &bg_air_channels, NULL } }, ++ { &bg_cable_channels, NULL } }, + { "LG Innotek TAPC-H701F", + { CXM_TUNER_TV_SYSTEM_MN, cxm_none_system_code_style }, + 55250, 801250, |