[arch-commits] Commit in rt3562sta/trunk (10 files)

Massimiliano Torromeo mtorromeo at nymeria.archlinux.org
Thu Apr 3 10:28:23 UTC 2014


    Date: Thursday, April 3, 2014 @ 12:28:23
  Author: mtorromeo
Revision: 108774

upgpkg: rt3562sta 2.4.1.1_r1-1

Patched and rebuilt for linux 3.14

Modified:
  rt3562sta/trunk/PKGBUILD
Deleted:
  rt3562sta/trunk/linux-3.8.patch
  rt3562sta/trunk/rt3562sta-2.4.1.1-WPA-mixed.patch
  rt3562sta/trunk/rt3562sta-2.4.1.1-config.patch
  rt3562sta/trunk/rt3562sta-2.4.1.1-convert-devicename-to-wlanX.patch
  rt3562sta/trunk/rt3562sta-2.4.1.1-gcc-warnings-x86_64.patch
  rt3562sta/trunk/rt3562sta-2.4.1.1-reduce_debug_output.patch
  rt3562sta/trunk/rt3562sta-2.4.1.1-remove-potential-conflicts-with-rt2860sta.patch
  rt3562sta/trunk/rt3562sta-2.4.1.1-remove_date_time.patch
  rt3562sta/trunk/rt3562sta-2.4.1.1-return_nonvoid.patch

-------------------------------------------------------------------+
 PKGBUILD                                                          |   42 ----
 linux-3.8.patch                                                   |   50 -----
 rt3562sta-2.4.1.1-WPA-mixed.patch                                 |   11 -
 rt3562sta-2.4.1.1-config.patch                                    |   98 ----------
 rt3562sta-2.4.1.1-convert-devicename-to-wlanX.patch               |   13 -
 rt3562sta-2.4.1.1-gcc-warnings-x86_64.patch                       |   14 -
 rt3562sta-2.4.1.1-reduce_debug_output.patch                       |   15 -
 rt3562sta-2.4.1.1-remove-potential-conflicts-with-rt2860sta.patch |   47 ----
 rt3562sta-2.4.1.1-remove_date_time.patch                          |   11 -
 rt3562sta-2.4.1.1-return_nonvoid.patch                            |   11 -
 10 files changed, 7 insertions(+), 305 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-04-03 10:22:59 UTC (rev 108773)
+++ PKGBUILD	2014-04-03 10:28:23 UTC (rev 108774)
@@ -3,8 +3,9 @@
 # Based on SUSE spec https://build.opensuse.org/package/files?package=rt3562sta&project=driver%3Awireless
 
 pkgname=rt3562sta
-pkgver=2.4.1.1
-pkgrel=52
+pkgver=2.4.1.1_r1
+_patchrel=${pkgver/*_r/}
+pkgrel=1
 pkgdesc="Ralink RT3562 PCI WLAN adaptors kernel module"
 arch=(i686 x86_64)
 url="http://www.mediatek.com/en/Products/support.php?sn=501"
@@ -12,33 +13,13 @@
 depends=('linux')
 makedepends=('linux-headers')
 install=$pkgname.install
-source=(
-	http://dl.dropbox.com/u/362439/DPO_RT3562_3592_3062_LinuxSTA_V${pkgver}_20101217.tgz
-	$pkgname-$pkgver-config.patch
-	$pkgname-$pkgver-gcc-warnings-x86_64.patch
-	$pkgname-$pkgver-WPA-mixed.patch
-	$pkgname-$pkgver-convert-devicename-to-wlanX.patch
-	$pkgname-$pkgver-remove-potential-conflicts-with-rt2860sta.patch
-	$pkgname-$pkgver-return_nonvoid.patch
-	$pkgname-$pkgver-reduce_debug_output.patch
-	$pkgname-$pkgver-remove_date_time.patch
-	linux-3.8.patch
-)
+source=($pkgname-$pkgver.tar.gz::https://github.com/mtorromeo/rt3562sta-linux/archive/r${_patchrel}.tar.gz)
 
 build() {
 	_kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -)
 	KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version)
 
-	cd "$srcdir/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217"
-	patch -p0 -i "$srcdir/$pkgname-$pkgver-config.patch"
-	[ "$CARCH" == "x86_64" ] && patch -p0 -i "$srcdir/$pkgname-$pkgver-gcc-warnings-x86_64.patch"
-	patch -p0 -i "$srcdir/$pkgname-$pkgver-WPA-mixed.patch"
-	patch -p0 -i "$srcdir/$pkgname-$pkgver-convert-devicename-to-wlanX.patch"
-	patch -p0 -i "$srcdir/$pkgname-$pkgver-remove-potential-conflicts-with-rt2860sta.patch"
-	patch -p0 -i "$srcdir/$pkgname-$pkgver-return_nonvoid.patch"
-	patch -p0 -i "$srcdir/$pkgname-$pkgver-reduce_debug_output.patch"
-	patch -p0 -i "$srcdir/$pkgname-$pkgver-remove_date_time.patch"
-	patch -p1 -i "$srcdir/linux-3.8.patch"
+	cd "$srcdir/rt3562sta-linux-r$_patchrel"
 
 	# clean up this mess of mixing RT2860STA with RT3562STA
 	# in documentation files
@@ -65,7 +46,7 @@
 	KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version)
 	msg "Kernel = $KERNEL_VERSION"
 
-	cd "$srcdir/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217"
+	cd "$srcdir/rt3562sta-linux-r$_patchrel"
 
 	install -Dm 0640 RT3562STA.dat "$pkgdir/etc/Wireless/RT3562STA/RT3562STA.dat"
 	install -Dm 0644 os/linux/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-3.$_kernver-ARCH/$pkgname.ko"
@@ -76,13 +57,4 @@
 	sed -i "s|extramodules-.*-ARCH|extramodules-3.$_kernver-ARCH|" "$startdir/$pkgname.install"
 }
 
-sha256sums=('71cd27784009894198f03470ec88e77f2cd176bf5f8d93b4dd984d3a3e543d5a'
-            'b1465fceaac99f26cc0e7db0562d2bf103b57656f0b7b57e404f59efb3373b27'
-            'd013ed5981a02be27b4aaf1e03670d68dbb16f40d9eb84930e58a96fc38ef947'
-            'c962d014ea6e84a8c3398ff13e4709cc309c29134cac0b5c702eab1026799887'
-            'e966d96026baee0447d6ad26742bcc40baa3f94530573d58f4eca842e107f809'
-            '7d2a83edfe6664a8e923dcda636c871220efc7ff4a82ab76a62fc97a11f2fcaa'
-            'd672b58cdb278e3ecaeb46f3e5e477e1da7d2fd5dbf896521a4d0993743b9ab9'
-            '4d1d5eb5c22d356af62f4f55d12b04eb8a557ea9c664edfbc79c9e0454ccca4e'
-            'a888d045b142127070c2c23ed1a84306d5202896265c828cf7e125ec2dd52389'
-            'ce44f33ab9e0cb407718e3bef14b70be9c5fe6636cf8a483c1d8c891c6bfdbd8')
+sha256sums=('6fd6306b6fb3886bbf9d284a28cc065a4cdfea18a03708e99aa4c7a038bcf02f')

Deleted: linux-3.8.patch
===================================================================
--- linux-3.8.patch	2014-04-03 10:22:59 UTC (rev 108773)
+++ linux-3.8.patch	2014-04-03 10:28:23 UTC (rev 108774)
@@ -1,50 +0,0 @@
-diff -upr DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217.orig/os/linux/pci_main_dev.c DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/pci_main_dev.c
---- DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217.orig/os/linux/pci_main_dev.c	2013-02-21 03:35:12.000000000 +0200
-+++ DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/pci_main_dev.c	2013-02-21 03:39:17.000000000 +0200
-@@ -34,8 +34,8 @@
- extern int rt28xx_close(IN struct net_device *net_dev);
- extern int rt28xx_open(struct net_device *net_dev);
- 
--static VOID __devexit rt2860_remove_one(struct pci_dev *pci_dev);
--static INT __devinit rt2860_probe(struct pci_dev *pci_dev, const struct pci_device_id  *ent);
-+static VOID rt2860_remove_one(struct pci_dev *pci_dev);
-+static INT rt2860_probe(struct pci_dev *pci_dev, const struct pci_device_id  *ent);
- static void __exit rt2860_cleanup_module(void);
- static int __init rt2860_init_module(void);
- 
-@@ -57,7 +57,7 @@ static int rt2860_resume(struct pci_dev
- //
- // Ralink PCI device table, include all supported chipsets
- //
--static struct pci_device_id rt2860_pci_tbl[] __devinitdata =
-+static struct pci_device_id rt2860_pci_tbl[] =
- {
- #ifdef RT2860
- 	{PCI_DEVICE(NIC_PCI_VENDOR_ID, NIC2860_PCI_DEVICE_ID)},		//RT28602.4G
-@@ -101,7 +101,7 @@ static struct pci_driver rt2860_driver =
-     id_table:   rt2860_pci_tbl,
-     probe:      rt2860_probe,
- #if LINUX_VERSION_CODE >= 0x20412
--    remove:     __devexit_p(rt2860_remove_one),
-+    remove:     rt2860_remove_one,
- #else
-     remove:     __devexit(rt2860_remove_one),
- #endif
-@@ -294,7 +294,7 @@ module_exit(rt2860_cleanup_module);
- //
- // PCI device probe & initialization function
- //
--static INT __devinit   rt2860_probe(
-+static INT rt2860_probe(
-     IN  struct pci_dev              *pci_dev, 
-     IN  const struct pci_device_id  *pci_id)
- {
-@@ -468,7 +468,7 @@ err_out:
- }
- 
- 
--static VOID __devexit rt2860_remove_one(
-+static VOID rt2860_remove_one(
-     IN  struct pci_dev  *pci_dev)
- {
- 	PNET_DEV	net_dev = pci_get_drvdata(pci_dev);

Deleted: rt3562sta-2.4.1.1-WPA-mixed.patch
===================================================================
--- rt3562sta-2.4.1.1-WPA-mixed.patch	2014-04-03 10:22:59 UTC (rev 108773)
+++ rt3562sta-2.4.1.1-WPA-mixed.patch	2014-04-03 10:28:23 UTC (rev 108774)
@@ -1,11 +0,0 @@
---- common/cmm_wpa.c.orig	2010-11-26 04:18:41.000000000 +0100
-+++ common/cmm_wpa.c	2010-12-01 15:09:22.000000000 +0100
-@@ -2410,7 +2410,7 @@
- 	UCHAR		PrimaryRsnie;			
- 	BOOLEAN		bMixCipher = FALSE;	// indicate the pairwise and group cipher are different
- 	UCHAR		p_offset;		
--	WPA_MIX_PAIR_CIPHER		FlexibleCipher = MIX_CIPHER_NOTUSE;	// it provide the more flexible cipher combination in WPA-WPA2 and TKIPAES mode
-+	WPA_MIX_PAIR_CIPHER		FlexibleCipher = WPA_TKIPAES_WPA2_TKIPAES;	// it provide the more flexible cipher combination in WPA-WPA2 and TKIPAES mode
- 		
- 	rsnielen_cur_p = NULL;
- 	rsnielen_ex_cur_p = NULL;

Deleted: rt3562sta-2.4.1.1-config.patch
===================================================================
--- rt3562sta-2.4.1.1-config.patch	2014-04-03 10:22:59 UTC (rev 108773)
+++ rt3562sta-2.4.1.1-config.patch	2014-04-03 10:28:23 UTC (rev 108774)
@@ -1,98 +0,0 @@
---- os/linux/config.mk.orig	2010-12-17 12:44:47.000000000 +0100
-+++ os/linux/config.mk	2010-12-17 19:53:36.000000000 +0100
-@@ -9,10 +9,10 @@
- 
- 
- # Support Wpa_Supplicant
--HAS_WPA_SUPPLICANT=n
-+HAS_WPA_SUPPLICANT=y
- 
- # Support Native WpaSupplicant for Network Maganger
--HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n
-+HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y
- 
- #Support Net interface block while Tx-Sw queue full
- HAS_BLOCK_NET_IF=n
-@@ -283,7 +283,7 @@
- endif
- 
- ifeq ($(CHIPSET),3562)
--WFLAGS +=-DRTMP_MAC_PCI -DRT2860 -DRT28xx -DRT30xx -DRT35xx -DRTMP_PCI_SUPPORT -DRTMP_RF_RW_SUPPORT -DRTMP_EFUSE_SUPPORT -DA_BAND_SUPPORT
-+WFLAGS +=-DRTMP_MAC_PCI -DRT2860 -DRT28xx -DRT30xx -DRT35xx -DRTMP_PCI_SUPPORT -DRTMP_RF_RW_SUPPORT -DRTMP_EFUSE_SUPPORT -DA_BAND_SUPPORT -DDOT11N_SS3_SUPPORT -DNEW_RATE_ADAPT_SUPPORT -DRT3593
- ifeq ($(HAS_DFS_SUPPORT),y)
- WFLAGS += -DDFS_HARDWARE_SUPPORT  -DDFS_DEBUG 
- endif
---- Makefile.orig	2010-12-17 12:44:47.000000000 +0100
-+++ Makefile	2010-12-17 19:51:39.000000000 +0100
-@@ -284,26 +284,26 @@
- endif
- 
- ifeq ($(RT28xx_MODE),AP)
--	cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)ap.o /tftpboot
-+#	cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)ap.o /tftpboot
- ifeq ($(OSABL),YES)
--	cp -f $(RT28xx_DIR)/os/linux/rtutil$(CHIPSET)ap.o /tftpboot
--	cp -f $(RT28xx_DIR)/os/linux/rtnet$(CHIPSET)ap.o /tftpboot
-+#	cp -f $(RT28xx_DIR)/os/linux/rtutil$(CHIPSET)ap.o /tftpboot
-+#	cp -f $(RT28xx_DIR)/os/linux/rtnet$(CHIPSET)ap.o /tftpboot
- endif
- ifeq ($(PLATFORM),INF_AMAZON_SE)
--	cp -f /tftpboot/rt2870ap.o /backup/ifx/build/root_filesystem/lib/modules/2.4.31-Amazon_SE-3.6.2.2-R0416_Ralink/kernel/drivers/net
-+#	cp -f /tftpboot/rt2870ap.o /backup/ifx/build/root_filesystem/lib/modules/2.4.31-Amazon_SE-3.6.2.2-R0416_Ralink/kernel/drivers/net
- endif
- else	
- ifeq ($(RT28xx_MODE),APSTA)
--	cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)apsta.o /tftpboot
-+#	cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)apsta.o /tftpboot
- ifeq ($(OSABL),YES)
--	cp -f $(RT28xx_DIR)/os/linux/rtutil$(CHIPSET)apsta.o /tftpboot
--	cp -f $(RT28xx_DIR)/os/linux/rtnet$(CHIPSET)apsta.o /tftpboot
-+#	cp -f $(RT28xx_DIR)/os/linux/rtutil$(CHIPSET)apsta.o /tftpboot
-+#	cp -f $(RT28xx_DIR)/os/linux/rtnet$(CHIPSET)apsta.o /tftpboot
- endif
- else
--	cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)sta.o /tftpboot
-+#	cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)sta.o /tftpboot
- ifeq ($(OSABL),YES)
--	cp -f $(RT28xx_DIR)/os/linux/rtutil$(CHIPSET)sta.o /tftpboot
--	cp -f $(RT28xx_DIR)/os/linux/rtnet$(CHIPSET)sta.o /tftpboot
-+#	cp -f $(RT28xx_DIR)/os/linux/rtutil$(CHIPSET)sta.o /tftpboot
-+#	cp -f $(RT28xx_DIR)/os/linux/rtnet$(CHIPSET)sta.o /tftpboot
- endif
- endif	
- endif	
-@@ -331,25 +331,25 @@
- endif
- 
- ifeq ($(RT28xx_MODE),AP)
--	cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)ap.ko /tftpboot
-+#	cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)ap.ko /tftpboot
- ifeq ($(OSABL),YES)
--	cp -f $(RT28xx_DIR)/os/linux/rtutil$(CHIPSET)ap.ko /tftpboot
--	cp -f $(RT28xx_DIR)/os/linux/rtnet$(CHIPSET)ap.ko /tftpboot
-+#	cp -f $(RT28xx_DIR)/os/linux/rtutil$(CHIPSET)ap.ko /tftpboot
-+#	cp -f $(RT28xx_DIR)/os/linux/rtnet$(CHIPSET)ap.ko /tftpboot
- endif
- 	rm -f os/linux/rt$(CHIPSET)ap.ko.lzma
- 	/root/bin/lzma e os/linux/rt$(CHIPSET)ap.ko os/linux/rt$(CHIPSET)ap.ko.lzma
- else	
- ifeq ($(RT28xx_MODE),APSTA)
--	cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)apsta.ko /tftpboot
-+#	cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)apsta.ko /tftpboot
- ifeq ($(OSABL),YES)
--	cp -f $(RT28xx_DIR)/os/linux/rtutil$(CHIPSET)apsta.ko /tftpboot
--	cp -f $(RT28xx_DIR)/os/linux/rtnet$(CHIPSET)apsta.ko /tftpboot
-+#	cp -f $(RT28xx_DIR)/os/linux/rtutil$(CHIPSET)apsta.ko /tftpboot
-+#	cp -f $(RT28xx_DIR)/os/linux/rtnet$(CHIPSET)apsta.ko /tftpboot
- endif
- else
--	cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)sta.ko /tftpboot
-+#	cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)sta.ko /tftpboot
- ifeq ($(OSABL),YES)
--	cp -f $(RT28xx_DIR)/os/linux/rtutil$(CHIPSET)sta.ko /tftpboot
--	cp -f $(RT28xx_DIR)/os/linux/rtnet$(CHIPSET)sta.ko /tftpboot
-+#	cp -f $(RT28xx_DIR)/os/linux/rtutil$(CHIPSET)sta.ko /tftpboot
-+#	cp -f $(RT28xx_DIR)/os/linux/rtnet$(CHIPSET)sta.ko /tftpboot
- endif
- endif
- endif

Deleted: rt3562sta-2.4.1.1-convert-devicename-to-wlanX.patch
===================================================================
--- rt3562sta-2.4.1.1-convert-devicename-to-wlanX.patch	2014-04-03 10:22:59 UTC (rev 108773)
+++ rt3562sta-2.4.1.1-convert-devicename-to-wlanX.patch	2014-04-03 10:28:23 UTC (rev 108774)
@@ -1,13 +0,0 @@
---- include/rtmp_def.h.orig	2010-11-26 04:18:41.000000000 +0100
-+++ include/rtmp_def.h	2010-12-01 14:57:05.000000000 +0100
-@@ -1451,8 +1451,8 @@
- #define SET_ENTRY_CLIWDS(_x)	CLIENT_STATUS_SET_FLAG((_x), fCLIENT_STATUS_CLI_WDS)
- #endif // CLIENT_WDS //
- 
--#define INF_MAIN_DEV_NAME		"ra"
--#define INF_MBSSID_DEV_NAME		"ra"
-+#define INF_MAIN_DEV_NAME		"wlan"
-+#define INF_MBSSID_DEV_NAME		"wlan"
- #define INF_WDS_DEV_NAME		"wds"
- #define INF_APCLI_DEV_NAME		"apcli"
- #define INF_MESH_DEV_NAME		"mesh"

Deleted: rt3562sta-2.4.1.1-gcc-warnings-x86_64.patch
===================================================================
--- rt3562sta-2.4.1.1-gcc-warnings-x86_64.patch	2014-04-03 10:22:59 UTC (rev 108773)
+++ rt3562sta-2.4.1.1-gcc-warnings-x86_64.patch	2014-04-03 10:28:23 UTC (rev 108774)
@@ -1,14 +0,0 @@
---- os/linux/rt_linux.c.orig	2010-11-26 04:18:41.000000000 +0100
-+++ os/linux/rt_linux.c	2010-12-01 14:57:53.000000000 +0100
-@@ -479,9 +479,9 @@
- 		MEM_DBG_PKT_ALLOC_INC(pAd);
- 
- 		skb_reserve(skb, 2);				
--		NdisMoveMemory(skb->tail, pHeader802_3, HdrLen);
-+		NdisMoveMemory(skb_tail_pointer(skb), pHeader802_3, HdrLen); //
- 		skb_put(skb, HdrLen);
--		NdisMoveMemory(skb->tail, pData, DataSize);
-+		NdisMoveMemory(skb_tail_pointer(skb), pData, DataSize); //
- 		skb_put(skb, DataSize);
- 		skb->dev = get_netdev_from_bssid(pAd, FromWhichBSSID);
- 		pPacket = OSPKT_TO_RTPKT(skb);

Deleted: rt3562sta-2.4.1.1-reduce_debug_output.patch
===================================================================
--- rt3562sta-2.4.1.1-reduce_debug_output.patch	2014-04-03 10:22:59 UTC (rev 108773)
+++ rt3562sta-2.4.1.1-reduce_debug_output.patch	2014-04-03 10:28:23 UTC (rev 108774)
@@ -1,15 +0,0 @@
---- include/os/rt_linux.h.orig	2011-01-07 11:20:02.000000000 +0100
-+++ include/os/rt_linux.h	2011-01-07 11:21:30.000000000 +0100
-@@ -611,10 +611,10 @@
- 
- #define DBGPRINT_RAW(Level, Fmt)    \
- do{                                   \
--    if (Level <= RTDebugLevel)      \
-+/*    if (Level <= RTDebugLevel)      \
-     {                               \
-         printk Fmt;               \
--    }                               \
-+    }*/                               \
- }while(0)
- 
- #define DBGPRINT(Level, Fmt)    DBGPRINT_RAW(Level, Fmt)

Deleted: rt3562sta-2.4.1.1-remove-potential-conflicts-with-rt2860sta.patch
===================================================================
--- rt3562sta-2.4.1.1-remove-potential-conflicts-with-rt2860sta.patch	2014-04-03 10:22:59 UTC (rev 108773)
+++ rt3562sta-2.4.1.1-remove-potential-conflicts-with-rt2860sta.patch	2014-04-03 10:28:23 UTC (rev 108774)
@@ -1,47 +0,0 @@
---- include/os/rt_linux.h.orig	2010-11-26 04:18:41.000000000 +0100
-+++ include/os/rt_linux.h	2010-12-01 14:58:46.000000000 +0100
-@@ -111,10 +111,10 @@
- 
- #ifdef CONFIG_STA_SUPPORT
- #ifdef RTMP_MAC_PCI
--#define STA_PROFILE_PATH			"/etc/Wireless/RT2860STA/RT2860STA.dat"
-+#define STA_PROFILE_PATH			"/etc/Wireless/RT3562STA/RT3562STA.dat"
- #define STA_DRIVER_VERSION			"2.4.1.1"
- #ifdef MULTIPLE_CARD_SUPPORT
--#define CARD_INFO_PATH			"/etc/Wireless/RT2860STA/RT2860STACard.dat"
-+#define CARD_INFO_PATH			"/etc/Wireless/RT3562STA/RT3562STACard.dat"
- #endif // MULTIPLE_CARD_SUPPORT //
- #endif // RTMP_MAC_PCI //
- 
---- os/linux/pci_main_dev.c.orig	2010-12-17 19:59:25.000000000 +0100
-+++ os/linux/pci_main_dev.c	2010-12-17 20:00:12.000000000 +0100
-@@ -90,14 +90,15 @@
- MODULE_VERSION(STA_DRIVER_VERSION);
- #endif
- #endif // CONFIG_STA_SUPPORT //
--
-+MODULE_DESCRIPTION("RT3562 Wireless Lan Linux Driver");
-+MODULE_LICENSE("GPL");
- 
- //
- // Our PCI driver structure
- //
- static struct pci_driver rt2860_driver =
- {
--    name:       "rt2860",
-+    name:       "rt3562",
-     id_table:   rt2860_pci_tbl,
-     probe:      rt2860_probe,
- #if LINUX_VERSION_CODE >= 0x20412
-@@ -317,9 +318,9 @@
- 	}
- 
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)
--	print_name = pci_dev ? pci_name(pci_dev) : "rt2860";
-+	print_name = pci_dev ? pci_name(pci_dev) : "rt3562";
- #else
--	print_name = pci_dev ? pci_dev->slot_name : "rt2860";
-+	print_name = pci_dev ? pci_dev->slot_name : "rt3562";
- #endif // LINUX_VERSION_CODE //
- 
- 	if ((rv = pci_request_regions(pci_dev, print_name)) != 0)

Deleted: rt3562sta-2.4.1.1-remove_date_time.patch
===================================================================
--- rt3562sta-2.4.1.1-remove_date_time.patch	2014-04-03 10:22:59 UTC (rev 108773)
+++ rt3562sta-2.4.1.1-remove_date_time.patch	2014-04-03 10:28:23 UTC (rev 108774)
@@ -1,11 +0,0 @@
---- os/linux/sta_ioctl.c.orig	2010-12-17 12:44:47.000000000 +0100
-+++ os/linux/sta_ioctl.c	2011-08-02 14:52:37.000000000 +0200
-@@ -1812,7 +1812,7 @@
-             wrq->length = strlen(extra) + 1; // 1: size of '\0'
-             break;
-         case SHOW_DRVIER_VERION:
--            sprintf(extra, "Driver version-%s, %s %s\n", STA_DRIVER_VERSION, __DATE__, __TIME__ );
-+            sprintf(extra, "Driver version-%s, %s %s\n", STA_DRIVER_VERSION, NULL, NULL );
-             wrq->length = strlen(extra) + 1; // 1: size of '\0'
-             break;
- #ifdef DOT11_N_SUPPORT

Deleted: rt3562sta-2.4.1.1-return_nonvoid.patch
===================================================================
--- rt3562sta-2.4.1.1-return_nonvoid.patch	2014-04-03 10:22:59 UTC (rev 108773)
+++ rt3562sta-2.4.1.1-return_nonvoid.patch	2014-04-03 10:28:23 UTC (rev 108774)
@@ -1,11 +0,0 @@
---- os/linux/rt_main_dev.c.orig	2010-12-17 12:44:47.000000000 +0100
-+++ os/linux/rt_main_dev.c	2010-12-17 19:42:23.000000000 +0100
-@@ -1247,7 +1247,7 @@
- 	RTMP_OS_TASK *pTask;
- 
- 	if (pAd->bWriteDat == FALSE)
--		return;
-+		return 0;
- 
- 	DBGPRINT(RT_DEBUG_TRACE, ("-->WriteDatThreadInit()\n"));
- 




More information about the arch-commits mailing list