Re: budget-av.c Patch for DVB-S card "EasyWatch PCIlight" from Satelco

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thilo wrote:
> Am Samstag, den 18.02.2006, 22:17 +0100 schrieb Oliver Endriss:
> > Thilo wrote:
> > > Hello.
> > > 
> > > Here is a patch for KNC1 based DVB-S card "EasyWatch PCIlight" from
> > > Satelco.
> > > 
> > > 
> > > --- /home/thilo/download/v4l-dvb/v4l-dvb_download/v4l-dvb/linux/drivers/media/dvb/ttpci/budget-av.c     2006-02-12 23:06:16.000000000 +0100
> > > +++ /home/thilo/download/v4l-dvb/v4l-dvb/linux/drivers/media/dvb/ttpci/budget-av.c      2006-02-12 19:56:41.000000000 +0100
> > > @@ -1000,6 +1000,7 @@
> > > 
> > >  #define SUBID_DVBS_TV_STAR     0x0014
> > >  #define SUBID_DVBS_TV_STAR_CI  0x0016
> > > +#define SUBID_DVBS_EASYWATCH   0x001e
> > >  #define SUBID_DVBC_KNC1                0x0020
> > >  #define SUBID_DVBC_KNC1_PLUS   0x0021
> > >  #define SUBID_DVBC_CINERGY1200 0x1156
> > > @@ -1038,6 +1039,7 @@
> > >         case SUBID_DVBS_TV_STAR:
> > >         case SUBID_DVBS_TV_STAR_CI:
> > >         case SUBID_DVBS_CYNERGY1200N:
> > > +       case SUBID_DVBS_EASYWATCH:
> > >                 fe = stv0299_attach(&philips_sd1878_config,
> > >                                 &budget_av->budget.i2c_adap);
> > >                 break;
> > > @@ -1300,6 +1302,7 @@
> > >         MAKE_EXTENSION_PCI(knc1sp, 0x1131, 0x0011),
> > >         MAKE_EXTENSION_PCI(kncxs, 0x1894, 0x0014),
> > >         MAKE_EXTENSION_PCI(kncxs, 0x1894, 0x0016),
> > > +       MAKE_EXTENSION_PCI(kncxs, 0x1894, 0x001e),
> > >         MAKE_EXTENSION_PCI(knc1c, 0x1894, 0x0020),
> > >         MAKE_EXTENSION_PCI(knc1cp, 0x1894, 0x0021),
> > >         MAKE_EXTENSION_PCI(knc1t, 0x1894, 0x0030),
> > > 
> > > Signed-off-by: thilo_berger at gmx.net

What about the attached patch? 
Imho we should print the correct card name.
I also fixed some whitespace issues (broken by the mailer?).

> > Btw, is it acceptable to write 'at' in a 'Signed-off-by' line?
> > 
> I don't know. Sorry, is this a problem ?

The kernel guys do not like that...
If you don't mind I will convert your Signed-off-by line to contain a
real mail address.

Oliver

-- 
--------------------------------------------------------
VDR Remote Plugin available at
http://www.escape-edv.de/endriss/vdr/
--------------------------------------------------------
diff -r f13939e6120b linux/drivers/media/dvb/ttpci/budget-av.c
--- a/linux/drivers/media/dvb/ttpci/budget-av.c	Sun Feb 19 11:07:47 2006 -0300
+++ b/linux/drivers/media/dvb/ttpci/budget-av.c	Mon Feb 20 20:56:36 2006 +0100
@@ -1000,6 +1000,7 @@ static u8 read_pwm(struct budget_av *bud
 
 #define SUBID_DVBS_TV_STAR	0x0014
 #define SUBID_DVBS_TV_STAR_CI	0x0016
+#define SUBID_DVBS_EASYWATCH	0x001e
 #define SUBID_DVBC_KNC1		0x0020
 #define SUBID_DVBC_KNC1_PLUS	0x0021
 #define SUBID_DVBC_CINERGY1200	0x1156
@@ -1038,6 +1039,7 @@ static void frontend_init(struct budget_
 	case SUBID_DVBS_TV_STAR:
 	case SUBID_DVBS_TV_STAR_CI:
 	case SUBID_DVBS_CYNERGY1200N:
+	case SUBID_DVBS_EASYWATCH:
 		fe = stv0299_attach(&philips_sd1878_config,
 				&budget_av->budget.i2c_adap);
 		break;
@@ -1285,6 +1287,7 @@ MAKE_BUDGET_INFO(knc1c, "KNC1 DVB-C", BU
 MAKE_BUDGET_INFO(knc1c, "KNC1 DVB-C", BUDGET_KNC1C);
 MAKE_BUDGET_INFO(knc1t, "KNC1 DVB-T", BUDGET_KNC1T);
 MAKE_BUDGET_INFO(kncxs, "KNC TV STAR DVB-S", BUDGET_TVSTAR);
+MAKE_BUDGET_INFO(satewpls, "Satelco EasyWatch DVB-S light", BUDGET_TVSTAR);
 MAKE_BUDGET_INFO(knc1sp, "KNC1 DVB-S Plus", BUDGET_KNC1SP);
 MAKE_BUDGET_INFO(knc1cp, "KNC1 DVB-C Plus", BUDGET_KNC1CP);
 MAKE_BUDGET_INFO(knc1tp, "KNC1 DVB-T Plus", BUDGET_KNC1TP);
@@ -1300,6 +1303,7 @@ static struct pci_device_id pci_tbl[] = 
 	MAKE_EXTENSION_PCI(knc1sp, 0x1131, 0x0011),
 	MAKE_EXTENSION_PCI(kncxs, 0x1894, 0x0014),
 	MAKE_EXTENSION_PCI(kncxs, 0x1894, 0x0016),
+	MAKE_EXTENSION_PCI(satewpls, 0x1894, 0x001e),
 	MAKE_EXTENSION_PCI(knc1c, 0x1894, 0x0020),
 	MAKE_EXTENSION_PCI(knc1cp, 0x1894, 0x0021),
 	MAKE_EXTENSION_PCI(knc1t, 0x1894, 0x0030),
_______________________________________________

linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux