diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2007-05-13 14:49:12 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2007-05-13 14:49:12 +0000 |
commit | 82466b8467cf80f6d864d854b930147ae42da73e (patch) | |
tree | b0ad50686084af83b866c292478a4931de7548e8 /net-wireless | |
parent | Bump stable ruby to address #159922 (diff) | |
download | historical-82466b8467cf80f6d864d854b930147ae42da73e.tar.gz historical-82466b8467cf80f6d864d854b930147ae42da73e.tar.bz2 historical-82466b8467cf80f6d864d854b930147ae42da73e.zip |
Add 2.6.22 patch
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/madwifi-ng/ChangeLog | 6 | ||||
-rw-r--r-- | net-wireless/madwifi-ng/Manifest | 20 | ||||
-rw-r--r-- | net-wireless/madwifi-ng/files/madwifi-2.6.22.patch | 82 | ||||
-rw-r--r-- | net-wireless/madwifi-ng/madwifi-ng-0.9.3-r3.ebuild | 8 |
4 files changed, 104 insertions, 12 deletions
diff --git a/net-wireless/madwifi-ng/ChangeLog b/net-wireless/madwifi-ng/ChangeLog index 7e8dc456446e..6174dd01ff15 100644 --- a/net-wireless/madwifi-ng/ChangeLog +++ b/net-wireless/madwifi-ng/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-wireless/madwifi-ng # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/ChangeLog,v 1.34 2007/04/16 19:37:23 steev Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/ChangeLog,v 1.35 2007/05/13 14:49:12 genstef Exp $ + + 13 May 2007; Stefan Schweizer <genstef@gentoo.org> + +files/madwifi-2.6.22.patch, madwifi-ng-0.9.3-r3.ebuild: + Add 2.6.22 patch *madwifi-ng-0.9.3-r3 (16 Apr 2007) diff --git a/net-wireless/madwifi-ng/Manifest b/net-wireless/madwifi-ng/Manifest index 3a3297a18e8b..effe4d8c242b 100644 --- a/net-wireless/madwifi-ng/Manifest +++ b/net-wireless/madwifi-ng/Manifest @@ -1,3 +1,7 @@ +AUX madwifi-2.6.22.patch 2979 RMD160 dc97301f4d0ff7b53bd084ef7ff5c3186b1246e2 SHA1 2c8664e1a9d52518a08bdbe56c814f277ae7d6eb SHA256 2672fbdb88ca7cfeaf9cf493f9ff0b2db234967c7980edf9779d1d2842efced8 +MD5 2048b32697f6ded57ff40036b6668b45 files/madwifi-2.6.22.patch 2979 +RMD160 dc97301f4d0ff7b53bd084ef7ff5c3186b1246e2 files/madwifi-2.6.22.patch 2979 +SHA256 2672fbdb88ca7cfeaf9cf493f9ff0b2db234967c7980edf9779d1d2842efced8 files/madwifi-2.6.22.patch 2979 AUX madwifi-association-fix.patch 2530 RMD160 405689db0b214e2e4378a2471a9584b2195440e3 SHA1 c4d67684238c51a4632ae9e01caabe9750f705fa SHA256 787fc4061571fe87f0a1575189743974ebbce73c7ee07e66d37731f234caf8ff MD5 6f2c3ea19061fa433c6777e202fb636c files/madwifi-association-fix.patch 2530 RMD160 405689db0b214e2e4378a2471a9584b2195440e3 files/madwifi-association-fix.patch 2530 @@ -44,14 +48,14 @@ EBUILD madwifi-ng-0.9.3-r2.ebuild 2771 RMD160 cf350ff3a98dc9651b8e19b49f2aa3f37c MD5 52d9b4b6c091c21ddfa7b1c7adbbf81a madwifi-ng-0.9.3-r2.ebuild 2771 RMD160 cf350ff3a98dc9651b8e19b49f2aa3f37caff25a madwifi-ng-0.9.3-r2.ebuild 2771 SHA256 c3d0fc8c880bfc2a2d30481ca43448ada8bd0d82d526241cade5ecc8f9353f6b madwifi-ng-0.9.3-r2.ebuild 2771 -EBUILD madwifi-ng-0.9.3-r3.ebuild 2878 RMD160 1fbef998627b76383e67b0f29d5b23ec49abeaec SHA1 3b26d544e43221e99bfe92ef373a47dee378e83b SHA256 d6a39a5ab69fd62486ebec4028f2b336a5039f5e29410be1ec7c74cfb926bfd9 -MD5 f95e7d2e83b401da4a05548e7d299992 madwifi-ng-0.9.3-r3.ebuild 2878 -RMD160 1fbef998627b76383e67b0f29d5b23ec49abeaec madwifi-ng-0.9.3-r3.ebuild 2878 -SHA256 d6a39a5ab69fd62486ebec4028f2b336a5039f5e29410be1ec7c74cfb926bfd9 madwifi-ng-0.9.3-r3.ebuild 2878 -MISC ChangeLog 15814 RMD160 05b2e488e745139f2159b6a26049e55d0c49a1fe SHA1 fe74d739b1681877d53a5141a51e285ddb868944 SHA256 b1c47604f33c029c88e177afa38b6fec4ccbec75e7cb9e92a3a5c443cf89eca2 -MD5 4d598d58f4d00a49cd0a57171d3b271e ChangeLog 15814 -RMD160 05b2e488e745139f2159b6a26049e55d0c49a1fe ChangeLog 15814 -SHA256 b1c47604f33c029c88e177afa38b6fec4ccbec75e7cb9e92a3a5c443cf89eca2 ChangeLog 15814 +EBUILD madwifi-ng-0.9.3-r3.ebuild 2948 RMD160 551006644ad9d3f79e107187a4d2afd99e5cfba7 SHA1 9dbd531c98bece2e5c14f970d1cf2121dab84e2e SHA256 be14208e24c29e73ca7071d3fa73d37ee0a5d6080ee1e072c56df13c8afe99e7 +MD5 1581646d46eb1830fb3786147a07739f madwifi-ng-0.9.3-r3.ebuild 2948 +RMD160 551006644ad9d3f79e107187a4d2afd99e5cfba7 madwifi-ng-0.9.3-r3.ebuild 2948 +SHA256 be14208e24c29e73ca7071d3fa73d37ee0a5d6080ee1e072c56df13c8afe99e7 madwifi-ng-0.9.3-r3.ebuild 2948 +MISC ChangeLog 15948 RMD160 687891ff5ac2e7a9bacbc67a604198a7a4c9cd8b SHA1 bbc7645655f7a333a2a0b2d006e9d870ae02d3a2 SHA256 10189eac715cc3073ba6e4e80252bcfad575fd5eeee70622d2947ec10e545e1b +MD5 183b818048dd701c0e7465140a7f5bca ChangeLog 15948 +RMD160 687891ff5ac2e7a9bacbc67a604198a7a4c9cd8b ChangeLog 15948 +SHA256 10189eac715cc3073ba6e4e80252bcfad575fd5eeee70622d2947ec10e545e1b ChangeLog 15948 MISC metadata.xml 256 RMD160 af310503f82b971c1d6e8e1a5282d455f3427a3e SHA1 c7c8144660775d9edc93ea9cfb820944f7eb3109 SHA256 0bece0d60e3a88523cbaab4bfaafc904a11efd49099bc37388954a243a096f59 MD5 1e76dba4899dcc307c5a880a729e20ee metadata.xml 256 RMD160 af310503f82b971c1d6e8e1a5282d455f3427a3e metadata.xml 256 diff --git a/net-wireless/madwifi-ng/files/madwifi-2.6.22.patch b/net-wireless/madwifi-ng/files/madwifi-2.6.22.patch new file mode 100644 index 000000000000..58cc57cd1985 --- /dev/null +++ b/net-wireless/madwifi-ng/files/madwifi-2.6.22.patch @@ -0,0 +1,82 @@ +diff -ur madwifi-0.9.3.orig/ath/if_ath_pci.c madwifi-0.9.3/ath/if_ath_pci.c +--- madwifi-0.9.3.orig/ath/if_ath_pci.c 2007-01-22 04:07:30.000000000 +0100 ++++ madwifi-0.9.3/ath/if_ath_pci.c 2007-05-13 16:12:59.000000000 +0200 +@@ -207,7 +207,7 @@ + + pci_set_drvdata(pdev, dev); + +- if (request_irq(dev->irq, ath_intr, SA_SHIRQ, dev->name, dev)) { ++ if (request_irq(dev->irq, ath_intr, IRQF_SHARED, dev->name, dev)) { + printk(KERN_WARNING "%s: request_irq failed\n", dev->name); + goto bad3; + } +diff -ur madwifi-0.9.3.orig/net80211/ieee80211_input.c madwifi-0.9.3/net80211/ieee80211_input.c +--- madwifi-0.9.3.orig/net80211/ieee80211_input.c 2007-02-02 21:01:51.000000000 +0100 ++++ madwifi-0.9.3/net80211/ieee80211_input.c 2007-05-13 16:17:28.000000000 +0200 +@@ -1127,8 +1127,8 @@ + } + if (skb1 != NULL) { + skb1->dev = dev; +- skb1->mac.raw = skb1->data; +- skb1->nh.raw = skb1->data + sizeof(struct ether_header); ++ skb1->mac_header = skb1->data; ++ skb1->network_header = skb1->data + sizeof(struct ether_header); + skb1->protocol = __constant_htons(ETH_P_802_2); + /* XXX insert vlan tag before queue it? */ + dev_queue_xmit(skb1); +@@ -2250,7 +2250,7 @@ + if (skb1 == NULL) + return; + skb1->dev = dev; +- skb1->mac.raw = skb1->data; ++ skb1->mac_header = skb1->data; + skb1->ip_summed = CHECKSUM_NONE; + skb1->pkt_type = PACKET_OTHERHOST; + skb1->protocol = __constant_htons(0x0019); /* ETH_P_80211_RAW */ +@@ -2525,7 +2525,7 @@ + + skb->dev = dev; + skb->protocol = eth_type_trans(skb, dev); +- skb->mac.raw = skb->data; ++ skb->mac_header = skb->data; + ieee80211_deliver_data(ni, skb); + return; + } +@@ -3691,14 +3691,14 @@ + { + struct ethhdr *eth; + +- skb->mac.raw=skb->data; ++ skb->mac_header=skb->data; + skb_pull(skb, ETH_HLEN); + /* + * NB: mac.ethernet is replaced in 2.6.9 by eth_hdr but + * since that's an inline and not a define there's + * no easy way to do this cleanly. + */ +- eth = (struct ethhdr *)skb->mac.raw; ++ eth = (struct ethhdr *)skb->mac_header; + + if (*eth->h_dest & 1) + if (memcmp(eth->h_dest, dev->broadcast, ETH_ALEN) == 0) +diff -ur madwifi-0.9.3.orig/net80211/ieee80211_monitor.c madwifi-0.9.3/net80211/ieee80211_monitor.c +--- madwifi-0.9.3.orig/net80211/ieee80211_monitor.c 2007-02-15 00:45:48.000000000 +0100 ++++ madwifi-0.9.3/net80211/ieee80211_monitor.c 2007-05-13 16:18:25.000000000 +0200 +@@ -373,7 +373,7 @@ + if (vap->iv_monitor_txf_len && tx) { + /* truncate transmit feedback packets */ + skb_trim(skb1, vap->iv_monitor_txf_len); +- skb1->nh.raw = skb1->data; ++ skb1->network_header = skb1->data; + } + switch (vap->iv_dev->type) { + case ARPHRD_IEEE80211: +@@ -555,7 +555,7 @@ + skb_trim(skb1, skb1->len - IEEE80211_CRC_LEN); + } + skb1->dev = dev; /* NB: deliver to wlanX */ +- skb1->mac.raw = skb1->data; ++ skb1->mac_header = skb1->data; + skb1->ip_summed = CHECKSUM_NONE; + skb1->pkt_type = pkttype; + skb1->protocol = __constant_htons(0x0019); /* ETH_P_80211_RAW */ diff --git a/net-wireless/madwifi-ng/madwifi-ng-0.9.3-r3.ebuild b/net-wireless/madwifi-ng/madwifi-ng-0.9.3-r3.ebuild index 399fe6807be8..3f93498a6273 100644 --- a/net-wireless/madwifi-ng/madwifi-ng-0.9.3-r3.ebuild +++ b/net-wireless/madwifi-ng/madwifi-ng-0.9.3-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/madwifi-ng-0.9.3-r3.ebuild,v 1.1 2007/04/16 19:37:23 steev Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/madwifi-ng-0.9.3-r3.ebuild,v 1.2 2007/05/13 14:49:12 genstef Exp $ inherit linux-mod @@ -22,9 +22,9 @@ RDEPEND="!net-wireless/madwifi-old net-wireless/wireless-tools ~net-wireless/madwifi-ng-tools-${PV:0:5}" -CONFIG_CHECK="CRYPTO NET_RADIO SYSCTL" +CONFIG_CHECK="CRYPTO WIRELESS_EXT SYSCTL" ERROR_CRYPTO="${P} requires Cryptographic API support (CONFIG_CRYPTO)." -ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)." +ERROR_NET_RADIO="${P} requires CONFIG_WIRELESS_EXT selected by Wireless LAN drivers (non-hamradio) & Wireless Extensions" ERROR_SYSCTL="${P} requires Sysctl support (CONFIG_SYSCTL)." BUILD_TARGETS="all" MODULESD_ATH_PCI_DOCS="README" @@ -58,6 +58,8 @@ src_unpack() { for dir in ath ath_hal net80211 ath_rate ath_rate/amrr ath_rate/onoe ath_rate/sample; do convert_to_m ${S}/${dir}/Makefile done + + kernel_is ge 2 6 22 && epatch ${FILESDIR}/madwifi-2.6.22.patch } src_install() { |