[oe-commits] org.oe.dreambox linux-dm8000: add patch to support more than 4 demux devices

tmbinc commit oe at amethyst.openembedded.net
Thu Jul 24 08:38:55 UTC 2008


linux-dm8000: add patch to support more than 4 demux devices

Author: tmbinc at openembedded.org
Branch: org.openembedded.dreambox
Revision: 12ae6213082ce509a909fe0db5ff886b09585fe6
ViewMTN: http://monotone.openembedded.org/revision/info/12ae6213082ce509a909fe0db5ff886b09585fe6
Files:
1
packages/linux/linux-dm8000/linux-2.6.12-dvbapi-support-more-demux.patch
packages/linux/linux-dm8000.bb
Diffs:

#
# mt diff -r2d0109498dc54616a4d03486cddda830e13c2119 -r12ae6213082ce509a909fe0db5ff886b09585fe6
#
#
#
# add_file "packages/linux/linux-dm8000/linux-2.6.12-dvbapi-support-more-demux.patch"
#  content [5f4b7e8862d859d67e22e033cd8c3fb7b9d011c7]
# 
# patch "packages/linux/linux-dm8000.bb"
#  from [b909bf11b58364b956697fbb1e4252e408639b3a]
#    to [ce26b89f6713e08a10decb34d05c848b87440fec]
#
============================================================
--- packages/linux/linux-dm8000/linux-2.6.12-dvbapi-support-more-demux.patch	5f4b7e8862d859d67e22e033cd8c3fb7b9d011c7
+++ packages/linux/linux-dm8000/linux-2.6.12-dvbapi-support-more-demux.patch	5f4b7e8862d859d67e22e033cd8c3fb7b9d011c7
@@ -0,0 +1,16 @@
+diff -Naur stblinux-2.6.12-org/drivers/media/dvb/dvb-core/dvbdev.c stblinux-2.6.12/drivers/media/dvb/dvb-core/dvbdev.c
+--- stblinux-2.6.12-org/drivers/media/dvb/dvb-core/dvbdev.c	2008-07-17 23:14:00.000000000 +0200
++++ stblinux-2.6.12/drivers/media/dvb/dvb-core/dvbdev.c	2008-07-17 22:34:33.000000000 +0200
+@@ -52,9 +52,9 @@
+ };
+ 
+ #define DVB_MAX_ADAPTERS	8
+-#define DVB_MAX_IDS		4
+-#define nums2minor(num,type,id)	((num << 6) | (id << 4) | type)
+-#define MAX_DVB_MINORS		(DVB_MAX_ADAPTERS*64)
++#define DVB_MAX_IDS		8
++#define nums2minor(num,type,id)	((num << 7) | (id << 4) | type)
++#define MAX_DVB_MINORS		(DVB_MAX_ADAPTERS*128)
+ 
+ static struct class *dvb_class;
+ 
============================================================
--- packages/linux/linux-dm8000.bb	b909bf11b58364b956697fbb1e4252e408639b3a
+++ packages/linux/linux-dm8000.bb	ce26b89f6713e08a10decb34d05c848b87440fec
@@ -3,7 +3,7 @@ PV = "2.6.12"
 PN = "linux-dm8000"
 KV = "2.6.12"
 PV = "2.6.12"
-PR = "r2"
+PR = "r3"
 
 # note, the rX in the filename is *NOT* the packet revision - it's the patch revision.
 SRC_URI += "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-${KV}.tar.bz2 \
@@ -15,6 +15,7 @@ SRC_URI += "ftp://ftp.kernel.org/pub/lin
 	http://sources.dreamboxupdate.com/download/kernel-patches/linux-2.6.12-dvbapi-pilot-rolloff-extension-r0.patch.bz2;patch=1;pnum=1 \
 	http://sources.dreamboxupdate.com/download/kernel-patches/linux-2.6.12-update-wireless.patch.bz2;patch=1;pnum=1 \
 	http://sources.dreamboxupdate.com/download/kernel-patches/linux-2.6.12-add-ioprio.patch.bz2;patch=1;pnum=1 \
+	file://linux-2.6.12-dvbapi-support-more-demux.patch;patch=1;pnum=1 \
 	file://linux-2.6.12-dream-misc.patch;patch=1;pnum=1 \
 	file://linux-2.6.12-dm8000-nand.patch;patch=1;pnum=1 \
 	file://linux-2.6.12-dream-temp.patch;patch=1;pnum=1 \






More information about the Openembedded-commits mailing list