summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2009-10-20 13:36:08 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2009-10-20 13:36:08 +0000
commit7fe861faf55847ea26961a8e060024b7f537a1ae (patch)
treef840e33b530dccb38db1460686ed27efa23d34ed /net-wireless/broadcom-sta
parentRemove old versions; add a new revision pair that enables X by default, and m... (diff)
downloadhistorical-7fe861faf55847ea26961a8e060024b7f537a1ae.tar.gz
historical-7fe861faf55847ea26961a8e060024b7f537a1ae.tar.bz2
historical-7fe861faf55847ea26961a8e060024b7f537a1ae.zip
Added PROPERTIES="interactive", bug #288831.
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'net-wireless/broadcom-sta')
-rw-r--r--net-wireless/broadcom-sta/ChangeLog20
-rw-r--r--net-wireless/broadcom-sta/Manifest24
-rw-r--r--net-wireless/broadcom-sta/broadcom-sta-5.10.79.10-r4.ebuild51
-rw-r--r--net-wireless/broadcom-sta/broadcom-sta-5.10.91.9-r5.ebuild54
-rw-r--r--net-wireless/broadcom-sta/broadcom-sta-5.10.91.9-r6.ebuild50
-rw-r--r--net-wireless/broadcom-sta/broadcom-sta-5.10.91.9.3-r1.ebuild4
-rw-r--r--net-wireless/broadcom-sta/broadcom-sta-5.10.91.9.3.ebuild45
-rw-r--r--net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-hidden-essid.patch11
-rw-r--r--net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-license.patch12
-rw-r--r--net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-linux-2.6.29.patch174
-rw-r--r--net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-linux-2.6.30.patch16
-rw-r--r--net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-r4-linux-2.6.29.patch177
-rw-r--r--net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-wl_iw.patch12
-rw-r--r--net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-wl_iw_v2.patch20
-rw-r--r--net-wireless/broadcom-sta/files/broadcom-sta-5.10.91.9-linux-2.6.29.patch182
-rw-r--r--net-wireless/broadcom-sta/files/broadcom-sta-5.10.91.9-linux-2.6.30.patch13
-rw-r--r--net-wireless/broadcom-sta/files/broadcom-sta-5.10.91.9-linux-2.6.31.patch50
-rw-r--r--net-wireless/broadcom-sta/files/broadcom-sta-5.10.91.9-r1-linux-2.6.29.patch185
18 files changed, 24 insertions, 1076 deletions
diff --git a/net-wireless/broadcom-sta/ChangeLog b/net-wireless/broadcom-sta/ChangeLog
index 378e12ed4ea3..eb537a1fad67 100644
--- a/net-wireless/broadcom-sta/ChangeLog
+++ b/net-wireless/broadcom-sta/ChangeLog
@@ -1,6 +1,24 @@
# ChangeLog for net-wireless/broadcom-sta
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/broadcom-sta/ChangeLog,v 1.15 2009/10/05 23:33:44 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/broadcom-sta/ChangeLog,v 1.16 2009/10/20 13:36:07 matsuu Exp $
+
+ 20 Oct 2009; MATSUU Takuto <matsuu@gentoo.org>
+ -broadcom-sta-5.10.79.10-r4.ebuild,
+ -files/broadcom-sta-5.10.79.10-hidden-essid.patch,
+ -files/broadcom-sta-5.10.79.10-license.patch,
+ -files/broadcom-sta-5.10.79.10-linux-2.6.29.patch,
+ -files/broadcom-sta-5.10.79.10-linux-2.6.30.patch,
+ -files/broadcom-sta-5.10.79.10-r4-linux-2.6.29.patch,
+ -files/broadcom-sta-5.10.79.10-wl_iw.patch,
+ -files/broadcom-sta-5.10.79.10-wl_iw_v2.patch,
+ -broadcom-sta-5.10.91.9-r5.ebuild, -broadcom-sta-5.10.91.9-r6.ebuild,
+ -files/broadcom-sta-5.10.91.9-linux-2.6.29.patch,
+ -files/broadcom-sta-5.10.91.9-linux-2.6.30.patch,
+ -files/broadcom-sta-5.10.91.9-linux-2.6.31.patch,
+ -broadcom-sta-5.10.91.9.3.ebuild,
+ -files/broadcom-sta-5.10.91.9-r1-linux-2.6.29.patch,
+ broadcom-sta-5.10.91.9.3-r1.ebuild:
+ Added PROPERTIES="interactive", bug #288831. Removed old versions.
*broadcom-sta-5.10.91.9.3-r1 (05 Oct 2009)
diff --git a/net-wireless/broadcom-sta/Manifest b/net-wireless/broadcom-sta/Manifest
index afac69b9df99..0d3d7dccf940 100644
--- a/net-wireless/broadcom-sta/Manifest
+++ b/net-wireless/broadcom-sta/Manifest
@@ -1,26 +1,6 @@
-AUX broadcom-sta-5.10.79.10-hidden-essid.patch 400 RMD160 5da005defd53cce782a0a8b6c67259bcf6536890 SHA1 f0bafa2c144ad0d904ea2348fd2b4f49c6b352b6 SHA256 aabe98ae9fe3574c3dab24090d0fe27e09d41f72326b7fc746bba030219e2bc4
-AUX broadcom-sta-5.10.79.10-license.patch 668 RMD160 87290f5579384df5c6db23bd3099ff6784b7535d SHA1 ac1f0793b5ded759691e96eb28dd324e0f509ff9 SHA256 6c9d7ae9eb2512b1a41a8f95d59be8bd5441bf22096759c592c8331abf766f1f
-AUX broadcom-sta-5.10.79.10-linux-2.6.29.patch 4355 RMD160 7260e5b9a794cc53971bff481860a3659122f0cb SHA1 8bf29049acb49ba4837054085db87c4b4f0f5993 SHA256 924f98922cce5ee0fc62216dbe8e6ba7ffa1a80908685d48d598804526bc7723
-AUX broadcom-sta-5.10.79.10-linux-2.6.30.patch 468 RMD160 307b1fc4ff9d77b0bbb0cb3c92b981675952a04d SHA1 834e7a832793b77dff5f82b3af2c0092b74fea15 SHA256 f2d449b420275bd473c636eb8650d568c3960ee60bb8242562331561cd305499
-AUX broadcom-sta-5.10.79.10-r4-linux-2.6.29.patch 4770 RMD160 ed18cb551b7a9ca365b80db179a44fbb2041c0bb SHA1 057d7263d689f1b5c445ebb5c5b07e5632709af2 SHA256 7b162b2bbb59b4435321b7a4eba342cb18b8bb483eabb50ca922008b788c462f
-AUX broadcom-sta-5.10.79.10-wl_iw.patch 544 RMD160 1b4447496c8982ba2e9c4c253c36271084edeef2 SHA1 da94de7769f867ef0eb01563432f9f77d270b4da SHA256 59b0b11a1cb98b5619986bd806fe03fff223eff762484f1d6fcce4b3d87195aa
-AUX broadcom-sta-5.10.79.10-wl_iw_v2.patch 719 RMD160 1744b2f19ae294f86b0aa37f5115243ff59126ea SHA1 c25d1aafb2f04ff27965b184dca371086311d2a6 SHA256 97dac57c79de53ec8afd01442e82e158551b25098700b204af2c260604b5547c
AUX broadcom-sta-5.10.91.9-license.patch 716 RMD160 f4af0c36ec10d5fd4500af94c3864f6a352883e0 SHA1 0f2458882656dbf73035e566e53b902bc22c37f4 SHA256 53544703c15eb5e7f35721c436bfd0acf7db3de1df83b2e344bfc7090cb14cf1
-AUX broadcom-sta-5.10.91.9-linux-2.6.29.patch 4668 RMD160 ec31ba4121cc9102b38da17ed06ed0b9624c51a1 SHA1 d103d610a69102d1d1c04737640ba1e3f76817cd SHA256 de0314451a9b24816b63beb10e1410ef23a26b151d949f0875209add77c5722d
-AUX broadcom-sta-5.10.91.9-linux-2.6.30.patch 563 RMD160 38cf728878ee53edb9b1ebaea67299bba4ab68b2 SHA1 675df8325492c5612703251d8419fcb68af5ba40 SHA256 8a39d4fc9586bd4afe4225a1d5d5dbcb26843e8d3197232423bcbe3b4ea7f285
-AUX broadcom-sta-5.10.91.9-linux-2.6.31.patch 1410 RMD160 b0212a6a58d3c62fa7750b9d7aeebe773ed3d4e3 SHA1 3b84515c21b6852da74be389b46d0b067361d49d SHA256 bde3eed4317fe99b3e42f98e396a13a339add9680d403c3f07d2c5a75319de7b
-AUX broadcom-sta-5.10.91.9-r1-linux-2.6.29.patch 5209 RMD160 83ee25d1207c6e33cda74078620dcff47801e300 SHA1 5f3e835a4d448de7b5085af22140f84ee21e4fa4 SHA256 96c708d578b8e34ea0e17452681cd5d7acbfeea5d65e7bacf40d5b4c5aa7dfa8
-DIST 5_10_91_9_patch_2_6_29_kernel.zip 2429 RMD160 3700932373b67bcf92d1d6b7ae80d580b294de70 SHA1 5bfe1c183f87901b9b994b97b2ee75e0dd2a4406 SHA256 128b7601d651280119f3dc493497946f68555a41d9d37c8b7c8541a61717eb02
DIST hybrid-portsrc-x86_32-v5.10.91.9.3.tar.gz 604412 RMD160 928b33c6ddc16d7479caef5b90f8cbbd8f0d8cc1 SHA1 80b413d810cbb3dbc8e2e7dfff9364656d042198 SHA256 b3c5a6bea957414ee69118d7917b5c04364f84318a0b045740e3707412e6a343
-DIST hybrid-portsrc-x86_32-v5_10_79_10.tar.gz 697799 RMD160 3a91a8b91d7b062f3ce8ceb55435ca7c1362effa SHA1 f5f2650395dd18b6403a456877ddb55e89b72eba SHA256 f9084cc1393f48d9ca546448e5a5caf49f8f25614353596256039144d2bb5f25
-DIST hybrid-portsrc-x86_32-v5_10_91_9.tar.gz 605561 RMD160 3b7acf00fde619655da92baea2e947089749cefb SHA1 ae2c3798ed1864af9b0801332e95590cb66b1602 SHA256 8bb063e5c3b2ff4b8f6623a2a48f616b420f6ad5a13ac1fbf56ce94845d2e3d1
DIST hybrid-portsrc-x86_64-v5.10.91.9.3.tar.gz 601391 RMD160 9c5e014daabad654ae725e55850fa165976acf41 SHA1 a426712617bf3f1c03a0012e087a4735b527c53c SHA256 2cc313f7ecf8fc7efeb8e5c4023ecf9b63dbd318e3f1b1fcb1c81c2c98429e8c
-DIST hybrid-portsrc-x86_64-v5_10_79_10.tar.gz 694247 RMD160 75b7e5c74957bc6bf5fbdeb28ec2c68f1d835f1a SHA1 f7bcfd6990d273b7af9f6fd7764f5359a3fbebc7 SHA256 1815cb78ddebd4d21243d83ef073f799707dd7908e64456e81be4a4d45bedc02
-DIST hybrid-portsrc-x86_64-v5_10_91_9.tar.gz 602794 RMD160 58205c27754c8f45b8b033c2f611299ba360f803 SHA1 6a80be30749d31c6dff90e562dd37cce6abde390 SHA256 9ac8db79daa95f4ff3b64f997fe8d3b3979231973905ef7fcecc04cf4ba5d805
-EBUILD broadcom-sta-5.10.79.10-r4.ebuild 1316 RMD160 27a0b4e74fdd11ef9805fc2a25e5404146ee0380 SHA1 86500d02c23d87053831d4db8c05f5c775895125 SHA256 ee9dd56310283b62fc756b9fea3f63de20954d7fef45a59d79b969837d572516
-EBUILD broadcom-sta-5.10.91.9-r5.ebuild 1491 RMD160 124f7ff155e636b09e44ea765e3bfa2461dce14b SHA1 c6cf0bce282cf47b4de9fc77bb3bd7588e44fa20 SHA256 2f5ca4cb023c21a469f1c927e43476024eb8d053143595e954150b76a4957d3b
-EBUILD broadcom-sta-5.10.91.9-r6.ebuild 1344 RMD160 671797cea7ae5534f1cba11cf1f429429b5adcf2 SHA1 2132c113e9e4103af27d6190ff58bab30955f192 SHA256 b9d604fcc84182e65d7cabc2facdad811ab0f0b705e1a937ff6b72c5c21adee0
-EBUILD broadcom-sta-5.10.91.9.3-r1.ebuild 1249 RMD160 a359b02232e2372c425211840d0360a44cb3d9b4 SHA1 87ea59c38cfa8442e8b0065edc488a714766c79e SHA256 2f832ea4de9841056827e61b2ecc36af6ccabcf1bdf7c036acf2ecc7e44c4112
-EBUILD broadcom-sta-5.10.91.9.3.ebuild 1153 RMD160 56da89788467cac7c648d016e13d81de0a9c618c SHA1 6250e63445c95731c586e557b4c9f82526972214 SHA256 2473b8e47c43f83eeb86c76af5781c9144866d2f8f4b07fa6c9241486e067f1c
-MISC ChangeLog 3807 RMD160 1671fd9e6ebdaf2ab570c4c1c2508b63c4e78b5d SHA1 97fc6a190023c33d71349b7ef32583fb603dbcb7 SHA256 2772336b54d4c306cf0cc09d7f8cef6c5c5acb38654a8a98c0bf11c80e92d5f0
+EBUILD broadcom-sta-5.10.91.9.3-r1.ebuild 1275 RMD160 dced23e556ada3793b9793c8f74df95e2823e33e SHA1 fbd7ed59f78872f83e24d41f19dfc7826ee87d1d SHA256 6913b8ce2e8e0b4d6a5b24a5efccbccd425aaf8de7f30ed5102a2c1d5a4e3017
+MISC ChangeLog 4679 RMD160 49352ca0af5e0df177b8ad4fd343080e40dd2911 SHA1 0278592ddbfe0366ae88d88b390b7485fd3e14bd SHA256 2c38e06c9952be6232a553ef16d21870244cf4dcd84df1d02205d7f27f7e7d3c
MISC metadata.xml 221 RMD160 ca5e46f2e947fcae430e49859acaa4b25ab9d4b4 SHA1 b7f58eb04a9aceeb67104c0b81719e6e97da97f4 SHA256 138123f5d6199cbcc391346419b7b81d3ae9153c17670b18c540ff75a2287371
diff --git a/net-wireless/broadcom-sta/broadcom-sta-5.10.79.10-r4.ebuild b/net-wireless/broadcom-sta/broadcom-sta-5.10.79.10-r4.ebuild
deleted file mode 100644
index 0c05ca336121..000000000000
--- a/net-wireless/broadcom-sta/broadcom-sta-5.10.79.10-r4.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/broadcom-sta/broadcom-sta-5.10.79.10-r4.ebuild,v 1.1 2009/05/07 16:08:21 matsuu Exp $
-
-inherit eutils linux-mod versionator
-
-MY_PV="$(replace_all_version_separators _)"
-DESCRIPTION="Broadcom's IEEE 802.11a/b/g/n hybrid Linux device driver."
-HOMEPAGE="http://www.broadcom.com/support/802.11/linux_sta.php"
-SRC_BASE="http://www.broadcom.com/docs/linux_sta/hybrid-portsrc-x86_"
-SRC_URI="x86? ( ${SRC_BASE}32-v${MY_PV}.tar.gz )
- amd64? ( ${SRC_BASE}64-v${MY_PV}.tar.gz )"
-
-LICENSE="Broadcom"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RESTRICT="mirror"
-
-DEPEND=">=virtual/linux-sources-2.6.22"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}"
-
-MODULE_NAMES="wl(net/wireless)"
-MODULESD_WL_ALIASES=("wlan0 wl")
-
-pkg_setup() {
- check_license
-
- if kernel_is ge 2 6 29; then
- CONFIG_CHECK="LIB80211"
- else
- CONFIG_CHECK="IEEE80211 IEEE80211_CRYPT_TKIP"
- fi
- linux-mod_pkg_setup
- BUILD_PARAMS="-C ${KV_DIR} M=${S}"
- BUILD_TARGETS="wl.ko"
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch \
- "${FILESDIR}/${P}-hidden-essid.patch" \
- "${FILESDIR}/${PF}-linux-2.6.29.patch" \
- "${FILESDIR}/${P}-linux-2.6.30.patch" \
- "${FILESDIR}/${P}-wl_iw_v2.patch" \
- "${FILESDIR}/${P}-license.patch"
-
-}
diff --git a/net-wireless/broadcom-sta/broadcom-sta-5.10.91.9-r5.ebuild b/net-wireless/broadcom-sta/broadcom-sta-5.10.91.9-r5.ebuild
deleted file mode 100644
index 8ac4b3e2b606..000000000000
--- a/net-wireless/broadcom-sta/broadcom-sta-5.10.91.9-r5.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/broadcom-sta/broadcom-sta-5.10.91.9-r5.ebuild,v 1.1 2009/08/01 13:17:56 matsuu Exp $
-
-inherit eutils linux-mod versionator
-
-MY_PV="$(replace_all_version_separators _)"
-DESCRIPTION="Broadcom's IEEE 802.11a/b/g/n hybrid Linux device driver."
-HOMEPAGE="http://www.broadcom.com/support/802.11/linux_sta.php"
-SRC_BASE="http://www.broadcom.com/docs/linux_sta/hybrid-portsrc-x86_"
-SRC_URI="x86? ( ${SRC_BASE}32-v${MY_PV}.tar.gz )
- amd64? ( ${SRC_BASE}64-v${MY_PV}.tar.gz )
- http://www.broadcom.com/docs/linux_sta/${MY_PV}_patch_2_6_29_kernel.zip"
-
-LICENSE="Broadcom"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RESTRICT="mirror"
-
-DEPEND=">=virtual/linux-sources-2.6.22"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}"
-
-MODULE_NAMES="wl(net/wireless)"
-MODULESD_WL_ALIASES=("wlan0 wl")
-
-pkg_setup() {
- check_license
-
- if kernel_is ge 2 6 31; then
- CONFIG_CHECK="LIB80211"
- elif kernel_is ge 2 6 29; then
- # bug #276057
- CONFIG_CHECK="LIB80211 COMPAT_NET_DEV_OPS"
- else
- CONFIG_CHECK="IEEE80211 IEEE80211_CRYPT_TKIP"
- fi
- linux-mod_pkg_setup
- BUILD_PARAMS="-C ${KV_DIR} M=${S}"
- BUILD_TARGETS="wl.ko"
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch \
- "${FILESDIR}/${PN}-5.10.79.10-hidden-essid.patch" \
- "${WORKDIR}/patch_2.6.29_kernels" \
- "${FILESDIR}/${P}-license.patch" \
- "${FILESDIR}/${P}-linux-2.6.30.patch" \
- "${FILESDIR}/${P}-linux-2.6.31.patch"
-}
diff --git a/net-wireless/broadcom-sta/broadcom-sta-5.10.91.9-r6.ebuild b/net-wireless/broadcom-sta/broadcom-sta-5.10.91.9-r6.ebuild
deleted file mode 100644
index 3966877d1de8..000000000000
--- a/net-wireless/broadcom-sta/broadcom-sta-5.10.91.9-r6.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/broadcom-sta/broadcom-sta-5.10.91.9-r6.ebuild,v 1.1 2009/08/08 00:02:37 matsuu Exp $
-
-inherit eutils linux-mod versionator
-
-MY_PV="$(replace_all_version_separators _)"
-DESCRIPTION="Broadcom's IEEE 802.11a/b/g/n hybrid Linux device driver."
-HOMEPAGE="http://www.broadcom.com/support/802.11/linux_sta.php"
-SRC_BASE="http://www.broadcom.com/docs/linux_sta/hybrid-portsrc-x86_"
-SRC_URI="x86? ( ${SRC_BASE}32-v${MY_PV}.tar.gz )
- amd64? ( ${SRC_BASE}64-v${MY_PV}.tar.gz )"
-
-LICENSE="Broadcom"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RESTRICT="mirror"
-
-DEPEND=">=virtual/linux-sources-2.6.22"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}"
-
-MODULE_NAMES="wl(net/wireless)"
-MODULESD_WL_ALIASES=("wlan0 wl")
-
-pkg_setup() {
- check_license
-
- if kernel_is ge 2 6 29; then
- CONFIG_CHECK="LIB80211"
- else
- CONFIG_CHECK="IEEE80211 IEEE80211_CRYPT_TKIP"
- fi
- linux-mod_pkg_setup
- BUILD_PARAMS="-C ${KV_DIR} M=${S}"
- BUILD_TARGETS="wl.ko"
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch \
- "${FILESDIR}/${PN}-5.10.79.10-hidden-essid.patch" \
- "${FILESDIR}/${P}-r1-linux-2.6.29.patch" \
- "${FILESDIR}/${PN}-5.10.79.10-linux-2.6.30.patch" \
- "${FILESDIR}/${P}-linux-2.6.31.patch" \
- "${FILESDIR}/${P}-license.patch"
-}
diff --git a/net-wireless/broadcom-sta/broadcom-sta-5.10.91.9.3-r1.ebuild b/net-wireless/broadcom-sta/broadcom-sta-5.10.91.9.3-r1.ebuild
index 8a21b262c85e..44731fdc3d15 100644
--- a/net-wireless/broadcom-sta/broadcom-sta-5.10.91.9.3-r1.ebuild
+++ b/net-wireless/broadcom-sta/broadcom-sta-5.10.91.9.3-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/broadcom-sta/broadcom-sta-5.10.91.9.3-r1.ebuild,v 1.1 2009/10/05 23:33:44 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/broadcom-sta/broadcom-sta-5.10.91.9.3-r1.ebuild,v 1.2 2009/10/20 13:36:07 matsuu Exp $
inherit eutils linux-mod
@@ -24,6 +24,8 @@ S="${WORKDIR}"
MODULE_NAMES="wl(net/wireless)"
MODULESD_WL_ALIASES=("wlan0 wl")
+PROPERTIES="interactive"
+
pkg_setup() {
check_license
diff --git a/net-wireless/broadcom-sta/broadcom-sta-5.10.91.9.3.ebuild b/net-wireless/broadcom-sta/broadcom-sta-5.10.91.9.3.ebuild
deleted file mode 100644
index f9541fad084d..000000000000
--- a/net-wireless/broadcom-sta/broadcom-sta-5.10.91.9.3.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/broadcom-sta/broadcom-sta-5.10.91.9.3.ebuild,v 1.1 2009/09/19 16:43:22 matsuu Exp $
-
-inherit eutils linux-mod
-
-DESCRIPTION="Broadcom's IEEE 802.11a/b/g/n hybrid Linux device driver."
-HOMEPAGE="http://www.broadcom.com/support/802.11/linux_sta.php"
-SRC_BASE="http://www.broadcom.com/docs/linux_sta/hybrid-portsrc-x86_"
-SRC_URI="x86? ( ${SRC_BASE}32-v${PV}.tar.gz )
- amd64? ( ${SRC_BASE}64-v${PV}.tar.gz )"
-
-LICENSE="Broadcom"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RESTRICT="mirror"
-
-DEPEND=">=virtual/linux-sources-2.6.22"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}"
-
-MODULE_NAMES="wl(net/wireless)"
-MODULESD_WL_ALIASES=("wlan0 wl")
-
-pkg_setup() {
- check_license
-
- CONFIG_CHECK="~!B43 ~!SSB"
- if kernel_is ge 2 6 29; then
- CONFIG_CHECK="${CONFIG_CHECK} LIB80211"
- else
- CONFIG_CHECK="${CONFIG_CHECK} IEEE80211 IEEE80211_CRYPT_TKIP"
- fi
- linux-mod_pkg_setup
- BUILD_PARAMS="-C ${KV_DIR} M=${S}"
- BUILD_TARGETS="wl.ko"
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}/${PN}-5.10.91.9-license.patch"
-}
diff --git a/net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-hidden-essid.patch b/net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-hidden-essid.patch
deleted file mode 100644
index 1a7e063630b0..000000000000
--- a/net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-hidden-essid.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -Naur ori/src/wl/sys/wl_iw.c edit/src/wl/sys/wl_iw.c
---- ori/src/wl/sys/wl_iw.c 2009-02-09 22:43:18.000000000 +0100
-+++ edit/src/wl/sys/wl_iw.c 2009-03-06 19:00:55.271406043 +0100
-@@ -580,6 +580,7 @@
- range->enc_capa |= IW_ENC_CAPA_CIPHER_TKIP;
- range->enc_capa |= IW_ENC_CAPA_CIPHER_CCMP;
- range->enc_capa |= IW_ENC_CAPA_WPA2;
-+ range->scan_capa = IW_SCAN_CAPA_ESSID;
- #endif
-
- return 0;
diff --git a/net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-license.patch b/net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-license.patch
deleted file mode 100644
index bea47f0b7369..000000000000
--- a/net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-license.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur hybrid-portsrc-x86_32-v5_10_79_10.orig/src/wl/sys/wl_linux.c hybrid-portsrc-x86_32-v5_10_79_10/src/wl/sys/wl_linux.c
---- hybrid-portsrc-x86_32-v5_10_79_10.orig/src/wl/sys/wl_linux.c 2009-02-10 06:43:32.000000000 +0900
-+++ hybrid-portsrc-x86_32-v5_10_79_10/src/wl/sys/wl_linux.c 2009-05-08 00:23:57.000000000 +0900
-@@ -243,7 +243,7 @@
- static void wl_free_if(wl_info_t *wl, wl_if_t *wlif);
- static void wl_get_driver_info(struct net_device *dev, struct ethtool_drvinfo *info);
-
--MODULE_LICENSE("");
-+MODULE_LICENSE("MIXED/Proprietary");
-
- static struct pci_device_id wl_id_table[] = {
- { PCI_VENDOR_ID_BROADCOM, 0x4311, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
diff --git a/net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-linux-2.6.29.patch b/net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-linux-2.6.29.patch
deleted file mode 100644
index 92593787e959..000000000000
--- a/net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-linux-2.6.29.patch
+++ /dev/null
@@ -1,174 +0,0 @@
-diff -u -r a/src/wl/sys/wl_iw.c b/src/wl/sys/wl_iw.c
---- a/src/wl/sys/wl_iw.c 2009-01-19 23:02:56.000000000 +0100
-+++ b/src/wl/sys/wl_iw.c 2009-01-24 12:33:59.810703840 +0100
-@@ -610,7 +610,11 @@
- char *extra
- )
- {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wl_iw_t *iw = netdev_priv(dev);
-+#else
- wl_iw_t *iw = dev->priv;
-+#endif
- struct sockaddr *addr = (struct sockaddr *) extra;
- int i;
-
-@@ -635,7 +639,11 @@
- char *extra
- )
- {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wl_iw_t *iw = netdev_priv(dev);
-+#else
- wl_iw_t *iw = dev->priv;
-+#endif
- struct sockaddr *addr = (struct sockaddr *) extra;
- struct iw_quality *qual = (struct iw_quality *) &addr[iw->spy_num];
- int i;
-@@ -1111,7 +1119,11 @@
- char *extra
- )
- {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wl_iw_t *iw = netdev_priv(dev);
-+#else
- wl_iw_t *iw = dev->priv;
-+#endif
-
- WL_TRACE(("%s: SIOCSIWNICKN\n", dev->name));
-
-@@ -1135,7 +1147,11 @@
- char *extra
- )
- {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wl_iw_t *iw = netdev_priv(dev);
-+#else
- wl_iw_t *iw = dev->priv;
-+#endif
-
- WL_TRACE(("%s: SIOCGIWNICKN\n", dev->name));
-
-@@ -1795,7 +1811,11 @@
- int paramid;
- int paramval;
- int val = 0;
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wl_iw_t *iw = netdev_priv(dev);
-+#else
- wl_iw_t *iw = dev->priv;
-+#endif
-
- WL_TRACE(("%s: SIOCSIWAUTH\n", dev->name));
-
-@@ -1926,7 +1946,11 @@
- int paramid;
- int paramval = 0;
- int val;
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wl_iw_t *iw = netdev_priv(dev);
-+#else
- wl_iw_t *iw = dev->priv;
-+#endif
-
- WL_TRACE(("%s: SIOCGIWAUTH\n", dev->name));
-
-diff -u -r a/src/wl/sys/wl_linux.c b/src/wl/sys/wl_linux.c
---- a/src/wl/sys/wl_linux.c 2009-01-19 23:03:09.000000000 +0100
-+++ b/src/wl/sys/wl_linux.c 2009-01-24 13:55:13.397012940 +0100
-@@ -53,6 +53,9 @@
- #include <linux/pci_ids.h>
- #define WLC_MAXBSSCFG 1
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+#include <net/lib80211.h>
-+#endif
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 14)
- #include <net/ieee80211.h>
- #endif
-@@ -149,7 +152,11 @@
- bool resched;
- uint32 pci_psstate[16];
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 14)
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ struct lib80211_crypto_ops *tkipmodops;
-+#else
- struct ieee80211_crypto_ops *tkipmodops;
-+#endif
- struct ieee80211_tkip_data *tkip_ucast_data;
- struct ieee80211_tkip_data *tkip_bcast_data;
- #endif
-@@ -190,7 +197,11 @@
-
- static int wl_found = 0;
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+#define WL_DEV_IF(dev) ((wl_if_t*)netdev_priv(dev))
-+#else
- #define WL_DEV_IF(dev) ((wl_if_t*)(dev)->priv)
-+#endif
- #define WL_INFO(dev) ((wl_info_t*)(WL_DEV_IF(dev)->wl))
-
- #define WL_LOCK(wl) spin_lock_bh(&(wl)->lock)
-@@ -350,6 +361,9 @@
- dev = wlif->dev;
- wl->dev = dev;
- wl_if_setup(dev);
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wlif = netdev_priv(dev);
-+#endif
-
- dev->base_addr = regs;
-
-@@ -423,10 +437,19 @@
-
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 14)
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wl->tkipmodops = lib80211_get_crypto_ops("TKIP");
-+#else
- wl->tkipmodops = ieee80211_get_crypto_ops("TKIP");
-+#endif
- if (wl->tkipmodops == NULL) {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ request_module("lib80211");
-+ wl->tkipmodops = lib80211_get_crypto_ops("TKIP");
-+#else
- request_module("ieee80211_crypt_tkip");
- wl->tkipmodops = ieee80211_get_crypto_ops("TKIP");
-+#endif
- }
- #endif
- #ifdef CONFIG_WIRELESS_EXT
-@@ -725,7 +748,11 @@
- }
-
- if (wl->monitor) {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wl_free_if(wl, (wl_if_t *)netdev_priv(wl->monitor));
-+#else
- wl_free_if(wl, (wl_if_t *)(wl->monitor->priv));
-+#endif
- wl->monitor = NULL;
- }
-
-@@ -895,6 +922,9 @@
- #else
-
- dev = alloc_netdev(0, name, ether_setup);
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wlif = netdev_priv(dev);
-+#endif
- if (!dev) {
- MFREE(wl->osh, wlif, sizeof(wl_if_t));
- WL_ERROR(("wl%d: wl_alloc_if: out of memory, alloc_netdev\n",
-@@ -908,7 +938,9 @@
- wlif->wl = wl;
- wlif->wlcif = wlcif;
- wlif->subunit = subunit;
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29)
- dev->priv = wlif;
-+#endif
-
- if (iftype != WL_IFTYPE_MON && wl->dev && netif_queue_stopped(wl->dev))
- netif_stop_queue(dev);
diff --git a/net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-linux-2.6.30.patch b/net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-linux-2.6.30.patch
deleted file mode 100644
index 0427e4ed1f84..000000000000
--- a/net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-linux-2.6.30.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- src/wl/sys/wl_linux.c.orig 2009-04-23 21:16:26.637443671 +0400
-+++ src/wl/sys/wl_linux.c 2009-04-23 21:17:58.842687327 +0400
-@@ -56,9 +56,13 @@
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
- #include <net/lib80211.h>
- #endif
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 30)
-+#include <linux/ieee80211.h>
-+#else
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 14)
- #include <net/ieee80211.h>
- #endif
-+#endif
-
- #include <asm/system.h>
- #include <asm/io.h>
diff --git a/net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-r4-linux-2.6.29.patch b/net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-r4-linux-2.6.29.patch
deleted file mode 100644
index 21ad4d79fc10..000000000000
--- a/net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-r4-linux-2.6.29.patch
+++ /dev/null
@@ -1,177 +0,0 @@
-diff -Naur hybrid-portsrc-x86_32-v5_10_79_10.orig/src/wl/sys/wl_iw.c hybrid-portsrc-x86_32-v5_10_79_10/src/wl/sys/wl_iw.c
---- hybrid-portsrc-x86_32-v5_10_79_10.orig/src/wl/sys/wl_iw.c 2009-02-10 06:43:18.000000000 +0900
-+++ hybrid-portsrc-x86_32-v5_10_79_10/src/wl/sys/wl_iw.c 2009-05-08 00:18:36.000000000 +0900
-@@ -610,7 +610,11 @@
- char *extra
- )
- {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wl_iw_t *iw = netdev_priv(dev);
-+#else
- wl_iw_t *iw = dev->priv;
-+#endif
- struct sockaddr *addr = (struct sockaddr *) extra;
- int i;
-
-@@ -635,7 +639,11 @@
- char *extra
- )
- {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wl_iw_t *iw = netdev_priv(dev);
-+#else
- wl_iw_t *iw = dev->priv;
-+#endif
- struct sockaddr *addr = (struct sockaddr *) extra;
- struct iw_quality *qual = (struct iw_quality *) &addr[iw->spy_num];
- int i;
-@@ -1111,7 +1119,11 @@
- char *extra
- )
- {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wl_iw_t *iw = netdev_priv(dev);
-+#else
- wl_iw_t *iw = dev->priv;
-+#endif
-
- WL_TRACE(("%s: SIOCSIWNICKN\n", dev->name));
-
-@@ -1135,7 +1147,11 @@
- char *extra
- )
- {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wl_iw_t *iw = netdev_priv(dev);
-+#else
- wl_iw_t *iw = dev->priv;
-+#endif
-
- WL_TRACE(("%s: SIOCGIWNICKN\n", dev->name));
-
-@@ -1795,7 +1811,11 @@
- int paramid;
- int paramval;
- int val = 0;
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wl_iw_t *iw = netdev_priv(dev);
-+#else
- wl_iw_t *iw = dev->priv;
-+#endif
-
- WL_TRACE(("%s: SIOCSIWAUTH\n", dev->name));
-
-@@ -1926,7 +1946,11 @@
- int paramid;
- int paramval = 0;
- int val;
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wl_iw_t *iw = netdev_priv(dev);
-+#else
- wl_iw_t *iw = dev->priv;
-+#endif
-
- WL_TRACE(("%s: SIOCGIWAUTH\n", dev->name));
-
-diff -Naur hybrid-portsrc-x86_32-v5_10_79_10.orig/src/wl/sys/wl_linux.c hybrid-portsrc-x86_32-v5_10_79_10/src/wl/sys/wl_linux.c
---- hybrid-portsrc-x86_32-v5_10_79_10.orig/src/wl/sys/wl_linux.c 2009-02-10 06:43:32.000000000 +0900
-+++ hybrid-portsrc-x86_32-v5_10_79_10/src/wl/sys/wl_linux.c 2009-05-08 00:21:50.000000000 +0900
-@@ -53,6 +53,9 @@
- #include <linux/pci_ids.h>
- #define WLC_MAXBSSCFG 1
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+#include <net/lib80211.h>
-+#endif
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 14)
- #include <net/ieee80211.h>
- #endif
-@@ -149,7 +152,11 @@
- bool resched;
- uint32 pci_psstate[16];
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 14)
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ struct lib80211_crypto_ops *tkipmodops;
-+#else
- struct ieee80211_crypto_ops *tkipmodops;
-+#endif
- struct ieee80211_tkip_data *tkip_ucast_data;
- struct ieee80211_tkip_data *tkip_bcast_data;
- #endif
-@@ -201,7 +208,11 @@
-
- static int wl_found = 0;
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+#define WL_DEV_IF(dev) ((wl_if_t*)netdev_priv(dev))
-+#else
- #define WL_DEV_IF(dev) ((wl_if_t*)(dev)->priv)
-+#endif
- #define WL_INFO(dev) ((wl_info_t*)(WL_DEV_IF(dev)->wl))
-
- #define WL_LOCK(wl) spin_lock_bh(&(wl)->lock)
-@@ -363,6 +374,9 @@
- dev = wlif->dev;
- wl->dev = dev;
- wl_if_setup(dev);
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wlif = netdev_priv(dev);
-+#endif
-
- dev->base_addr = regs;
-
-@@ -436,10 +450,20 @@
-
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 14)
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wl->tkipmodops = lib80211_get_crypto_ops("TKIP");
-+#else
- wl->tkipmodops = ieee80211_get_crypto_ops("TKIP");
-+#endif
- if (wl->tkipmodops == NULL) {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ request_module("lib80211");
-+ request_module("lib80211_crypt_tkip");
-+ wl->tkipmodops = lib80211_get_crypto_ops("TKIP");
-+#else
- request_module("ieee80211_crypt_tkip");
- wl->tkipmodops = ieee80211_get_crypto_ops("TKIP");
-+#endif
- }
- #endif
- #ifdef CONFIG_WIRELESS_EXT
-@@ -744,7 +768,11 @@
- }
-
- if (wl->monitor) {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wl_free_if(wl, (wl_if_t *)netdev_priv(wl->monitor));
-+#else
- wl_free_if(wl, (wl_if_t *)(wl->monitor->priv));
-+#endif
- wl->monitor = NULL;
- }
-
-@@ -912,7 +940,10 @@
- strncpy(dev->name, name, IFNAMSIZ);
- #else
-
-- dev = alloc_netdev(0, name, ether_setup);
-+ dev = alloc_netdev(sizeof(wl_if_t), name, ether_setup);
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wlif = netdev_priv(dev);
-+#endif
- if (!dev) {
- MFREE(wl->osh, wlif, sizeof(wl_if_t));
- WL_ERROR(("wl%d: wl_alloc_if: out of memory, alloc_netdev\n",
-@@ -926,7 +957,9 @@
- wlif->wl = wl;
- wlif->wlcif = wlcif;
- wlif->subunit = subunit;
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29)
- dev->priv = wlif;
-+#endif
-
- if (iftype != WL_IFTYPE_MON && wl->dev && netif_queue_stopped(wl->dev))
- netif_stop_queue(dev);
diff --git a/net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-wl_iw.patch b/net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-wl_iw.patch
deleted file mode 100644
index 125bbf4945fa..000000000000
--- a/net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-wl_iw.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur broadcom-sta-5.10.79.10.orig/src/wl/sys/wl_iw.c broadcom-sta-5.10.79.10/src/wl/sys/wl_iw.c
---- broadcom-sta-5.10.79.10.orig/src/wl/sys/wl_iw.c 2009-02-10 06:43:18.000000000 +0900
-+++ broadcom-sta-5.10.79.10/src/wl/sys/wl_iw.c 2009-03-25 08:37:56.000000000 +0900
-@@ -2390,7 +2390,7 @@
-
- cmd = IWEVPMKIDCAND;
- pmkcandlist = data;
-- count = pmkcandlist->npmkid_cand;
-+ count = ntoh32(pmkcandlist->npmkid_cand);
- wrqu.data.length = sizeof(struct iw_pmkid_cand);
- pmkidcand = pmkcandlist->pmkid_cand;
- while (count) {
diff --git a/net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-wl_iw_v2.patch b/net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-wl_iw_v2.patch
deleted file mode 100644
index 4b38375b7ab8..000000000000
--- a/net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-wl_iw_v2.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -Naur broadcom-sta-5.10.79.10.orig/src/wl/sys/wl_iw.c broadcom-sta-5.10.79.10/src/wl/sys/wl_iw.c
---- broadcom-sta-5.10.79.10.orig/src/wl/sys/wl_iw.c 2009-02-10 06:43:18.000000000 +0900
-+++ broadcom-sta-5.10.79.10/src/wl/sys/wl_iw.c 2009-04-08 00:58:26.000000000 +0900
-@@ -1094,7 +1094,6 @@
- ssid.SSID_len = dtoh32(ssid.SSID_len);
-
- memcpy(extra, ssid.SSID, ssid.SSID_len);
-- extra[ssid.SSID_len] = '\0';
-
- dwrq->length = ssid.SSID_len;
-
-@@ -2390,7 +2389,7 @@
-
- cmd = IWEVPMKIDCAND;
- pmkcandlist = data;
-- count = pmkcandlist->npmkid_cand;
-+ count = ntoh32(pmkcandlist->npmkid_cand);
- wrqu.data.length = sizeof(struct iw_pmkid_cand);
- pmkidcand = pmkcandlist->pmkid_cand;
- while (count) {
diff --git a/net-wireless/broadcom-sta/files/broadcom-sta-5.10.91.9-linux-2.6.29.patch b/net-wireless/broadcom-sta/files/broadcom-sta-5.10.91.9-linux-2.6.29.patch
deleted file mode 100644
index 979a63b4570d..000000000000
--- a/net-wireless/broadcom-sta/files/broadcom-sta-5.10.91.9-linux-2.6.29.patch
+++ /dev/null
@@ -1,182 +0,0 @@
-diff -Naur a/src/wl/sys/wl_iw.c b/src/wl/sys/wl_iw.c
---- a/src/wl/sys/wl_iw.c 2009-04-23 02:51:58.000000000 +0900
-+++ b/src/wl/sys/wl_iw.c 2009-05-03 09:13:38.000000000 +0900
-@@ -610,7 +610,11 @@
- char *extra
- )
- {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wl_iw_t *iw = netdev_priv(dev);
-+#else
- wl_iw_t *iw = dev->priv;
-+#endif
- struct sockaddr *addr = (struct sockaddr *) extra;
- int i;
-
-@@ -635,7 +639,11 @@
- char *extra
- )
- {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wl_iw_t *iw = netdev_priv(dev);
-+#else
- wl_iw_t *iw = dev->priv;
-+#endif
- struct sockaddr *addr = (struct sockaddr *) extra;
- struct iw_quality *qual = (struct iw_quality *) &addr[iw->spy_num];
- int i;
-@@ -1110,7 +1118,11 @@
- char *extra
- )
- {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wl_iw_t *iw = netdev_priv(dev);
-+#else
- wl_iw_t *iw = dev->priv;
-+#endif
-
- WL_TRACE(("%s: SIOCSIWNICKN\n", dev->name));
-
-@@ -1134,7 +1146,11 @@
- char *extra
- )
- {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wl_iw_t *iw = netdev_priv(dev);
-+#else
- wl_iw_t *iw = dev->priv;
-+#endif
-
- WL_TRACE(("%s: SIOCGIWNICKN\n", dev->name));
-
-@@ -1790,7 +1806,11 @@
- int paramid;
- int paramval;
- int val = 0;
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wl_iw_t *iw = netdev_priv(dev);
-+#else
- wl_iw_t *iw = dev->priv;
-+#endif
-
- WL_TRACE(("%s: SIOCSIWAUTH\n", dev->name));
-
-@@ -1921,7 +1941,11 @@
- int paramid;
- int paramval = 0;
- int val;
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wl_iw_t *iw = netdev_priv(dev);
-+#else
- wl_iw_t *iw = dev->priv;
-+#endif
-
- WL_TRACE(("%s: SIOCGIWAUTH\n", dev->name));
-
-diff -Naur a/src/wl/sys/wl_linux.c b/src/wl/sys/wl_linux.c
---- a/src/wl/sys/wl_linux.c 2009-04-23 02:52:08.000000000 +0900
-+++ b/src/wl/sys/wl_linux.c 2009-05-03 09:13:38.000000000 +0900
-@@ -53,6 +53,9 @@
- #include <linux/pci_ids.h>
- #define WLC_MAXBSSCFG 1
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+#include <net/lib80211.h>
-+#endif
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 14)
- #include <net/ieee80211.h>
- #endif
-@@ -130,7 +133,11 @@
- u8 rx_hdr[16], tx_hdr[16];
- };
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+#define WL_DEV_IF(dev) ((wl_if_t*)netdev_priv(dev))
-+#else
- #define WL_DEV_IF(dev) ((wl_if_t*)(dev)->priv)
-+#endif
- #define WL_INFO(dev) ((wl_info_t*)(WL_DEV_IF(dev)->wl))
-
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 20)
-@@ -282,6 +289,9 @@
- dev = wlif->dev;
- wl->dev = dev;
- wl_if_setup(dev);
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wlif = netdev_priv(dev);
-+#endif
-
- dev->base_addr = regs;
-
-@@ -359,10 +369,19 @@
-
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 14)
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wl->tkipmodops = lib80211_get_crypto_ops("TKIP");
-+#else
- wl->tkipmodops = ieee80211_get_crypto_ops("TKIP");
-+#endif
- if (wl->tkipmodops == NULL) {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ request_module("lib80211");
-+ wl->tkipmodops = lib80211_get_crypto_ops("TKIP");
-+#else
- request_module("ieee80211_crypt_tkip");
- wl->tkipmodops = ieee80211_get_crypto_ops("TKIP");
-+#endif
- }
- #endif
- #ifdef CONFIG_WIRELESS_EXT
-@@ -666,7 +685,11 @@
- }
-
- if (wl->monitor) {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wl_free_if(wl, (wl_if_t *)netdev_priv(wl->monitor));
-+#else
- wl_free_if(wl, (wl_if_t *)(wl->monitor->priv));
-+#endif
- wl->monitor = NULL;
- }
-
-@@ -834,6 +857,9 @@
- #else
-
- dev = alloc_netdev(0, name, ether_setup);
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wlif = netdev_priv(dev);
-+#endif
- if (!dev) {
- MFREE(wl->osh, wlif, sizeof(wl_if_t));
- WL_ERROR(("wl%d: wl_alloc_if: out of memory, alloc_netdev\n",
-@@ -847,7 +873,9 @@
- wlif->wl = wl;
- wlif->wlcif = wlcif;
- wlif->subunit = subunit;
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29)
- dev->priv = wlif;
-+#endif
-
- if (iftype != WL_IFTYPE_MON && wl->dev && netif_queue_stopped(wl->dev))
- netif_stop_queue(dev);
-diff -Naur a/src/wl/sys/wl_linux.h b/src/wl/sys/wl_linux.h
---- a/src/wl/sys/wl_linux.h 2009-04-23 02:52:13.000000000 +0900
-+++ b/src/wl/sys/wl_linux.h 2009-05-03 10:14:47.000000000 +0900
-@@ -85,10 +85,16 @@
- bool resched;
- uint32 pci_psstate[16];
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 14)
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ struct lib80211_crypto_ops *tkipmodops;
-+ struct lib80211_tkip_data *tkip_ucast_data;
-+ struct lib80211_tkip_data *tkip_bcast_data;
-+#else
- struct ieee80211_crypto_ops *tkipmodops;
- struct ieee80211_tkip_data *tkip_ucast_data;
- struct ieee80211_tkip_data *tkip_bcast_data;
- #endif
-+#endif
-
- uint stats_id;
-
diff --git a/net-wireless/broadcom-sta/files/broadcom-sta-5.10.91.9-linux-2.6.30.patch b/net-wireless/broadcom-sta/files/broadcom-sta-5.10.91.9-linux-2.6.30.patch
deleted file mode 100644
index dc98b6be3851..000000000000
--- a/net-wireless/broadcom-sta/files/broadcom-sta-5.10.91.9-linux-2.6.30.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -Naur broadcom-sta-5.10.91.9.orig/src/wl/sys/wl_linux.c broadcom-sta-5.10.91.9/src/wl/sys/wl_linux.c
---- broadcom-sta-5.10.91.9.orig/src/wl/sys/wl_linux.c 2009-07-17 05:13:13.000000000 +0900
-+++ broadcom-sta-5.10.91.9/src/wl/sys/wl_linux.c 2009-07-17 05:17:34.000000000 +0900
-@@ -56,6 +56,9 @@
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 14)
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
- #include <net/lib80211.h>
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 30)
-+#include <linux/ieee80211.h>
-+#endif
- #else
- #include <net/ieee80211.h>
- #endif
diff --git a/net-wireless/broadcom-sta/files/broadcom-sta-5.10.91.9-linux-2.6.31.patch b/net-wireless/broadcom-sta/files/broadcom-sta-5.10.91.9-linux-2.6.31.patch
deleted file mode 100644
index ac31fbde3ec3..000000000000
--- a/net-wireless/broadcom-sta/files/broadcom-sta-5.10.91.9-linux-2.6.31.patch
+++ /dev/null
@@ -1,50 +0,0 @@
---- src/wl/sys/wl_linux.c.orig.1 2009-07-12 13:28:30.000000000 -0700
-+++ src/wl/sys/wl_linux.c 2009-07-12 15:46:52.000000000 -0700
-@@ -222,9 +222,23 @@
- };
- #endif
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 31)
-+static const struct net_device_ops wl_net_device_ops =
-+{
-+ .ndo_open = wl_open,
-+ .ndo_stop = wl_close,
-+ .ndo_start_xmit = wl_start,
-+ .ndo_get_stats = wl_get_stats,
-+ .ndo_set_mac_address = wl_set_mac_address,
-+ .ndo_set_multicast_list = wl_set_multicast_list,
-+ .ndo_do_ioctl = wl_ioctl,
-+};
-+#endif
-+
- static
- void wl_if_setup(struct net_device *dev)
- {
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 31)
- dev->open = wl_open;
- dev->stop = wl_close;
- dev->hard_start_xmit = wl_start;
-@@ -232,6 +246,9 @@
- dev->set_mac_address = wl_set_mac_address;
- dev->set_multicast_list = wl_set_multicast_list;
- dev->do_ioctl = wl_ioctl;
-+#else
-+ dev->netdev_ops = &wl_net_device_ops;
-+#endif
- #ifdef CONFIG_WIRELESS_EXT
- #if WIRELESS_EXT < 19
- dev->get_wireless_stats = wl_get_wireless_stats;
---- src/wl/sys/wl_iw.c.orig.1 2009-07-12 13:40:51.000000000 -0700
-+++ src/wl/sys/wl_iw.c 2009-07-12 15:46:39.000000000 -0700
-@@ -124,7 +124,11 @@
-
- fs = get_fs();
- set_fs(get_ds());
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 31)
- ret = dev->do_ioctl(dev, &ifr, SIOCDEVPRIVATE);
-+#else
-+ ret = dev->netdev_ops->ndo_do_ioctl(dev, &ifr, SIOCDEVPRIVATE);
-+#endif
- set_fs(fs);
-
- return ret;
diff --git a/net-wireless/broadcom-sta/files/broadcom-sta-5.10.91.9-r1-linux-2.6.29.patch b/net-wireless/broadcom-sta/files/broadcom-sta-5.10.91.9-r1-linux-2.6.29.patch
deleted file mode 100644
index 2e8de221cad0..000000000000
--- a/net-wireless/broadcom-sta/files/broadcom-sta-5.10.91.9-r1-linux-2.6.29.patch
+++ /dev/null
@@ -1,185 +0,0 @@
-diff -Naur hybrid-portsrc-x86_32-v5_10_91_9.orig/src/wl/sys/wl_iw.c hybrid-portsrc-x86_32-v5_10_91_9/src/wl/sys/wl_iw.c
---- hybrid-portsrc-x86_32-v5_10_91_9.orig/src/wl/sys/wl_iw.c 2009-04-23 02:46:35.000000000 +0900
-+++ hybrid-portsrc-x86_32-v5_10_91_9/src/wl/sys/wl_iw.c 2009-05-08 00:42:45.000000000 +0900
-@@ -610,7 +610,11 @@
- char *extra
- )
- {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wl_iw_t *iw = netdev_priv(dev);
-+#else
- wl_iw_t *iw = dev->priv;
-+#endif
- struct sockaddr *addr = (struct sockaddr *) extra;
- int i;
-
-@@ -635,7 +639,11 @@
- char *extra
- )
- {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wl_iw_t *iw = netdev_priv(dev);
-+#else
- wl_iw_t *iw = dev->priv;
-+#endif
- struct sockaddr *addr = (struct sockaddr *) extra;
- struct iw_quality *qual = (struct iw_quality *) &addr[iw->spy_num];
- int i;
-@@ -1110,7 +1118,11 @@
- char *extra
- )
- {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wl_iw_t *iw = netdev_priv(dev);
-+#else
- wl_iw_t *iw = dev->priv;
-+#endif
-
- WL_TRACE(("%s: SIOCSIWNICKN\n", dev->name));
-
-@@ -1134,7 +1146,11 @@
- char *extra
- )
- {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wl_iw_t *iw = netdev_priv(dev);
-+#else
- wl_iw_t *iw = dev->priv;
-+#endif
-
- WL_TRACE(("%s: SIOCGIWNICKN\n", dev->name));
-
-@@ -1790,7 +1806,11 @@
- int paramid;
- int paramval;
- int val = 0;
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wl_iw_t *iw = netdev_priv(dev);
-+#else
- wl_iw_t *iw = dev->priv;
-+#endif
-
- WL_TRACE(("%s: SIOCSIWAUTH\n", dev->name));
-
-@@ -1921,7 +1941,11 @@
- int paramid;
- int paramval = 0;
- int val;
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wl_iw_t *iw = netdev_priv(dev);
-+#else
- wl_iw_t *iw = dev->priv;
-+#endif
-
- WL_TRACE(("%s: SIOCGIWAUTH\n", dev->name));
-
-diff -Naur hybrid-portsrc-x86_32-v5_10_91_9.orig/src/wl/sys/wl_linux.c hybrid-portsrc-x86_32-v5_10_91_9/src/wl/sys/wl_linux.c
---- hybrid-portsrc-x86_32-v5_10_91_9.orig/src/wl/sys/wl_linux.c 2009-04-23 02:48:59.000000000 +0900
-+++ hybrid-portsrc-x86_32-v5_10_91_9/src/wl/sys/wl_linux.c 2009-05-08 00:45:29.000000000 +0900
-@@ -53,6 +53,9 @@
- #include <linux/pci_ids.h>
- #define WLC_MAXBSSCFG 1
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+#include <net/lib80211.h>
-+#endif
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 14)
- #include <net/ieee80211.h>
- #endif
-@@ -130,7 +133,11 @@
- u8 rx_hdr[16], tx_hdr[16];
- };
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+#define WL_DEV_IF(dev) ((wl_if_t*)netdev_priv(dev))
-+#else
- #define WL_DEV_IF(dev) ((wl_if_t*)(dev)->priv)
-+#endif
- #define WL_INFO(dev) ((wl_info_t*)(WL_DEV_IF(dev)->wl))
-
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 20)
-@@ -282,6 +289,9 @@
- dev = wlif->dev;
- wl->dev = dev;
- wl_if_setup(dev);
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wlif = netdev_priv(dev);
-+#endif
-
- dev->base_addr = regs;
-
-@@ -359,10 +369,20 @@
-
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 14)
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wl->tkipmodops = lib80211_get_crypto_ops("TKIP");
-+#else
- wl->tkipmodops = ieee80211_get_crypto_ops("TKIP");
-+#endif
- if (wl->tkipmodops == NULL) {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ request_module("lib80211");
-+ request_module("lib80211_crypt_tkip");
-+ wl->tkipmodops = lib80211_get_crypto_ops("TKIP");
-+#else
- request_module("ieee80211_crypt_tkip");
- wl->tkipmodops = ieee80211_get_crypto_ops("TKIP");
-+#endif
- }
- #endif
- #ifdef CONFIG_WIRELESS_EXT
-@@ -666,7 +686,11 @@
- }
-
- if (wl->monitor) {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wl_free_if(wl, (wl_if_t *)netdev_priv(wl->monitor));
-+#else
- wl_free_if(wl, (wl_if_t *)(wl->monitor->priv));
-+#endif
- wl->monitor = NULL;
- }
-
-@@ -833,7 +857,10 @@
- strncpy(dev->name, name, IFNAMSIZ);
- #else
-
-- dev = alloc_netdev(0, name, ether_setup);
-+ dev = alloc_netdev(sizeof(wl_if_t), name, ether_setup);
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ wlif = netdev_priv(dev);
-+#endif
- if (!dev) {
- MFREE(wl->osh, wlif, sizeof(wl_if_t));
- WL_ERROR(("wl%d: wl_alloc_if: out of memory, alloc_netdev\n",
-@@ -847,7 +874,9 @@
- wlif->wl = wl;
- wlif->wlcif = wlcif;
- wlif->subunit = subunit;
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29)
- dev->priv = wlif;
-+#endif
-
- if (iftype != WL_IFTYPE_MON && wl->dev && netif_queue_stopped(wl->dev))
- netif_stop_queue(dev);
-diff -Naur hybrid-portsrc-x86_32-v5_10_91_9.orig/src/wl/sys/wl_linux.h hybrid-portsrc-x86_32-v5_10_91_9/src/wl/sys/wl_linux.h
---- hybrid-portsrc-x86_32-v5_10_91_9.orig/src/wl/sys/wl_linux.h 2009-04-23 02:49:04.000000000 +0900
-+++ hybrid-portsrc-x86_32-v5_10_91_9/src/wl/sys/wl_linux.h 2009-05-08 00:42:45.000000000 +0900
-@@ -85,10 +85,16 @@
- bool resched;
- uint32 pci_psstate[16];
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 14)
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
-+ struct lib80211_crypto_ops *tkipmodops;
-+ struct lib80211_tkip_data *tkip_ucast_data;
-+ struct lib80211_tkip_data *tkip_bcast_data;
-+#else
- struct ieee80211_crypto_ops *tkipmodops;
- struct ieee80211_tkip_data *tkip_ucast_data;
- struct ieee80211_tkip_data *tkip_bcast_data;
- #endif
-+#endif
-
- uint stats_id;
-