commit crystalhd for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package crystalhd for openSUSE:Factory 
checked in at 2011-12-06 18:04:48

Comparing /work/SRC/openSUSE:Factory/crystalhd (Old)
 and  /work/SRC/openSUSE:Factory/.crystalhd.new (New)


Package is crystalhd, Maintainer is ti...@suse.com

Changes:




Other differences:
--
++ crystalhd.spec ++
--- /var/tmp/diff_new_pack.7xrut1/_old  2011-12-06 18:07:40.0 +0100
+++ /var/tmp/diff_new_pack.7xrut1/_new  2011-12-06 18:07:40.0 +0100
@@ -23,7 +23,7 @@
 Group:  System/Kernel
 Version:3.10.0
 Release:6
-License:GPLv2
+License:GPL-2.0
 Group:  System/Kernel
 Source0:crystalhd-driver_%{version}-1.tar.bz2
 Source1:README
@@ -47,7 +47,7 @@
 driver.
 
 %package KMP
-License:GPLv2
+License:GPL-2.0
 Summary:Broadcom Crystal HD driver KMP
 Group:  System/Kernel
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit crystalhd for openSUSE:Factory

2011-09-19 Thread h_root

Hello community,

here is the log from the commit of package crystalhd for openSUSE:Factory
checked in at Mon Sep 19 15:57:33 CEST 2011.




--- crystalhd/crystalhd.changes 2011-06-28 09:25:14.0 +0200
+++ /mounts/work_src_done/STABLE/crystalhd/crystalhd.changes2011-09-18 
02:02:00.0 +0200
@@ -1,0 +2,6 @@
+Sun Sep 18 00:01:56 UTC 2011 - jeng...@medozas.de
+
+- Remove redundant tags/sections from specfile
+- Use %_smp_mflags for parallel build
+
+---

calling whatdependson for head-i586




Other differences:
--
++ crystalhd.spec ++
--- /var/tmp/diff_new_pack.6BSvGQ/_old  2011-09-19 15:57:29.0 +0200
+++ /var/tmp/diff_new_pack.6BSvGQ/_new  2011-09-19 15:57:29.0 +0200
@@ -15,7 +15,6 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 
 Name:   crystalhd
@@ -75,7 +74,7 @@
 rm -rf $flavor
 cp -al source $flavor
 cd $flavor
-make KSRC=/usr/src/linux-obj/%_target_cpu/$flavor
+make KSRC=/usr/src/linux-obj/%_target_cpu/$flavor %{?_smp_mflags}
 cd ..
 done 
 
@@ -88,9 +87,6 @@
 mkdir -p $RPM_BUILD_ROOT/etc/udev/rules.d
 cp source/*.rules $RPM_BUILD_ROOT/etc/udev/rules.d
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-,root,root)
 %doc README* LICENSE






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit crystalhd for openSUSE:Factory

2011-06-28 Thread h_root

Hello community,

here is the log from the commit of package crystalhd for openSUSE:Factory
checked in at Tue Jun 28 11:28:19 CEST 2011.




--- crystalhd/crystalhd.changes 2011-03-16 10:59:31.0 +0100
+++ /mounts/work_src_done/STABLE/crystalhd/crystalhd.changes2011-06-28 
09:25:14.0 +0200
@@ -1,0 +2,5 @@
+Tue Jun 28 09:24:48 CEST 2011 - ti...@suse.de
+
+- Fix builds on FACTORY kernel with gcc 4.6
+
+---

calling whatdependson for head-i586


New:

  crystalhd-fix-includes.diff
  crystalhd-fix-sections.diff
  crystalhd-fix-uninitialized.diff



Other differences:
--
++ crystalhd.spec ++
--- /var/tmp/diff_new_pack.mkai1g/_old  2011-06-28 11:26:04.0 +0200
+++ /var/tmp/diff_new_pack.mkai1g/_new  2011-06-28 11:26:04.0 +0200
@@ -23,7 +23,7 @@
 Summary:Broadcom Crystal HD driver KMP
 Group:  System/Kernel
 Version:3.10.0
-Release:5
+Release:6
 License:GPLv2
 Group:  System/Kernel
 Source0:crystalhd-driver_%{version}-1.tar.bz2
@@ -32,6 +32,10 @@
 Source3:preamble
 # PATCH-FIX-OPENSUSE unused-variable.patch -- Remove unused variables to fix 
compilation with gcc 4.6
 Patch:  unused-variable.patch
+# Just for gcc-4.6 spewing invalid warnings
+Patch1: crystalhd-fix-uninitialized.diff
+Patch2: crystalhd-fix-includes.diff
+Patch3: crystalhd-fix-sections.diff
 Requires:   crystalhd-firmware
 Recommends: gstreamer-0_10-plugin-crystalhd
 Url:http://www.broadcom.com/support/crystal_hd/
@@ -56,6 +60,9 @@
 %prep
 %setup -q -n crystalhd-driver
 %patch
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
 echo 'crystalhd.ko external'  Module.supported
 set -- *
 mkdir source

++ crystalhd-fix-includes.diff ++
---
 crystalhd_hw.h |1 +
 1 file changed, 1 insertion(+)

--- a/crystalhd_hw.h
+++ b/crystalhd_hw.h
@@ -35,6 +35,7 @@
 #else
 #include asm/semaphore.h
 #endif
+#include linux/delay.h
 #include crystalhd_fw_if.h
 #include crystalhd_misc.h
 #include DriverFwShare.h
++ crystalhd-fix-sections.diff ++
---
 crystalhd_lnx.c |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/crystalhd_lnx.c
+++ b/crystalhd_lnx.c
@@ -498,7 +498,7 @@
return rc;
 }
 
-static void __devexit chd_dec_release_chdev(struct crystalhd_adp *adp)
+static void chd_dec_release_chdev(struct crystalhd_adp *adp)
 {
crystalhd_ioctl_data *temp = NULL;
if (!adp)
@@ -582,7 +582,7 @@
return 0;
 }
 
-static void __devexit chd_pci_release_mem(struct crystalhd_adp *pinfo)
+static void chd_pci_release_mem(struct crystalhd_adp *pinfo)
 {
if (!pinfo)
return;
++ crystalhd-fix-uninitialized.diff ++
Just for buggy gcc-4.6 spewing wrong warnings...

---
 crystalhd_fleafuncs.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/crystalhd_fleafuncs.c
+++ b/crystalhd_fleafuncs.c
@@ -563,7 +563,7 @@
 static
 void crystalhd_flea_runtime_power_dn(struct crystalhd_hw *hw)
 {
-   uint32_t regVal;
+   uint32_t regVal = 0;
uint32_t pollCnt;
 
/*printk(RT PD \n); */





Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit crystalhd for openSUSE:Factory

2011-03-22 Thread h_root

Hello community,

here is the log from the commit of package crystalhd for openSUSE:Factory
checked in at Tue Mar 22 18:01:59 CET 2011.




--- crystalhd/crystalhd.changes 2010-12-14 17:37:14.0 +0100
+++ /mounts/work_src_done/STABLE/crystalhd/crystalhd.changes2011-03-16 
10:59:31.0 +0100
@@ -1,0 +2,5 @@
+Wed Mar 16 09:57:06 UTC 2011 - ism...@namtrac.org
+
+- Fixed unused variable warnings to fix compilation with gcc 4.6 
+
+---

calling whatdependson for head-i586


New:

  unused-variable.patch



Other differences:
--
++ crystalhd.spec ++
--- /var/tmp/diff_new_pack.NFH27Y/_old  2011-03-22 18:01:43.0 +0100
+++ /var/tmp/diff_new_pack.NFH27Y/_new  2011-03-22 18:01:43.0 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package crystalhd (Version 3.10.0)
+# spec file for package crystalhd
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -23,13 +23,15 @@
 Summary:Broadcom Crystal HD driver KMP
 Group:  System/Kernel
 Version:3.10.0
-Release:1
+Release:5
 License:GPLv2
 Group:  System/Kernel
 Source0:crystalhd-driver_%{version}-1.tar.bz2
 Source1:README
 Source2:LICENSE
 Source3:preamble
+# PATCH-FIX-OPENSUSE unused-variable.patch -- Remove unused variables to fix 
compilation with gcc 4.6
+Patch:  unused-variable.patch
 Requires:   crystalhd-firmware
 Recommends: gstreamer-0_10-plugin-crystalhd
 Url:http://www.broadcom.com/support/crystal_hd/
@@ -53,6 +55,7 @@
 
 %prep
 %setup -q -n crystalhd-driver
+%patch
 echo 'crystalhd.ko external'  Module.supported
 set -- *
 mkdir source

++ unused-variable.patch ++
--- crystalhd_hw.c  2010-12-07 18:18:41.0 +0100
+++ crystalhd_hw.c  2011-03-16 10:45:04.498009062 +0100
@@ -716,7 +716,7 @@
 {
struct device *dev;
struct tx_dma_pkt *tx_dma_packet = NULL;
-   uint32_t low_addr, high_addr;
+   //uint32_t low_addr, high_addr;
addr_64 desc_addr;
BC_STATUS sts, add_sts;
uint32_t dummy_index = 0;
@@ -772,8 +772,8 @@
}
 
desc_addr.full_addr = tx_dma_packet-desc_mem.phy_addr;
-   low_addr = desc_addr.low_part;
-   high_addr = desc_addr.high_part;
+   //low_addr = desc_addr.low_part;
+   //high_addr = desc_addr.high_part;
 
tx_dma_packet-call_back = call_back;
tx_dma_packet-cb_event  = cb_event;
--- crystalhd_fleafuncs.c   2010-12-07 18:18:41.0 +0100
+++ crystalhd_fleafuncs.c   2011-03-16 10:51:22.826009081 +0100
@@ -168,7 +168,7 @@
 {
int32_t ddr2_speed_grade[2];
uint32_t sd_0_col_size, sd_0_bank_size, sd_0_row_size;
-   uint32_t sd_1_col_size, sd_1_bank_size, sd_1_row_size;
+   //uint32_t sd_1_col_size, sd_1_bank_size, sd_1_row_size;
uint32_t ddr3_mode[2];
uint32_t regVal;
bool bDDR3Detected=false; /*Should be filled in using the detection 
logic. Default to DDR2 */
@@ -182,9 +182,9 @@
sd_0_bank_size = BANK_SIZE_8;
sd_0_row_size = ROW_SIZE_8K; /* DDR2 */
/*  sd_0_row_size = ROW_SIZE_16K; // DDR3 */
-   sd_1_col_size = COL_BITS_10;
-   sd_1_bank_size = BANK_SIZE_8;
-   sd_1_row_size = ROW_SIZE_8K;
+   //sd_1_col_size = COL_BITS_10;
+   //sd_1_bank_size = BANK_SIZE_8;
+   //sd_1_row_size = ROW_SIZE_8K;
ddr3_mode[0] = 0;
ddr3_mode[1] = 0;
 
@@ -193,7 +193,7 @@
{
ddr3_mode[0] = 1;
sd_0_row_size = ROW_SIZE_16K; /* DDR3 */
-   sd_1_row_size = ROW_SIZE_16K; /* DDR3 */
+   //sd_1_row_size = ROW_SIZE_16K; /* DDR3 */
 
}
 
@@ -844,7 +844,7 @@
bool StChangeSuccess=false;
uint32_t tempFLL = 0;
uint32_t freeListLen = 0;
-   BC_STATUS sts;
+   //BC_STATUS sts;
struct crystalhd_rx_dma_pkt *rx_pkt = NULL;
 
freeListLen = crystalhd_dioq_count(hw-rx_freeq);
@@ -868,7 +868,7 @@
{
rx_pkt = 
crystalhd_dioq_fetch(hw-rx_freeq);
if (rx_pkt)
-   sts = hw-pfnPostRxSideBuff(hw, 
rx_pkt);
+   hw-pfnPostRxSideBuff(hw, 
rx_pkt);
}
/*printk( Success\n); */
 
@@ -892,7 +892,7 @@
{
rx_pkt = 
crystalhd_dioq_fetch(hw-rx_freeq);