[arch-commits] Commit in rt3562sta/trunk (PKGBUILD linux-3.8.patch rt3562sta.install)

Evangelos Foutras foutrelis at nymeria.archlinux.org
Thu Feb 21 01:40:30 UTC 2013


    Date: Thursday, February 21, 2013 @ 02:40:30
  Author: foutrelis
Revision: 84637

upgpkg: rt3562sta 2.4.1.1-24

Linux 3.8 rebuild.

Added:
  rt3562sta/trunk/linux-3.8.patch
Modified:
  rt3562sta/trunk/PKGBUILD
  rt3562sta/trunk/rt3562sta.install

-------------------+
 PKGBUILD          |    7 +++++--
 linux-3.8.patch   |   50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 rt3562sta.install |    2 +-
 3 files changed, 56 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-02-21 01:39:12 UTC (rev 84636)
+++ PKGBUILD	2013-02-21 01:40:30 UTC (rev 84637)
@@ -4,7 +4,7 @@
 
 pkgname=rt3562sta
 pkgver=2.4.1.1
-pkgrel=23
+pkgrel=24
 pkgdesc="Ralink RT3562 PCI WLAN adaptors kernel module"
 arch=(i686 x86_64)
 url="http://www.mediatek.com/en/Products/support.php?sn=501"
@@ -22,6 +22,7 @@
 	$pkgname-$pkgver-return_nonvoid.patch
 	$pkgname-$pkgver-reduce_debug_output.patch
 	$pkgname-$pkgver-remove_date_time.patch
+	linux-3.8.patch
 )
 
 build() {
@@ -37,6 +38,7 @@
 	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"
 
 	# clean up this mess of mixing RT2860STA with RT3562STA
 	# in documentation files
@@ -82,4 +84,5 @@
             '7d2a83edfe6664a8e923dcda636c871220efc7ff4a82ab76a62fc97a11f2fcaa'
             'd672b58cdb278e3ecaeb46f3e5e477e1da7d2fd5dbf896521a4d0993743b9ab9'
             '4d1d5eb5c22d356af62f4f55d12b04eb8a557ea9c664edfbc79c9e0454ccca4e'
-            'a888d045b142127070c2c23ed1a84306d5202896265c828cf7e125ec2dd52389')
+            'a888d045b142127070c2c23ed1a84306d5202896265c828cf7e125ec2dd52389'
+            'ce44f33ab9e0cb407718e3bef14b70be9c5fe6636cf8a483c1d8c891c6bfdbd8')

Added: linux-3.8.patch
===================================================================
--- linux-3.8.patch	                        (rev 0)
+++ linux-3.8.patch	2013-02-21 01:40:30 UTC (rev 84637)
@@ -0,0 +1,50 @@
+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);

Modified: rt3562sta.install
===================================================================
--- rt3562sta.install	2013-02-21 01:39:12 UTC (rev 84636)
+++ rt3562sta.install	2013-02-21 01:40:30 UTC (rev 84637)
@@ -1,5 +1,5 @@
 rebuild_module_dependencies() {
-	EXTRAMODULES='extramodules-3.7-ARCH'
+	EXTRAMODULES='extramodules-3.8-ARCH'
 	depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
 }
 




More information about the arch-commits mailing list