Message ID | 20140609152135.GQ9600@mwanda (mailing list archive) |
---|---|
State | Accepted, archived |
Delegated to: | Hans Verkuil |
Headers |
Received: from mail.tu-berlin.de ([130.149.7.33]) by www.linuxtv.org with esmtp (Exim 4.72) (envelope-from <linux-media-owner@vger.kernel.org>) id 1Wu1OW-0003SU-Sw; Mon, 09 Jun 2014 17:21:56 +0200 X-tubIT-Incoming-IP: 209.132.180.67 Received: from vger.kernel.org ([209.132.180.67]) by mail.tu-berlin.de (exim-4.72/mailfrontend-7) with esmtp id 1Wu1OT-0008SJ-2b; Mon, 09 Jun 2014 17:21:56 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932685AbaFIPVv (ORCPT <rfc822;mkrufky@linuxtv.org> + 1 other); Mon, 9 Jun 2014 11:21:51 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:38156 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752169AbaFIPVu (ORCPT <rfc822; linux-media@vger.kernel.org>); Mon, 9 Jun 2014 11:21:50 -0400 Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s59FLe6D005311 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 9 Jun 2014 15:21:40 GMT Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by ucsinet22.oracle.com (8.14.5+Sun/8.14.5) with ESMTP id s59FLafm012851 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 9 Jun 2014 15:21:39 GMT Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s59FLaOq005891; Mon, 9 Jun 2014 15:21:36 GMT Received: from mwanda (/41.202.240.3) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 09 Jun 2014 08:21:35 -0700 Date: Mon, 9 Jun 2014 18:21:35 +0300 From: Dan Carpenter <dan.carpenter@oracle.com> To: Mauro Carvalho Chehab <m.chehab@samsung.com> Cc: mjpeg-users@lists.sourceforge.net, linux-media@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: [patch] [media] zoran: remove duplicate ZR050_MO_COMP define Message-ID: <20140609152135.GQ9600@mwanda> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Source-IP: ucsinet22.oracle.com [156.151.31.94] Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: <linux-media.vger.kernel.org> X-Mailing-List: linux-media@vger.kernel.org X-PMX-Version: 6.0.0.2142326, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2014.6.9.150918 X-PMX-Spam: Gauge=IIIIIIIII, Probability=9%, Report=' MULTIPLE_RCPTS 0.1, HTML_00_01 0.05, HTML_00_10 0.05, MSGID_ADDED_BY_MTA 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1000_LESS 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, BODY_SIZE_800_899 0, INVALID_MSGID_NO_FQDN 0, URI_ENDS_IN_HTML 0, __ANY_URI 0, __CD 0, __CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __DATE_TZ_RU 0, __HAS_FROM 0, __HAS_MSGID 0, __HAS_X_MAILING_LIST 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __MULTIPLE_RCPTS_CC_X2 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __TO_MALFORMED_2 0, __URI_NO_WWW 0, __URI_NS , __USER_AGENT 0' |
Commit Message
Dan Carpenter
June 9, 2014, 3:21 p.m. UTC
The ZR050_MO_COMP define is cut and pasted twice so we can delete the
second instance.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Comments
Hallo More than 15 years have passed since the first working module for a zoran chipset based PCI card existed. Well not included into the Linux kernel at that time. According to my experience, the driver started to make problems when 64 Bit and more than 2GB Ram became popular. In May 2011 there was a patch available that made the cards working in machines with more than 2GB Ram, and AMD&Intel x64 architectures. According to my information that patch did not make it into the linux kernel (the Patch was for the Linux 2.6.38 Kernel) So people spend time looking at code that does not work (well it compiles and does not cause troubles), and send patches the world will never honor. I haven't had a question related to a zoran based card's in years. So I'm quite sure there are not much users out there that use a zoran based video cards in a up to date environment. Because of that I would really suggest that somebody removes the whole zoran driver from the linux kernel. Dan Carpenter wrote: > The ZR050_MO_COMP define is cut and pasted twice so we can delete the > second instance. > > Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> > > diff --git a/drivers/media/pci/zoran/zr36050.h b/drivers/media/pci/zoran/zr36050.h > index 9f52f0c..ea083ad 100644 > --- a/drivers/media/pci/zoran/zr36050.h > +++ b/drivers/media/pci/zoran/zr36050.h > @@ -126,7 +126,6 @@ struct zr36050 { > /* zr36050 mode register bits */ > > #define ZR050_MO_COMP 0x80 > -#define ZR050_MO_COMP 0x80 > #define ZR050_MO_ATP 0x40 > #define ZR050_MO_PASS2 0x20 > #define ZR050_MO_TLM 0x10 > > ------------------------------------------------------------------------------ > HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions > Find What Matters Most in Your Big Data with HPCC Systems > Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. > Leverages Graph Analysis for Fast Processing & Easy Data Exploration > http://p.sf.net/sfu/hpccsystems > _______________________________________________ > Mjpeg-users mailing list > Mjpeg-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mjpeg-users Kind Regards Bernhard Praschinger Docwriter, probably the last mjpegtools maintainer -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi Bernhard, On 06/12/2014 07:28 PM, Bernhard Praschinger wrote: > Hallo > > More than 15 years have passed since the first working module for a > zoran chipset based PCI card existed. Well not included into the > Linux kernel at that time. According to my experience, the driver > started to make problems when 64 Bit and more than 2GB Ram became > popular. In May 2011 there was a patch available that made the cards > working in machines with more than 2GB Ram, and AMD&Intel x64 > architectures. According to my information that patch did not make it > into the linux kernel (the Patch was for the Linux 2.6.38 Kernel) As far as I know it works fine on machines with a lot of memory, at least the last time I tested it it was OK (with a 3.<something> kernel). > So people spend time looking at code that does not work (well it > compiles and does not cause troubles), and send patches the world > will never honor. I'll honor them. I still have zoran hardware and it is on my todo list of drivers to update to the latest frameworks. > I haven't had a question related to a zoran based card's in years. So > I'm quite sure there are not much users out there that use a zoran > based video cards in a up to date environment. > > Because of that I would really suggest that somebody removes the whole zoran driver from the linux kernel. It's not blocking new development, so there is no need to remove it. Besides, I have zoran hardware, so even if it is blocking new developments I should be able to fix it. Regards, Hans > > Dan Carpenter wrote: >> The ZR050_MO_COMP define is cut and pasted twice so we can delete the >> second instance. >> >> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> >> >> diff --git a/drivers/media/pci/zoran/zr36050.h b/drivers/media/pci/zoran/zr36050.h >> index 9f52f0c..ea083ad 100644 >> --- a/drivers/media/pci/zoran/zr36050.h >> +++ b/drivers/media/pci/zoran/zr36050.h >> @@ -126,7 +126,6 @@ struct zr36050 { >> /* zr36050 mode register bits */ >> >> #define ZR050_MO_COMP 0x80 >> -#define ZR050_MO_COMP 0x80 >> #define ZR050_MO_ATP 0x40 >> #define ZR050_MO_PASS2 0x20 >> #define ZR050_MO_TLM 0x10 >> >> ------------------------------------------------------------------------------ >> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions >> Find What Matters Most in Your Big Data with HPCC Systems >> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. >> Leverages Graph Analysis for Fast Processing & Easy Data Exploration >> http://p.sf.net/sfu/hpccsystems >> _______________________________________________ >> Mjpeg-users mailing list >> Mjpeg-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/mjpeg-users > > Kind Regards > Bernhard Praschinger > Docwriter, probably the last mjpegtools maintainer > -- > To unsubscribe from this list: send the line "unsubscribe linux-media" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/media/pci/zoran/zr36050.h b/drivers/media/pci/zoran/zr36050.h index 9f52f0c..ea083ad 100644 --- a/drivers/media/pci/zoran/zr36050.h +++ b/drivers/media/pci/zoran/zr36050.h @@ -126,7 +126,6 @@ struct zr36050 { /* zr36050 mode register bits */ #define ZR050_MO_COMP 0x80 -#define ZR050_MO_COMP 0x80 #define ZR050_MO_ATP 0x40 #define ZR050_MO_PASS2 0x20 #define ZR050_MO_TLM 0x10