Merge branch 'org.openembedded.dev' of git://git.openembedded.net/openembedded into...
[vuplus_openembedded] / packages / linux / linux-dm8000 / linux-2.6.12-dvbapi-support-more-demux.patch
1 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
2 --- stblinux-2.6.12-org/drivers/media/dvb/dvb-core/dvbdev.c     2008-07-17 23:14:00.000000000 +0200
3 +++ stblinux-2.6.12/drivers/media/dvb/dvb-core/dvbdev.c 2008-07-17 22:34:33.000000000 +0200
4 @@ -52,9 +52,9 @@
5  };
6  
7  #define DVB_MAX_ADAPTERS       8
8 -#define DVB_MAX_IDS            4
9 -#define nums2minor(num,type,id)        ((num << 6) | (id << 4) | type)
10 -#define MAX_DVB_MINORS         (DVB_MAX_ADAPTERS*64)
11 +#define DVB_MAX_IDS            8
12 +#define nums2minor(num,type,id)        ((num << 7) | (id << 4) | type)
13 +#define MAX_DVB_MINORS         (DVB_MAX_ADAPTERS*128)
14  
15  static struct class *dvb_class;
16